Suppose the average monthly residential natural gas bill in a certain town is $67.95. How is the average monthly gas bill for a home in this town related to the square footage, number of rooms, and age of the home? The following tables shows the average monthly gas bill over the past year, square footage, number of rooms, and age for a sample of 20 homes. Average Monthly Gas Bill for Last Year Age Square Footage Rooms $70.20 16 2,537 6 $81.33 2 3,457 8 $45.86 27 976 6 $59.21 12 1,713 7 $117.88 16 3,979 10 $55.78 2 1,328 7 $47.01 27 1,251 6 $52.89 4 827 5 $32.90 12 645 4 $67.04 29 2,849 5 $76.76 1 2,372 7 $60.40 26 900 6 $44.07 14 1,386 5 $28.68 20 1,299 4 $62.70 17 1,441 6 $45.37 13 542 4 $38.09 10 2,140 4 $45.31 22 908 6 $52.45 25 1,568 5 $94.11 27 1,140 10 (a) Develop an estimated regression equation that can be used to predict a residence's average monthly gas bill for last year given its age. (Use x1 for age. Round your numerical values to four decimal places.) ŷ = (b) Develop an estimated regression equation that can be used to predict a residence's average monthly gas bill for last year given its age, square footage, and number of rooms. (Use x2 for square footage and x3 for number of rooms. Round your numerical values to four decimal places.) ŷ = (c) At the 0.05 level of significance, test whether the model developed in part (b) is overall significant. State the null and alternative hypotheses.Find the value of the test statistic. (Round your answer to two decimal places. Find the p-value. (Round your answer to four decimal places.) Is the model developed in part (b) statistically significant?
Suppose the average monthly residential natural gas bill in a certain town is $67.95. How is the average monthly gas bill for a home in this town related to the square footage, number of rooms, and age of the home? The following tables shows the average monthly gas bill over the past year, square footage, number of rooms, and age for a sample of 20 homes. Average Monthly Gas Bill for Last Year Age Square Footage Rooms $70.20 16 2,537 6 $81.33 2 3,457 8 $45.86 27 976 6 $59.21 12 1,713 7 $117.88 16 3,979 10 $55.78 2 1,328 7 $47.01 27 1,251 6 $52.89 4 827 5 $32.90 12 645 4 $67.04 29 2,849 5 $76.76 1 2,372 7 $60.40 26 900 6 $44.07 14 1,386 5 $28.68 20 1,299 4 $62.70 17 1,441 6 $45.37 13 542 4 $38.09 10 2,140 4 $45.31 22 908 6 $52.45 25 1,568 5 $94.11 27 1,140 10 (a) Develop an estimated regression equation that can be used to predict a residence's average monthly gas bill for last year given its age. (Use x1 for age. Round your numerical values to four decimal places.) ŷ = (b) Develop an estimated regression equation that can be used to predict a residence's average monthly gas bill for last year given its age, square footage, and number of rooms. (Use x2 for square footage and x3 for number of rooms. Round your numerical values to four decimal places.) ŷ = (c) At the 0.05 level of significance, test whether the model developed in part (b) is overall significant. State the null and alternative hypotheses.Find the value of the test statistic. (Round your answer to two decimal places. Find the p-value. (Round your answer to four decimal places.) Is the model developed in part (b) statistically significant?
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Suppose the average monthly residential natural gas bill in a certain town is $67.95. How is the average monthly gas bill for a home in this town related to the square footage, number of rooms, and age of the home? The following tables shows the average monthly gas bill over the past year, square footage, number of rooms, and age for a sample of 20 homes.
Average Monthly Gas Bill for Last Year |
Age | Square Footage |
Rooms |
---|---|---|---|
$70.20 | 16 | 2,537 | 6 |
$81.33 | 2 | 3,457 | 8 |
$45.86 | 27 | 976 | 6 |
$59.21 | 12 | 1,713 | 7 |
$117.88 | 16 | 3,979 | 10 |
$55.78 | 2 | 1,328 | 7 |
$47.01 | 27 | 1,251 | 6 |
$52.89 | 4 | 827 | 5 |
$32.90 | 12 | 645 | 4 |
$67.04 | 29 | 2,849 | 5 |
$76.76 | 1 | 2,372 | 7 |
$60.40 | 26 | 900 | 6 |
$44.07 | 14 | 1,386 | 5 |
$28.68 | 20 | 1,299 | 4 |
$62.70 | 17 | 1,441 | 6 |
$45.37 | 13 | 542 | 4 |
$38.09 | 10 | 2,140 | 4 |
$45.31 | 22 | 908 | 6 |
$52.45 | 25 | 1,568 | 5 |
$94.11 | 27 | 1,140 | 10 |
(a)
Develop an estimated regression equation that can be used to predict a residence's average monthly gas bill for last year given its age. (Use x1 for age. Round your numerical values to four decimal places.)
ŷ =
(b)
Develop an estimated regression equation that can be used to predict a residence's average monthly gas bill for last year given its age, square footage, and number of rooms. (Use x2 for square footage and x3 for number of rooms. Round your numerical values to four decimal places.)
ŷ =
(c)
At the 0.05 level of significance, test whether the model developed in part (b) is overall significant.
State the null and alternative hypotheses.Find the value of the test statistic. (Round your answer to two decimal places.
Find the p-value. (Round your answer to four decimal places.)
Is the model developed in part (b) statistically significant?
(d)
Backward elimination is a variable selection technique used in multiple regression analysis that removes one variable at a time until the adjusted coefficient of determination stops increasing or all slope coefficients in the model have p-values that do not exceed a given threshold value.
Consider the model you developed in part (b), and use backward elimination with a p-value threshold of 0.2 to develop an improved estimated regression equation that can be used to predict a residence's average monthly gas bill for last year. Which variable, if at all, did you remove?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 14 images
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman