谢谢版主!分别对时间和费用做logit模型发现费用成功的为0(Note: 1160 failures and 0 successes completely determined.),是否说明费用数据有问题?
logit mode timehour
Logistic regression Number of obs = 31547
LR chi2(1) = 823.64
Prob > chi2 = 0.0000
Log likelihood = -16529.362 Pseudo R2 = 0.0243
------------------------------------------------------------------------------
mode | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
timehour | 1.240174 .0474142 26.16 0.000 1.147244 1.333104
_cons | .5308182 .0280028 18.96 0.000 .4759336 .5857028
----------------------------------------------------------------------------
. logit mode cost
Logistic regression Number of obs = 31547
LR chi2(1) = 22737.22
Prob > chi2 = 0.0000
Log likelihood = -5572.5685 Pseudo R2 = 0.6711
------------------------------------------------------------------------------
mode | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
cost | -3.473881 .0473156 -73.42 0.000 -3.566618 -3.381144
_cons | 6.794507 .0740081 91.81 0.000 6.649454 6.939561
------------------------------------------------------------------------------
Note: 1160 failures and 0 successes completely determined.