Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Average Marginal Effects for an ordered probit model allowing for reporting heterogeneity

    Hi,

    I need to calculate on STATA the average marginal effects using ordered probit model allowing for reporting heterogeneity. My variables are: female (dummy variable), education (categorical variable), age and country (categorical variable). In a model allowing for reporting heterogeneity, I ran the following code:

    global xvars i.female i.educ age i.country
    ml model lf hopit (xb: $xvars) (vig1) (vig2) (tau1: $xvars) (tau2: $xvars) (tau3: $xvars)
    ml maximize

    Now I need to get average marginal effects setting the cut-points/thresholds of all individuals equal to those of a female of 30 years old having finished at most primary education and living in Belgium. Could you help me out with this code please?
Working...
X