I am very new to STATA and trying to use 2SLS when the IV is a binary variable. I have gone through the literature and it supports the use of 2SLS with first-stage probit model. Specifically, what I am required to do are:
1. Run a probit model for panel data: I used command
Code:
xtprobit AI X1 X2 X3 X4
2. Generate the fitted probability of AI: I used command:
Code:
predict PAI
3. Use the fitted probability of AI, PAI, to run a 2SLS for panel data: I used the command:
Code:
xtivreg2 DepVar AI IndeVar
Thanks so much for your reading. Hope to learn from you!
Best regards,
Roman
0 Response to 2SLS when the first stage is probit model for panel data!
Post a Comment