Hello everyone
I am running a multinomial logit model using gsem
I tried finding marginal effect of x1 using the command:
margins, dydx(x1) predict (outcome(2.y) fixed)
where x1 is the independent variable of interest and y1 is categorical variable with 3 categories.
In the command above i wished to find marginal effect of x1, when x1 has some effect on second category of y , with first category as the base
the command seemed to have worked fine.
but could someone clarify if it is correct ?
because the sign of marginal effect is coming opposite to the sign of the coefficient of x1 on 2.y, with first category as the base
i would be really grateful if someone could reply in this regard
thanks in advance
Related Posts with Marginal Effects after Gsem
Looping over many variables to create new variable "if any" ==0Dear Statalist: I am struggling with something that I know should be easy. My data is in long form, …
Fixed or Random Effect Model in Cross -Sectional dataDear All, I have a query regarding the fixed or random effect model in cross-sectional data (One ob…
Imposing nonlinear constraint in moptimize()I am trying to find the coefficients of a system of linear regression equations defined as y = b*X +…
Undo for "save" commandDear all, Are there any ways to cancel the "save" command in STATA 17? I preserved data on the memo…
Loop for collapse + save fileI'm trying to write a loop where I have reporter and partner countries and country groupings as sepa…
Subscribe to:
Post Comments (Atom)
0 Response to Marginal Effects after Gsem
Post a Comment