Dear all,
I am trying to use mgen command in Poisson regression with Long and Freese (2014) book's codes. Although I am using Stata 13.1, and installed mgen command, the error message "equation list required" came up as below. I've tried to find this error message in Google, but there is no one like this. I would appreciate it if you can give me any advice.
Thank you.
---------------------------------------------------------
. poisson num_awards, nolog
Poisson regression Number of obs = 200
LR chi2(0) = 0.00
Prob > chi2 = .
Log likelihood = -231.86356 Pseudo R2 = 0.0000
------------------------------------------------------------------------------
num_awards | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_cons | -.4620355 .0890871 -5.19 0.000 -.6366429 -.287428
------------------------------------------------------------------------------
. mgen, pr(0/6) meanpred stub(psn)
equation list required
r(100);
I am trying to use mgen command in Poisson regression with Long and Freese (2014) book's codes. Although I am using Stata 13.1, and installed mgen command, the error message "equation list required" came up as below. I've tried to find this error message in Google, but there is no one like this. I would appreciate it if you can give me any advice.
Thank you.
---------------------------------------------------------
. poisson num_awards, nolog
Poisson regression Number of obs = 200
LR chi2(0) = 0.00
Prob > chi2 = .
Log likelihood = -231.86356 Pseudo R2 = 0.0000
------------------------------------------------------------------------------
num_awards | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_cons | -.4620355 .0890871 -5.19 0.000 -.6366429 -.287428
------------------------------------------------------------------------------
. mgen, pr(0/6) meanpred stub(psn)
equation list required
r(100);
Comment