Question

In: Statistics and Probability

Assignment #8                                           &nbs

Assignment #8                                                                       

Problem A: Linear Regression

1) Below is some data from the late 1800s and early 1900s indicating a correlation between the number of ministers in New England and the amount of Cuban rum imported to Boston during those years.

Year

Ministers

Cuban rum

1860

8376

63

1865

6406

48

1870

7005

53

1875

8486

64

1880

9595

72

1885

10643

80

1890

11265

85

1895

10071

76

1900

10547

80

1905

11008

83

1910

13885

105

1915

18559

140

1920

23024

175

1925

24185

183

1930

25434

192

1935

29238

221

1940

34705

262

  1. Find the correlation coefficient between number of minister and amount of Cuban rum. Describe what it means.

  1. Find a linear model that relates the number of ministers and the amount of rum. What are

the values of ?0 and ?1?

  1. Interpret the slope of the least-squares regression line in context.

  1. Use the linear model to predict the amount of rum barrels if the number of ministers was 8000? Is this an example of extrapolation or interpolation.

5. Find the residual for 23024 ministers.

  1. Test whether a linear relation exists between the number of ministers and Cuban rum at the 5% level of significance. Show all steps including conditions.

Solutions

Expert Solution

Soln

Ministers (X)

Cuban rum (Y)

X2

Y2

XY

8376

63

70157376

3969

527688

6406

48

41036836

2304

307488

7005

53

49070025

2809

371265

8486

64

72012196

4096

543104

9595

72

92064025

5184

690840

10643

80

1.13E+08

6400

851440

11265

85

1.27E+08

7225

957525

10071

76

1.01E+08

5776

765396

10547

80

1.11E+08

6400

843760

11008

83

1.21E+08

6889

913664

13885

105

1.93E+08

11025

1457925

18559

140

3.44E+08

19600

2598260

23024

175

5.3E+08

30625

4029200

24185

183

5.85E+08

33489

4425855

25434

192

6.47E+08

36864

4883328

29238

221

8.55E+08

48841

6461598

34705

262

1.2E+09

68644

9092710

Total

262432

1982

5.26E+09

300140

39721046

Using the above formula and values, we get

Correlation Coefficient (r) = 0.99999

The positive sign of Correlation Coefficient indicates direct relationship between Ministers and Cuban rum ie as one variable increases, another also increases and vice versa. Also, the magnitude of r indicates very strong relationship between the two variables

2)

Let the regression equation be: Y = a + bX

Where

Slope(b) = {n*∑XY - ∑X *∑Y}/{n*∑X2 – (∑X)2 } = 0.5

and a = ∑Y/n – b*∑X/n = 4

Hence,

Cuban Rum = 0.01 * Ministers – 0.25

Where

β0 = -0.25

β1 = 0.01

3)

Interpretation of Slope

For every 1 unit increase in Ministers, Cuban Rum increases by 0.01 units

4)

When Ministers = 8000

Using the regression equation, we get:

Cuban Rum = 0.01 * 8000 – 0.25 = 60.30

This is an example of extrapolation

5)

From the above scatterplot we can conclude that there is a linear relationship between the two variables

Correlation Hypothesis Test

Alpha = 0.05

df = n-2 = 17-2 = 15

Null and Alternate Hypothesis

H0: ρ = 0 (No Correlation)

Ha: ρ <> 0 (Correlation is present)

n = 17

we will be doing a two-tailed hypothesis test

Test Statistic

t = r* (n-2)1/2/(1-r2)1/2 = 0.99999 *(17-2)1/2 /(1-0.999992)1/2 = 742.16

p-value = TDIST(742.16,17-2,2) = 1.16018E-35

Result

Since the p-value is less than 0.05, we reject the null hypothesis.

Conclusion

We conclude that there is correlation between Ministers and Cuban Rum


Related Solutions

Assignment Question(s):                                      &nbs
Assignment Question(s):                                                      Q1- A company wants to implement good internal control. What are the policies and procedures you can suggest to minimize human frauds and errors? (1Mark) Q2- Assume that you have a company. And the management team estimates that 3% of sales will be uncollectible. Give any amount of sales and prepare the journal entry using the percent of sales method. (1Mark) Q3- A company that uses a perpetual inventory system made the following cash purchases and sales. There...
Assignment Question(s):                                      &nbs
Assignment Question(s):                                                    (Marks. 5) Q2. Discuss the different methods to account for cash discount. Support you answer with examples. (1 mark). Answer: Q3. During April, the following changes in the single inventory product took place: (2 mark).           April   1     Balance                        1,400 units @ $24                       8     Purchased                       900 units @ $36                     12     Purchased                       700 units @ $30                     24     Purchased                       400 units @ $50                     10     Sold                              1,500 units @ $40                     26     Sold                              1,700 units @ $44...
Assignment Question(s):                                      &nbs
Assignment Question(s):                                                       - please use your own words don’t copy and paste (no plagiarism) - please use keyboard (don't use handwriting) - All answered must be typed using Times New Roman (size 12, double-spaced) font. - no pictures containing text Q1- A A company wants to implement good internal control. What are the policies and procedures you can suggest to minimize human frauds and errors? Q1-B Assume that you have a company. And the management team estimates that 3% of...
Assignment Question(s):                                      &nbs
Assignment Question(s):                                                      Q1- A company wants to implement good internal control. What are the policies and procedures you can suggest to minimize human frauds and errors? (1Mark) Q2- Assume that you have a company. And the management team estimates that 3% of sales will be uncollectible. Give any amount of sales and prepare the journal entry using the percent of sales method. (1Mark) Q3- A company that uses a perpetual inventory system made the following cash purchases and sales. There...
Assignment Question(s):                                      &nbs
Assignment Question(s):                                                      Q1- A company wants to implement good internal control. What are the policies and procedures you can suggest to minimize human frauds and errors? (1Mark) Q2- Assume that you have a company. And the management team estimates that 3% of sales will be uncollectible. Give any amount of sales and prepare the journal entry using the percent of sales method. (1Mark) Q3- A company that uses a perpetual inventory system made the following cash purchases and sales. There...
Assignment Question(s):                                      &nbs
Assignment Question(s):                                                       Q1- A company wants to implement good internal control. What are the policies and procedures you can suggest to minimize human frauds and errors? (1Mark) Q2- Assume that you have a company. And the management team estimates that 3% of sales will be uncollectible. Give any amount of sales and prepare the journal entry using the percent of sales method. (1Mark) Q3- A company that uses a perpetual inventory system made the following cash purchases and sales. There...
Assignment Question(s):                                      &nbs
Assignment Question(s):                                                       Q1- A company wants to implement good internal control. What are the policies and procedures you can suggest to minimize human frauds and errors? (1Mark) Q2- Assume that you have a company. And the management team estimates that 3% of sales will be uncollectible. Give any amount of sales and prepare the journal entry using the percent of sales method. (1Mark) Q3- A company that uses a perpetual inventory system made the following cash purchases and sales. There...
Assignment Question(s):                                      &nbs
Assignment Question(s):                                                                   Q1- A company wants to implement good internal control. What are the policies and procedures you can suggest to minimize human frauds and errors? (1Mark) Q2- Assume that you have a company. And the management team estimates that 3% of sales will be uncollectible. Give any amount of sales and prepare the journal entry using the percent of sales method. (1Mark) Q3- A company that uses a perpetual inventory system made the following cash purchases and sales. There...
Chapter 8 Assignment                                       &
Chapter 8 Assignment                                                     2-22-2018 1. Solve the following problem: Suppose GDP is $9 trillion, taxes are $1.5 trillion, private saving is $0.5 trillion, and public saving is $0.2 trillion. Assuming this economy is closed (GDP=C+I+G), calculate consumption, government purchases, national savings, and investment. [Hint: See pages 165-166 in your textbook.] Show your work so that we can explain what went wrong if you miss any aspect of this. 2. Mankiw explains the role the federal government budgetary outcome (surplus or...
4. Convert the following x-scores to z-scores:                 a) 8                  &nbs
4. Convert the following x-scores to z-scores:                 a) 8                                                                                        b) 21.5 5. Convert the following z-scores to x-scores:                 a) .2667 6.Find the area under the curve: a) to the left of z = 1.15                                                                  b) to the left of z = -0.24 c) to the right of z = 1.06                                                           d) between z = 1.25 and z = -1. 7.A survey indicates that people use their computers an average of 2.4 years before upgrading...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT