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
How to cluster nothing in a code?I have a code that is Code: did2s depvar [if] [in] [weight], first_stage(varlist) second_stage(var…
Creating a stacked bar chart for 3 different variablesHello Statalis, I have done a conjoint experiment survey, where respondents were asked to choose be…
Why set maxvar is ignored?When I set maxvar and STATA return as below, can I ask why and the solution? Code: set matsize 110…
STATA stuck computing matchit resultsI am attempting to match two datasets, one of which is about 70 000 observations and the other maybe…
Including confidence intervals in estimate plotsI have a dataset in which per country, the estimates of coefficients are given as well as their t sc…
Subscribe to:
Post Comments (Atom)
0 Response to Marginal Effects after Gsem
Post a Comment