Hello everybody,
In my research, the dependent variable (DV) is count data and endogenous variable (EV) is binary with other exogenous variables (EXV).
The main effect model is Negative Binomial. (since my dataset is over-dispersed)
I am wondering whether or not I can apply the control function approach for a two-stage regression. Specifically, is it valid to use the predicted probability from the first-stage to replace the EV in the second-stage?
1. logistic EV EXV IV
2. predict yhat
3. nbreg DV yhat EXV
I tried ivpoisson with gmm and since my model contains many variables and dummies, the ivpoisson gmm keep spinning and the criterion does not reduce.
I also tried pseudo-ML poisson to account for the over-dispersion issue, but I still need to deal with the binary EV.
Please can anyone advise what are the possible approaches and does the above CF approach work?
Thanks in advance.
Related Posts with Binary Endogenous variable in Negative binomial regression
Lasso with Instrumental Variables - tests of weak instrumentsI am using lasso on Stata 16 to make inference from a model with two endogenous variables (college q…
Repeated measures from survey-based scenariosHi everyone, This is my first post, so I hope I am asking the question correctly and this hasn't be…
Fuzzy match inconsistent identifiers in a panelDear Statalist, I've been working on what I feel like should be a common problem but I can't find a…
drawing vertical line on a scatter plotI am trying to run the following Stata command: scatter AUC Alpha xline(bestAlpha, lcolor(blue)) ,…
how to update the list of global macro within foreach loop?Hello, I am trying to run the code below, and my ultimate goal is to draw the scatter plot of the ma…
Subscribe to:
Post Comments (Atom)
0 Response to Binary Endogenous variable in Negative binomial regression
Post a Comment