Professional Documents
Culture Documents
Model 1
Model 1
Model 2
. regress lnqd lnmi lnfs, vce (hc3)
R2 is different from 0 since the p-value is
Linear regression Number of obs = 95
less than 0.05 and the relationship between
F( 2, 92) = 33.03
dependent variables and independent variable
Prob > F = 0.0000
is statistically significant.
R-squared = 0.4011
Family size is statistically significant to
Root MSE = .39811 Qd and monthly income is not.
The model explains 40.11% of the variance in
(Qd).
Robust HC3 Qd = 3.264146 – 0.106809(monthly income) +
lnqd Coef. Std. Err. t P>|t| [95% Conf. Interval] 0.8450825(family size)
3.5
3
2.5
chi2(1) = 0.94
-.5
. estat ovtest
The null hypothesis is that the model does
Ramsey RESET test using powers of the fitted values of lnqd not have omitted-variables bias, the p-value
Ho: model has no omitted variables is higher than the usual threshold of 0.05
F(3, 89) = 0.12 (95% significance), so we fail to reject the
Prob > F = 0.9458
null and conclude that we do not need more
variables.
.
. linktest
. estat vif
Variable VIF 1/VIF The VIF’s from the results are less than 10,
indicates the absence of multicollinearity.
lnfs 1.01 0.990810
lnmi 1.01 0.990810
0
-.5-1
-1.5
-2 -1 0 1 2
e( lnmi | X )
coef = -.10680902, se = .05443011, t = -1.96
All data points are in range. In this
figure, we analyzed the outliers of Qd as
X2 you can see in variable; X1 and X2. But,
there’s no outliers found.
1
.5
e( lnqd | X )
0
-.5-1
-1 -.5 0 .5 1
e( lnfs | X )
coef = .84508248, se = .10898852, t = 7.75
Kernel density estimate
1
1
Density
Density
.5
.5
0
-1.5 -1 -.5 0 .5 1
Residuals
0
Normal density
-1.5 -1 -.5 0 .5
kernel = epanechnikov, bandwidth = 0.1337 Residuals
looks better.
0.25
0.00
-1 -.5 0 .5 1
Inverse Normal
. swilk e