bootstrap "repeated time values within panel" 2 SRI
I'm trying to run 2sri approach(control function) in Stata 15. My first stage is a probit regression and the second regression is Tobit (using xtdpf code from the website)
My first stage code is as:
global Z "a b c d "
probit X IV $Z i.year i.industry, r
predict `Xhat'
matrix `a1'=e(b)
gen Xuhat=X-`Xhat'
My second stage code is :
global Z "a b c d"
xtdpf Y X $Z Xuhat, timedummies
The problem now is that in the probit model, I control for year and industry fixed effect, I cannot control firm fixed effects. In the second stage, I control both year and firm fixed effects. My supervisor said in this way, the estimates are inconsistent. However, my instrumental variable is quite a constant variable (didn't change every year), besides Probit cannot include firm fixed effects. Does anyone know how to solve this problem? please help me, I will appreciate any help!
Related Posts with two stage IV approch
Identifying "Episodes"Hello All, I am doing a difference-in-difference analysis. I need to create an identifier, or a var…
Resolving problem with day gaps in STATAI am a new STATA user and new to this forum. I am working with daily price data of the Australian do…
Using -margins- for different subsamplesHi everyone, margins, atmeans saves the means of covariates of a model in a matrix r(at), see here:…
keep banks (id) with 3-consecutive years of observation or more in my panel dataGreetings statalist users, I need help with codes to eliminate the entire id (along with all its ob…
No constant in first difference regressionI am running a first difference regression. I have seen the nocons option included on several posts …
Subscribe to:
Post Comments (Atom)
0 Response to two stage IV approch
Post a Comment