predict resid, residuals gen residsq - resid^2 regress residsq bdrms sqrft Source s df MS Number of obs 72 F (2, 69) 4.84 Model 455633843 2 227816922 Prob > F 0.0108 Residual 3.2504e+09 69 47107747. 4 R-squared 0.1229 Adj R-squared 0.0975 Total 3.7061e+09 71 52198146.7 Root MSE 6863.5 residsq Coef. Std. Err. t P>|t| [95% Conf. Interval] bdrms 1097.839 1126.483 0.97 0.333 -1149.433 3345.11 sqrft 3.315872 1.644671 2.02 0.048 .0348425 6.596901 cons -7733.813 3789.974 -2.04 0.045 -15294.6 -173.0207

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Please show your work. Thank you!
predict resid, residuals
gen residsq = resid^2
regress residsq bdrms sgrft
Source
df
MS
Number of obs
72
F (2, 69)
4.84
=
Model
455633843
2
227816922
Prob > F
0.0108
Residual
3.2504e+09
69
47107747. 4
R-squared
0.1229
Adj R-squared
0.0975
Total
3.7061e+09
71
52198146.7
Root MSE
6863.5
residsą
Сoef.
Std. Err.
t
P>|t|
[95% Conf. Interval]
bdrms
1097.839
1126.483
0.97
0.333
-1149.433
3345.11
sgrft
3.315872
1.644671
2.02
0.048
.0348425
6.596901
cons
-7733.813
3789.974
-2.04
0.045
-15294.6
-173.0207
Transcribed Image Text:predict resid, residuals gen residsq = resid^2 regress residsq bdrms sgrft Source df MS Number of obs 72 F (2, 69) 4.84 = Model 455633843 2 227816922 Prob > F 0.0108 Residual 3.2504e+09 69 47107747. 4 R-squared 0.1229 Adj R-squared 0.0975 Total 3.7061e+09 71 52198146.7 Root MSE 6863.5 residsą Сoef. Std. Err. t P>|t| [95% Conf. Interval] bdrms 1097.839 1126.483 0.97 0.333 -1149.433 3345.11 sgrft 3.315872 1.644671 2.02 0.048 .0348425 6.596901 cons -7733.813 3789.974 -2.04 0.045 -15294.6 -173.0207
QUESTION 5
Use the data in HPRICE_1.dta and estimate the regression model
price = Bo+ B, bdrms + B2 sqrft+u
while allowing for the possibility that the errors are heteroskedastic. What is the value of the F-statistic for testing the overall significance of the regression?
Transcribed Image Text:QUESTION 5 Use the data in HPRICE_1.dta and estimate the regression model price = Bo+ B, bdrms + B2 sqrft+u while allowing for the possibility that the errors are heteroskedastic. What is the value of the F-statistic for testing the overall significance of the regression?
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
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 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…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
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
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman