Does any one know a way to estimate a piecewise linear regression with instrument variable(s)?
I have a model below,
y = a + b*Xabovezero + c*Xbelowzero + control variables + error term.
where Xabovezero = X if X>0, and zero otherwise, and Xbelowzero=X if X<0, and zero otherwise.
In the event that X is endogenous, I want to use an instrument variable K. I wonder how to do it properly in stata. I found a paper discussing it https://www.dbmi.pitt.edu/sites/defa...s/Scheines.pdf but have not found stata ado files.
Any help is appreciated!
Related Posts with Piecewise Linear Instrumental Variable Estimation
Difference in months between dates in year-month formatHi, I am a beginner in learning stata. I have data where I have a column for month in numbers 1 to …
Wide to Long Reshaping Hi all, I have data in the following format: Code: * Example generated by -dataex-. For mo…
Struggling with hbarI've been working to finalize my code for a figure, and I'm struggling to be able to see the entiret…
Choosing between Mean Group and Pooled Mean Group in ARDL modelsDear Stata users, Kindly help me with this problem. I am trying to choose the best model between t…
keeping observation with lowest value and get the median of thatHello, I have a panel data and I want to keep the observation with the minimum value of Days for eac…
Subscribe to:
Post Comments (Atom)
0 Response to Piecewise Linear Instrumental Variable Estimation
Post a Comment