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
Statistical significance for sigma_u and rho from Stata’s xtprobit commandDear all, I'm estimating a dynamic random effects probit model assuming a first order Markov proces…
Fixed effects with multiple region-level observationsHi, I am using survey level data for the US which is divided at the county level, and I have multip…
What is wrong with my merge? (data examples are provided)I am merging the following two datasets. But I got 0 matched ((_merge==3) is zero). The code I used …
Help on regexmI have a multiple response variable codes as 00 01 02 03 04 05 06 07 08 09 10 11 12 as string variab…
Time Series Statistical Analysis of Crime Rates Between 2018 and 2021Hello, I was wondering if you could assist me with a number of issues i am experiencing in relation…
Subscribe to:
Post Comments (Atom)
0 Response to marginal analysis after ivprobit
Post a Comment