Hi all,
I am using ivprobit model, and label_use is the endogenous variable.
ivprobit healthy_decision i.educ i.employ i.gender age i.inc i.nut_net i.nut_tv i.nut_newspaper (label_use = slide_version slide_center)
1) for the predictive margins, when I use "margins label_use" it gives me the following error:
factor 'label_use' not found in list of covariates
And if I enter label_use as i.label_use in the ivprobit model, it gives me this error:
The endogenous variable is incorrectly specified
Could you please help me with the right command? since label_use is my main variable of interest.
2) My second question is about the average marginal effect. The following command for AME works for all variables. I just needed to make sure this is the right command to use;
margins, dydx(*) predict(pr)
Thank you in advance for all your help,
Sam
Related Posts with marginal analysis after ivprobit
Bayes Factors for t-testHi Listers, A reviewer has suggested presenting Bayes Factors. I am wondering how to do this after…
Error: no observations when running regressionsHello, I am trying to run some regressions and getting an error that says there are no observations,…
sorting fully empty variables for each ID from partially missing ones (and filling them in) Goodmorning, this is my first post and I have not found any information with the Search box nor on…
While using rangerun, change the order of items in a local macro containing variable list (dummies) at each iterationThe code below records coefficient estimates at each iteration. There are always two dummy variables…
Collapsing time series data by geographyI have some data about social movements and it includes when social movements occurred. I'm trying t…
Subscribe to:
Post Comments (Atom)
0 Response to marginal analysis after ivprobit
Post a Comment