Professional Documents
Culture Documents
Min Max
-------------+--------------------------------------------------------
carnr | 55 28 16.02082 1 55
-------------+--------------------------------------------------------
-------------+--------------------------------------------------------
. summarize
------------------------------------------------------------------------------
-------------+----------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------
m1
b/se
----------------------------
weight 8.354***
(1.41)
length -166.961**
(52.12)
turn -327.142*
(142.03)
headroom -552.031
(406.51)
_cons 27286.252***
(5862.36)
------------------------------------------------------------------------------
-------------+----------------------------------------------------------------
----------------------------
m2
b/se
----------------------------
weight 8.326***
(1.27)
length -150.397**
(47.73)
turn -188.881
(135.37)
headroom -527.308
(366.21)
ind_buick -55.704
(869.58)
foreign 3079.486***
(844.54)
_cons 17783.800**
(5849.84)
----------------------------
. regress price weight length turn headroom ind_buick foreign mpg gearratio
------------------------------------------------------------------------------
-------------+----------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------
m3
b/se
----------------------------
weight 7.726***
(1.52)
length -148.332**
(49.45)
turn -205.923
(141.61)
headroom -566.422
(375.65)
ind_buick -43.385
(887.29)
foreign 3183.054**
(1068.60)
mpg -68.411
(117.65)
gearratio -601.384
(1118.79)
_cons 23247.035*
(9640.06)
----------------------------
( 1) weight = 0
( 2) length = 0
( 3) turn = 0
( 4) headroom = 0
( 5) ind_buick = 0
( 6) foreign = 0
( 7) mpg = 0
( 8) gearratio = 0
F( 8, 46) = 9.84
. estat hettest
Breusch-Pagan / Cook-Weisberg test for heteroskedasticity
chi2(1) = 1.73
------------------------------------------------------------------------------
-------------+----------------------------------------------------------------
------------------------------------------------------------------------------
estout m4, cells(b(star fmt(3)) se(par fmt(2)))
----------------------------
m4
b/se
----------------------------
weight 0.001***
(0.00)
length -0.012
(0.01)
turn -0.027
(0.02)
headroom -0.085
(0.05)
ind_buick 0.023
(0.12)
foreign 0.489***
(0.11)
_cons 9.296***
(0.78)
----------------------------
----------------------------------------------------------------------------
m1 m2 m3 m4
mpg -68.411
(117.65)
gearratio -601.384
(1118.79)
----------------------------------------------------------------------------
estat hettest
generate expensive=0
LR chi2(4) = 41.94
------------------------------------------------------------------------------
-------------+----------------------------------------------------------------
------------------------------------------------------------------------------
mfx
y = Pr(expensive) (predict)
= .00461465
------------------------------------------------------------------------------
---------+--------------------------------------------------------------------
------------------------------------------------------------------------------
| Delta-method
-------------+----------------------------------------------------------------
------------------------------------------------------------------------------