- . sysuse auto
- (1978 Automobile Data)
- . xi: stepwise, pr(.2): logit foreign i.rep78 mpg weight displ gear turn headroom price
- i.rep78 _Irep78_1-5 (naturally coded; _Irep78_1 omitted)
- note: _Irep78_2 dropped because of estimability
- note: o._Irep78_2 dropped because of estimability
- note: 8 obs. dropped because of estimability
- begin with full model
- p = 1.0000 >= 0.2000 removing _Irep78_3
- p = 0.9625 >= 0.2000 removing weight
- p = 0.8323 >= 0.2000 removing turn
- p = 0.2508 >= 0.2000 removing displacement
- p = 0.6833 >= 0.2000 removing headroom
- p = 0.3590 >= 0.2000 removing price
- Logistic regression Number of obs = 61
- LR chi2(4) = 58.26
- Prob > chi2 = 0.0000
- Log likelihood = -10.143844 Pseudo R2 = 0.7417
- ------------------------------------------------------------------------------
- foreign | Coef. Std. Err. z P>|z| [95% Conf. Interval]
- -------------+----------------------------------------------------------------
- gear_ratio | 9.333042 2.895417 3.22 0.001 3.658129 15.00795
- _Irep78_4 | 3.232131 1.738122 1.86 0.063 -.1745254 6.638787
- _Irep78_5 | 5.445822 1.882428 2.89 0.004 1.756332 9.135312
- mpg | -.235056 .1444361 -1.63 0.104 -.5181455 .0480335
- _cons | -27.43586 8.265849 -3.32 0.001 -43.63663 -11.2351
- ------------------------------------------------------------------------------


雷达卡



京公网安备 11010802022788号







