Question

In: Statistics and Probability

Homeowners across the nation are concerned with how much their electric bill is each month. The...

Homeowners across the nation are concerned with how much their electric bill is each month. The American Housing Survey collects that information along with a whole host of other variables including the number of bedrooms in a house. Can the number of bedrooms in a house help us predict the electric bill? Twenty randomly selected houses produced the key numeric measures below where x = number of bedrooms and y = amount of electric bill in dollars.

n=20
Σx = 58 (sum x)
Σy = 2690 (sum y)
Σx2 = 190 (sum x^2)
Σy2 = 489700 (sum y^2)
Σxy = 8670 (sum xy)
SSxx = 21.8
SSyy = 127895
SSxy = 869

1. Find the sample slope coefficient for the estimated simple linear regression equation between number of bedrooms and the electric bill.

2. Find the y-intercept for the estimated simple linear regression equation between number of bedrooms and electric bill.

3. Write the estimated simple linear regression equation between number of bedrooms and electric bill.

4. Predict the amount of the electric bill in a house with 4 bedrooms.

5. Find the Sum of Squares due to Regression for the estimated simple linear regression equation between number of bedrooms and electric bill.

6. Find the Sum of Squares due to Error for the estimated simple linear regression equation between number of bedrooms and electric bill.

7. Find the coefficient of determination for the estimated simple linear regression equation between number of bedrooms and electric bill.

8. Interpret the coefficient of determination for the estimated simple linear regression equation between number of bedrooms and electric bill.

9. Find the correlation coefficient for the estimated simple linear regression equation between number of bedrooms and electric bill.

10. Find the Mean Square Error for the estimated simple linear regression equation between number of bedrooms and electric bill.

11. Find the standard error of the estimate for the estimated simple linear regression equation between number of bedrooms and electric bill.

12. Find the standard error of the sample slope coefficient for the estimated simple linear regression equation between number of bedrooms and electric bill.

13. Find the standard error of y^∗ when given x* = 4

(More exact wording: Find the standard error of the mean electric bill for houses with 4 bedrooms)

14. Find the standard error of y* when given x*=4

(More exact wording: Find the standard error of the electric bill for a single house with 4 bedrooms)

15. Use a hypothesis test to try to prove that there is a useful linear relationship between the number of bedrooms and the electric bill using a significance level of 0.05.

16. Construct a 95% confidence interval for the population slope coefficient of the simple linear regression equation between number of bedrooms and electric bill. (you do not need to interpret)

17. Construct a 95% confidence interval for the mean electric bill for all houses with 4 bedrooms. (you do not need to interpret)

18. Construct a 95% prediction interval for the electric bill for a single house with 4 bedrooms. (you do not need to interpret)

Solutions

Expert Solution

Ʃx = 58
Ʃy = 2690
Ʃxy = 8670
Ʃx² = 190
Ʃy² = 489700
Sample size, n = 20
x̅ = Ʃx/n = 58/20 = 2.9
y̅ = Ʃy/n = 2690/20 = 134.5
SSxx = Ʃx² - (Ʃx)²/n = 190 - (58)²/20 = 21.8
SSyy = Ʃy² - (Ʃy)²/n = 489700 - (2690)²/20 = 127895
SSxy = Ʃxy - (Ʃx)(Ʃy)/n = 8670 - (58)(2690)/20 = 869

1.

Slope, b = SSxy/SSxx = 869/21.8 =    39.86238532

2 .

y-intercept, a = y̅ -b* x̅ = 134.5 - (39.86239)*2.9 =    18.89908257

3.

Regression equation :   
ŷ = 18.8991 + (39.8624) x  

4.

Predicted value of y at x =    4
ŷ = 18.8991 + (39.8624) * 4 = 178.3486  

5.

SSR = SSxy²/SSxx = (869)²/21.8 =    34640.4128

6.

SSE = SSyy -SSxy²/SSxx = 127895 - (869)²/21.8 =    93254.5872

7.

Coefficient of determination, r² = (SSxy)²/(SSxx*SSyy) = (869)²/(21.8*127895) =    0.2709

8.

27.09% variation in y is explained by the least squares model.     

9.

Correlation coefficient, r = SSxy/√(SSxx*SSyy) = 869/√(21.8*127895) =    0.5204

10.

Estimate of variance, MSE = SSE/(n-2) = 93254.58716/(20-2) =    5180.8104

11.

Standard error, se = √(SSE/(n-2)) = √(93254.58716/(20-2)) =    71.97785

12.

Standard error for slope, se(b1) = se/√SSxx = 71.97785/√21.8 =    15.41596

13.

standard error of y^∗ when given x* = 4

Sy^*= se*√((1/n) + ((x-x̅)²/(SSxx))) = 71.9778*√((1/20) + ((4 - 2.9)²/(21.8))) = 23.3795

14.

standard error of y* when given x*=4

Sy* = se*√(1 + (1/n) + ((x-x̅)²/(SSxx))) = 71.9778*√(1 + (1/20) + ((4 - 2.9)²/(21.8))) = 75.67965

15.

