Hi,
I am estimating an IV ordered probit model using the cmp command. Afterwards, I am trying to calculate the marginal effects of my main regressors but I always get an error message.
The code looks like this:
cmp (PlannedDurables = inflexp income_exp~d i.expmacroqu~g $controls) (inflexp = devinfpoint income_exp~d i.expmacroqu~g $controls), ind($cmp_oprobit $cmp_cont) qui
margins, dydx(inflexp) predict(equation(PlannedDurables) pr) force
The error message is:
__marg_pvar_1 ambiguous abbreviation
Does anyone have an idea what causes the error message?
Thanks for the help.
I am estimating an IV ordered probit model using the cmp command. Afterwards, I am trying to calculate the marginal effects of my main regressors but I always get an error message.
The code looks like this:
cmp (PlannedDurables = inflexp income_exp~d i.expmacroqu~g $controls) (inflexp = devinfpoint income_exp~d i.expmacroqu~g $controls), ind($cmp_oprobit $cmp_cont) qui
margins, dydx(inflexp) predict(equation(PlannedDurables) pr) force
The error message is:
__marg_pvar_1 ambiguous abbreviation
Does anyone have an idea what causes the error message?
Thanks for the help.
Comment