I've seen some posts referring to this error r(301): last estimates not found after running some instrumental variable like ivregress and ivreghdfe. Take for example, 1632097 or 1772205. The solutions are always along the lines of 'restart stata' since they cannot replicate the error. We got the error and were able to replicate it. In this case, it seems to be an overwrite of the way the first stage is stored. Whenever I run rdbwselect followed by ivregress the error appears.
After installation,
you can replicate the error by running
I am too new to stata to be able to find out what is happening, let alone fix it. So, is there a way to run ivregress after a command like rdbwselect?
Thank you in advance.
Edit: With clear results we can by pass the error. But it feels like something that should be addressed by either rdrobust or ivregress following versions.
After installation,
Code:
net install rdrobust, from(https://raw.githubusercontent.com/rdpackages/rdrobust/master/stata) replace
you can replicate the error by running
Code:
clear all sysuse auto ivregress 2sls price (mpg = weight) // this works rdbwselect price weight , c(3000) ivregress 2sls price (mpg = weight) // now, this does not work
Thank you in advance.
Edit: With clear results we can by pass the error. But it feels like something that should be addressed by either rdrobust or ivregress following versions.
Code:
clear all sysuse auto rdbwselect price weight , c(3000) clear results ivregress 2sls price (mpg = weight) // now, this works
Comment