Null and alternative hypothesis:  
Ho: β₁ = 0  
Ha: β₁ ≠ 0  
n =    20
α =    0.05
Test statistic:  
t = b1/se(b1) = 18.8991/47.5152 =    2.5858
df = n-2 =    18
p-value = T.DIST.2T(ABS(2.5858), 18) =    0.0186
Conclusion:  
p-value < α Reject the null hypothesis.  
There is a useful relationship.

16.

Critical value, t_c = T.INV.2T(0.05, 18) = 2.1009  
95% Confidence interval for slope:  
Lower limit = β₁ - tc*se/√SSxx = 39.8624 - 2.1009*71.9778/√21.8 =    7.4747
Upper limit = β₁ + tc*se/√SSxx = 39.8624 + 2.1009*71.9778/√21.8 =    72.2501

17.

95% Confidence interval :  
Lower limit = ŷ - tc*se*√((1/n) + ((x-x̅)²/(SSxx))) = 178.3486 - 2.1009*71.9778*√((1/20) + ((4 - 2.9)²/(21.8))) =    129.2302
Upper limit = ŷ + tc*se*√((1/n) + ((x-x̅)²/(SSxx))) = 178.3486 + 2.1009*71.9778*√((1/20) + ((4 - 2.9)²/(21.8))) =    227.4671

18.

95% Prediction interval :  
Lower limit = ŷ - tc*se*√(1 + (1/n) + ((x-x̅)²/(SSxx))) = 178.3486 - 2.1009*71.9778*√(1 + (1/20) + ((4 - 2.9)²/(21.8))) =    19.3516
Upper limit = ŷ + tc*se*√(1 + (1/n) + ((x-x̅)²/(SSxx))) = 178.3486 + 2.1009*71.9778*√(1 + (1/20) + ((4 - 2.9)²/(21.8))) =    337.3457


Related Solutions

Consumers Energy states that the average electric bill across the state is $147.49. You want to...
Consumers Energy states that the average electric bill across the state is $147.49. You want to test the claim that the average bill amount is actually less than $147.49. The hypotheses for this situation are as follows: Null Hypothesis: μ ≥ 147.49, Alternative Hypothesis: μ < 147.49. You complete a randomized survey throughout the state and perform a one-sample hypothesis test for the mean, which results in a p-value of 0.0416. What is the appropriate conclusion? Conclude at the 5%...
Consumers Energy states that the average electric bill across the state is $48.287. You want to...
Consumers Energy states that the average electric bill across the state is $48.287. You want to test the claim that the average bill amount is actually less than $48.287. The hypotheses for this situation are as follows: Null Hypothesis: μ ≥ 48.287, Alternative Hypothesis: μ < 48.287. A random sample of 35 customer's bills shows an average cost of $51.651 with a standard deviation of $8.3447. What is the test statistic and p-value for this test?
Consumers Energy states that the average electric bill across the state is $41.553. You want to...
Consumers Energy states that the average electric bill across the state is $41.553. You want to test the claim that the average bill amount is actually greater than $41.553. The hypotheses for this situation are as follows: Null Hypothesis: μ ≤ 41.553, Alternative Hypothesis: μ > 41.553. A random sample of 47 customer's bills shows an average cost of $43.307 with a standard deviation of $8.0202. What is the test statistic and p-value for this test? 1) Test Statistic: -1.499,...
How much would you pay for a 6-month T-bill with a face value of $12,500 and...
How much would you pay for a 6-month T-bill with a face value of $12,500 and a rate that would yield 3.5% if there is 125 days remaining in the term
1. Ann and Bill have formed a business partnership. They each have to decide how much...
1. Ann and Bill have formed a business partnership. They each have to decide how much effort to put into the business. Let x denote the amount of effort Ann puts into the business and let y denote the amount of effort Bill puts into the partnership. The profit of the business partnership depends on the amount of effort Ann and Bill put into the business. It is given by 2x + 2y + 0.5xy hundred thousand dollars. Ann and...
How much should you deposit at the end of each month into an investment account that...
How much should you deposit at the end of each month into an investment account that pays 8.5 % compounded monthly to have $ 1 million when you retire in 43years? How much of the $1 million comes from​ interest?
High school students across the nation compete in a financial capability challenge each year by taking...
High school students across the nation compete in a financial capability challenge each year by taking a National Financial Capability Challenge Exam. Students who score in the top 18 percent are recognized publicly for their achievement by the Department of the Treasury. Assuming a normal distribution, how many standard deviations above the mean does a student have to score to be publicly recognized? (Round your answer to 2 decimal places.) Need in text format no handwriting thank u
High school students across the nation compete in a financial capability challenge each year by taking...
High school students across the nation compete in a financial capability challenge each year by taking a National Financial Capability Challenge Exam. Students who score in the top 14 percent are recognized publicly for their achievement by the Department of the Treasury. Assuming a normal distribution, how many standard deviations above the mean does a student have to score to be publicly recognized? (Round your answer to 2 decimal places.)
how are ionic gradients and electric potentials maintained across the plasma membrane
how are ionic gradients and electric potentials maintained across the plasma membrane
Starting at age 20, how much money will randy have to invest each month into a...
Starting at age 20, how much money will randy have to invest each month into a Roth IRA in order to have a million dollars by age 65 ? His starting balance is zero
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT