Hi stata experts,
I'm having a problem with the computation of the composite marginal effects of a variable with its quadratic term after mlogit
Let's say the dept. variable is categorical with four options (0,1,2,3)
I have Age and Age2 in the model and need to compute only 1 composite marginal effect of Age instead of two for Age and Age2 for each outcome (0,1,2,3) like the below figure.
How do I accomplish that post estimation. The command mfx2 yields useful marginal effects of both Age and Age2 for each outcome but I want to compute the composite marginal effect of Age only (just 1). How do I do that?
The below command works just fine to estimate the model
mlogit loantype age age2 gender edu farmexp logincome logfarmsize..., base (0) vce(robust)
The result after mfx2 shows
Array
Related Posts with how to compute marginal effects for a variable with its quadratic term
Help with Stata Coding (Urgent!)Nothing …
Merging conditional on one range of dates falling within another range of datesHi. I have two sets of data, set 1 with variables HDR_startdate and HDR_enddate, and set 2 with vari…
Generalized DiD: How will the regression equation look like?Hi guys, I´m setting up an generalized DiD model. The policy is adopted at different times (two dif…
PSID - Generating a household IDI am using 10 waves of the PSID data with the aim of analysing trends in household charitable giving…
Creating an indicator variable from multiple, non-mutually exclusive, dummy variablesHi! I'm trying to create an indicator variable from several dummy variables (which are not mutually …
Subscribe to:
Post Comments (Atom)
0 Response to how to compute marginal effects for a variable with its quadratic term
Post a Comment