I am trying to estimate the marginal effects of the interaction of caste with the level of education using Logit Model. Both of them are categorical variables. I have used the following command:
margins (caste), dydx(edulevel) atmeans
The resulting table takes edulevel1 as the base category but doesn't specify any base category for caste. When I calculate the coefficients, it specifies a base category for both edulevel and caste. I want to know if I am calculating marginal effects for the interaction dummies correctly.
Thanks in advance
Related Posts with Calculation of marginal effects for interaction dummies
create dummy variable based on condition of other variablesDear Statalist, I am struggling with this problem which is very difficult to explain. I am trying m…
Generate sum of preceding values conditional on dates, id, and illness typeDear Sir/Madam, I am Masters student and working on Stata 14.2 obtained by my University. I am att…
Rename many variablesDear all, I have 53 variables, with name like: zmale, zschool, zincome,......zhospitalratio. How ca…
Plotting a likelihood surfaceDear all Let's say I have a linear model with two predictors: Code: program linear ar…
How to omit one category of margins from marginsplotDear Statalisters, I have the following easy issue to solve. I would like to plot margins of employ…
Subscribe to:
Post Comments (Atom)
0 Response to Calculation of marginal effects for interaction dummies
Post a Comment