Dear all,
Following suggestions to my previous question, I was able to submit a user-defined maximum likelihood program "mybiprob" and estimated a bivariate probit model as follows.
ml model lf mybiprob ($y1list = $x1list) ($y2list = $zlist) /athrho, robust cluster(id)
ml maximize
Then, to obtain marginal effects, I issued the following command, but received an error saying the option pmarg1 is not allowed.
. margins, dydx(*) atmeans predict(pmarg1)
option pmarg1 not allowed
Sorry for my ignorance but I am not sure where the problem lies and how to proceed. I would be grateful if someone could point out the right direction.
Many thanks!
Hitomi
Following suggestions to my previous question, I was able to submit a user-defined maximum likelihood program "mybiprob" and estimated a bivariate probit model as follows.
ml model lf mybiprob ($y1list = $x1list) ($y2list = $zlist) /athrho, robust cluster(id)
ml maximize
Then, to obtain marginal effects, I issued the following command, but received an error saying the option pmarg1 is not allowed.
. margins, dydx(*) atmeans predict(pmarg1)
option pmarg1 not allowed
Sorry for my ignorance but I am not sure where the problem lies and how to proceed. I would be grateful if someone could point out the right direction.
Many thanks!
Hitomi
Comment