Dear all,
i want to compare the actual with the predicted mean hours. I run the following model:
If i use the mixlpred.. i get the didep_hat .
How i get the predicted mean hours?
Thank you.
i want to compare the actual with the predicted mean hours. I run the following model:
PHP Code:
mixlogit didep hours if sex==0 & marital_status==1, rand(disposable_income) id (idperson
> ) group(strata)
Iteration 0: log likelihood = -786.53313 (not concave)
Iteration 1: log likelihood = -595.57084 (not concave)
Iteration 2: log likelihood = -368.88205 (not concave)
Iteration 3: log likelihood = -326.03393
Iteration 4: log likelihood = -324.29482
Iteration 5: log likelihood = -322.96199
Iteration 6: log likelihood = -322.80673
Iteration 7: log likelihood = -322.80599
Iteration 8: log likelihood = -322.80599
Mixed logit model Number of obs = 1455
LR chi2(1) = 0.00
Log likelihood = -322.80599 Prob > chi2 = 0.9875
------------------------------------------------------------------------------
didep | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Mean |
hours | -.1618746 .010528 -15.38 0.000 -.1825091 -.1412401
disposable~e | .0035452 .0003435 10.32 0.000 .0028719 .0042186
-------------+----------------------------------------------------------------
SD |
disposable~e | 7.67e-06 .0004909 0.02 0.988 -.0009546 .0009699
------------------------------------------------------------------------------
How i get the predicted mean hours?
Thank you.
Comment