Dear all,
Can someone let me know how to implement a procedure similar to XTIVREG but with a binary endogenous variable? Here is the model I want to estimate:
xtivreg DV controls (x1 = z1 z2), fe
where controls are exogenous variables, z1 & z2 are instruments;
x1 is a binary endogenous variable (0 or 1) and the first stage is a logit model so this doesn't fit the xtivreg specification.
Is there an existing procedures to implement this? Or do I have to do the two stages manually?
If I do the two stages manually, how do I adjust the standard errors in the second stage for significance tests?
Thank you very much!
Related Posts with Instrumental Variable using Panel Data with Binary Endogenous Variable
Reshape long 1 row dataset with no identifierHi, I am trying to reshape long the following dataset: Code: * Example generated by -dataex-. To i…
Export covariance matrix to ExcelHi, I would like to export the following covariance matrix to excel: Code: * Example generated by…
Calculate export times using custom data HTML Code: clear input str10 company_name str3 country int year "3Mcompany" "USA" 2002 "3Mcompany"…
A function for a numberHi, I am writing a loop that looks like this foreach code of numlist 1/202{ forvalues i=1940/2020{ …
Need Time-Stratified Case-Crossover Study Help...Hello there! I have hit a bit of a wall with my time-stratified case-crossover study for my disserta…
Subscribe to:
Post Comments (Atom)
0 Response to Instrumental Variable using Panel Data with Binary Endogenous Variable
Post a Comment