I want to calculate the predicted mean of hours in order to make comparisons with the actually mean of hours.
The output of the stata is the following :
If i use the mixlpred command it gives me the probability correct ?
How i get the predicted mean of hours?
Thanks
The output of the stata is the following :
PHP Code:
mixlogit didep hours if sex==1 & marital_status==1, rand(disposable_income) group(stra
> ta) id(idperson)nrep(50)
Iteration 0: log likelihood = -771.76638 (not concave)
Iteration 1: log likelihood = -710.78767 (not concave)
Iteration 2: log likelihood = -634.24972 (not concave)
Iteration 3: log likelihood = -628.28553 (not concave)
Iteration 4: log likelihood = -585.2037 (not concave)
Iteration 5: log likelihood = -578.27515 (not concave)
Iteration 6: log likelihood = -567.81862 (not concave)
Iteration 7: log likelihood = -560.9853 (not concave)
Iteration 8: log likelihood = -548.62738 (not concave)
Iteration 9: log likelihood = -529.53231 (not concave)
Iteration 10: log likelihood = -503.62802 (not concave)
Iteration 11: log likelihood = -486.46723 (not concave)
Iteration 12: log likelihood = -478.29269 (not concave)
Iteration 13: log likelihood = -443.14295 (not concave)
Iteration 14: log likelihood = -420.0883 (not concave)
Iteration 15: log likelihood = -406.12195
Iteration 16: log likelihood = -386.95061
Iteration 17: log likelihood = -382.48006
Iteration 18: log likelihood = -382.46664
Iteration 19: log likelihood = -382.46661
Mixed logit model Number of obs = 1542
LR chi2(1) = 0.95
Log likelihood = -382.46661 Prob > chi2 = 0.3296
------------------------------------------------------------------------------
didep | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Mean |
hours | -.0772919 .0167607 -4.61 0.000 -.1101422 -.0444416
disposable~e | -.0016301 .0006727 -2.42 0.015 -.0029486 -.0003116
-------------+----------------------------------------------------------------
SD |
disposable~e | .0009727 .0005634 1.73 0.084 -.0001314 .0020769
------------------------------------------------------------------------------
How i get the predicted mean of hours?
Thanks