Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73301

How can I export result using xtdidregress to Excel?

$
0
0
Hi all,

I have recently started using the new Stata command, xtdidregress, but I encountered some issues while exporting the results to an Excel file with significance stars. Normally, I rely on "outreg2" for exporting my results, but it doesn't seem to work properly after using "xtdidregress." I receive an error message stating "__00000E not found."

I also tried using "estout," which does generate an Excel file, but it doesn't display the significance stars, despite configuring them to appear. Can someone assist me with this problem? Thank you in advance!

Code:
clear
input byte provcode int year double marriage_rate float did
1 1930 57.06         0
1 1935 55.08         0
1 1940 52.96         0
1 1950  53.9 15.913147
2 1930 64.14         0
2 1935 62.72         0
2 1940 60.27         0
2 1950 56.97  10.00084
3 1930 66.87         0
3 1935 64.97         0
3 1940  60.6         0
3 1950 58.47  7.235306
end

xtdidregress (marriage_rate i.year) (did,continuous), group(provcode) time(year) wildbootstrap(rseed(12345))
outreg2 using "result.xls",replace
The error is:
Code:
__00000E not found

Viewing all articles
Browse latest Browse all 73301

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>