Dear All,
I'm estimating a gsem model with mlogit and probit equations with a nested structure (for the variable un_code). Here is the command I type:
gsem (status <- competcfunew competGPAnew cfu_sostenuti_anno media_voto_anno i.female northe centre southis classico tecnico professionale altroliceo gapyears firstdipltot secondipltot thirdipltot firstliceo secondliceo thirdliceo i.foreigner i.id_anno_accademico dis1829corso M1[code_un], mlogit) (selectvar <- i.female northe centre southis classico tecnico professionale altroliceo gapyears id_voto_dipl i.foreigner i.id_anno_accademico logdis, probit), vce(robust)
the estimation process is OK. My problem is the calculation of the marginal effects. I tries in several ways, but it takes hours and hours without producing any output.
the command is:
margins, dydx(*) predict(outcome(2.status) fixed), that shoud calculate the marginal effects for outcome 2 of the variable status, that is the dependent variable of the first equation (mlogit). But anything happens. Would you have some suggestions?
Thank you,
CM
Related Posts with marginal effects after gsem
Flipping models, coefficients, number of observations and number of clusters with esttabHello everyone, Firstly, I am a Stata 14 user. I have a question regarding esttab command and flipp…
3 Dummy variables in panel dataHello everyone, I have a question since i need 3 dummy variables there must be always one dummy var…
Rotating category axis labels and reversing scale using catplotHi everyone, I am using catplot from SSC in Stata 17 on Windows. I am using the following code to c…
Help with ML ProgramHello, I am trying to define and estimate the parameters from a log likelihood function using minimu…
ivreghdfe's error: virtual Factor::drop_singletons() not foundDear Statalists, I'm trying to run ivreghdfe but run across an error that I failed to find any onli…
Subscribe to:
Post Comments (Atom)
0 Response to marginal effects after gsem
Post a Comment