Hi.
I am trying to estimate a 2sls regression for different subsamples but using the same first stage. So, for example, if the structural equation is
y = a + bX + u
and the first stage is
X = c + dZ + e
I want to know the size of b (hat) among two subsample, for example among big and small schools, but using just ONE first stage. I understand that this is possible, since other papers present estimates this way when testing for heterogeneous effects. But I do not know how to implement it in Stata.
Any ideas?
Let me know if you need more info!
Thanks!
I am trying to estimate a 2sls regression for different subsamples but using the same first stage. So, for example, if the structural equation is
y = a + bX + u
and the first stage is
X = c + dZ + e
I want to know the size of b (hat) among two subsample, for example among big and small schools, but using just ONE first stage. I understand that this is possible, since other papers present estimates this way when testing for heterogeneous effects. But I do not know how to implement it in Stata.
Any ideas?
Let me know if you need more info!
Thanks!
Comment