Residential real estate prices depend, in part, on property size and number of b
ID: 3335478 • Letter: R
Question
Residential real estate prices depend, in part, on property size and number of bedrooms. The house size X1 (in hundreds of square feet), number of bedrooms X2, and house price Y (in thousands of dollars of a random sample of houses in a certain county were observed. The data are listed in the following table 005 House House size (%) Number of bedrooms (i) House price (Y) 18 20 2522 19 17 80 95 10410 17585 89 Please provide SAS output and SAS codes with the answer, c) Perform variables-added-in-order tests for both independent variables, with X1 added first. Which predictors appear to be necessary? Why?Explanation / Answer
Here there are two independent variables and one dependent variable.
X1 : House size
X2 : number of bedrooms
Y : House price
Here we have to fir multiple regression.
We can fit multiple regression in MINITAB.
Steps :
ENTER data into MINITAB sheet --> STAT --> Regression --> Regression --> Response : Y --> Predictors : X1 and X2 --> Results : select second option --> ok --> ok
Output :
Regression Analysis: Y versus X1, X2
Analysis of Variance
Model Summary
Coefficients
Regression Equation
Intercept b0 = -16.1
Slope b1= 5.72
b2 = -1.2
Interpretation : If we fixed X1 then one unit change in X2 will be 1.2 unit decrease in Y.
If we fixed X2 then one unit change in X1 willbe 5.72 unit increase in Y.
Here we can test two hypothesis.
i) Overall significance :
The hypothesis for the test is,
H0 : Bj = 0 Vs H1 : Bj not= 0
where Bj is the population slope for jth independent variable.
Assume alpha = level of significance = 0.05
Test statistic follows F-distribution.
Test statistic = 20.03
P-value = 0.008
P-value < alpha
Reject H0 at 5% level of significance.
Conclusion : Atleast one of the slope is differ than 0.
ii) Individual significance :
The hypothesis for the test is,
H0 : B = 0 Vs H1 : B not= 0
where B is the population slope for independent variable.
Assume alpha = level of significance = 0.05
Test statistic follows t-distribution.
Decision rule :
If P-value < alpha
Reject H0 at 5% level of significance.
Conclusion : Independent variable is significant otherwise variable is significant.
Now from the output we can see that X1 is significant variable whereas X2 as insignificant variable.
R-sq = 86.38% = 0.8638
It expresses the proportion of variation in Y which is expressed by variation in X1 and X2.
Source DF Adj SS Adj MS F-Value P-Value Regression 2 5733.32 2866.66 20.03 0.008 X1 1 1402.32 1402.32 9.80 0.035 X2 1 1.10 1.10 0.01 0.934 Error 4 572.39 143.10 Total 6 6305.71Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.