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
How to calculate the team size?I have a dataset as below. There are two columns, one is the team ID, the other is the team member I…
How to view the SE of autocorrelation in xtregarI'm estimating a model using xtregar, fe. The results include an estimate of rho (rho_ar), but I can…
Help with graph.Hello to all. I'm trying to use pciplot to plot a HR obtained from cox regression against a continu…
Repeated measures, do GEE, mixed models or logistic regressionHello, I know there are many postings on this topic but I am still a bit confused. I have cohort …
Generating a variable that takes value 1 if other characteristics of other variables are fulfilledHi I have to generate a dummy variable X1 that takes the value of 1 if only ONE of the dummy variab…
Subscribe to:
Post Comments (Atom)
0 Response to how to compute marginal effects for a variable with its quadratic term
Post a Comment