Hi,
I'm running a regression on a multiply imputed dataset. I'm using the code below:
mi estimate, cmdok: xtreg Y X1 - Xn i.year , fe
est sto FE
mi estimate, cmdok: xtivreg2 Y X2 - Xn (X1=Instrument) Year 2 - Year 15, fe
est sto IV
hausman IV FE
I am unable to run the Hausman test as I have not managed to successfully store estimates from the FE regression. I read somewhere that using the miest command I can save the estimates but I haven't manged to figure out how I can run the command. Your help will be appreciated. Thank you so much!
I'm running a regression on a multiply imputed dataset. I'm using the code below:
mi estimate, cmdok: xtreg Y X1 - Xn i.year , fe
est sto FE
mi estimate, cmdok: xtivreg2 Y X2 - Xn (X1=Instrument) Year 2 - Year 15, fe
est sto IV
hausman IV FE
I am unable to run the Hausman test as I have not managed to successfully store estimates from the FE regression. I read somewhere that using the miest command I can save the estimates but I haven't manged to figure out how I can run the command. Your help will be appreciated. Thank you so much!
Comment