Академический Документы
Профессиональный Документы
Культура Документы
Aim of study: the behavior of Sale price of houses, depending on the Number of days beween
announcing the house sale and closing the deal, on one hand and on Living area, on the other
hand.
Data recorded for 25 houses, sold by a real estate agency:
a. Identify the variables, the linear regression equation and interpret the partial regression
coefficients.
b. Is there enough evidence to conclude that the regression model is valid, at 95%
confidence level? (critical value: 3,44).
c. Test the significance of the model parameters (critical value: 2,074).
d. Find and interpret the confidence intervals for the model parameters.
e. What percent in the total variability of selling price is determined by the influence of
the two explanatory variables?
f. Measure the strength of the relationship between the three variables, using an
appropriate statistical indicator. Test its significance.
g. Analyze the direction and the strength of the relationship between Sale price and
House living area. Use correlation coefficient (“CORREL” function in Excel).
h. Predict the selling price of a house with 300 m2, which was sold after 50 days since the
sale announcement.
Solution
a.Identify the variables, the linear regression equation and interpret the partial regression
coefficients.
The independent variable (x1) = Number of days beween announcing the house sale and
closing the deal
Regression Statistics
Multiple R 0,825226
R Square 0,680997
Adjusted R 0,651997
Square
Standard 27,95634
Error
Observatio 25
ns
ANOVA
df SS MS F Significan
ce F
Regression 2 36705,7 18352,8 23,4824 3,48E-06
5 8 6
Residual 22 17194,2 781,556
5 8
Total 24 53900
Population;
Y i = β 0 + β 1∗X 1i + β 2∗X 2i + ε i
Sample:
y i= b 0 + b 1∗x 1i + b 2∗x 2i + e i
b 1=0,353 > 0 => positive correlation between Sale prices and Number of days beween
announcing the house sale and closing the deal
b 2 = 0,502 > 0 => positive correlation between Sale prices and House living area (m2)
If the number of days between announcing the house sale and closing deal increases
by 1 day, then the Sale prices increase by 0,353 thousand dollars.
If the House living area increases by 1m2 then the Sale prices increase by 0,502
thousand dollars.
b. Is there enough evidence to conclude that the regression model is valid, at 95%
confidence level? (critical value: 3,44).
MSR 18352,88
F comp = = = 23,48246
MSE 781,5568
F crit = 3,44
F comp > F crit => F comp ∈ Rr => reject H 0, accept . H 1=> the model is valid ( significant )
Significance F = 3,48E-06 < 0,05 (∝) => accept H 1=> the model is valid
Hypothesis:
H0 : β j = 0
H 1 : β j ≠ 0 ; j= 1 , n
b^ j−βj b^ j
t comp = =
sb^
j
s b^ j
H 0 : β0 = 0
H 1 : β0 ≠ 0
b^ 0− β 0 b^ 0 131,1964
t comp = = = = 5,73183
s ^b
0
s b^ 22,8891
0
H 0 : β1 = 0
H 1 : β1 ≠ 0
b^ 1−0
t ^b = = 2,93
1
1
s b^
t critic = t ∝ ;n−k = t 0,025; 27 = 2,37
2
Deoarece t ^b > t critic => se respinge H 0si se accepta H 1 , ceea ce inseamna ca parametrul β 1
1
difera semnificativ de 0 .
2. Testarea parametrului β 2 :
H0 : β2 = 0
H 1 : β2 ≠ 0
b^ 2−0
t ^b = = 3,24
2
2
s b^
t critic = t ∝ ;n−k = t 0,025; 27 = 2,37
2
Deoarece t ^b > t critic => se accepta H 0 si se respinge H 1 , ceea ce inseamna ca parametrul β 2
2
difera semnificativ de 0 .