I am trying to run
"xtivreg" for my 2-SLS regression. I suspect that Stata only performs
linear OLS in the first stage. However, I need to run a Probit model in
the first stage. Is there any way out? I tried to use "heckman", but
it doesn't seem to handle panel data (it only performs a pooled
regression). Thanks in advance!