Nick MuellerGuestSeptember 8, 2020 at 12:35 pmPost count: 118
I am running a regression with a panel data structure (different countries and their changes in bond yields). However, I need to run time-series regressions for each country. At the moment I am running the following regression:
bysort CountryCode: asdoc newey chgn10y2d chgnCESI chng10y_L1 AnnQE AnnTa, lag(12) force
which returns the following `time is not regularly spaced’. Although I can click on myfile at the end, the link directs me to a webpage (http://myfile.doc/) in my browser.
Does anyone have suggestions on how to solve this problem?
Any hints are appreciated!
NicolasAttaullah ShahKeymasterSeptember 9, 2020 at 12:12 amPost count: 69
The error message that you are receiving is not from the asdoc command, it is from the
neweycommand throws this error when there are time series gaps in your data. However, you can use the
forceoption to ignore the gaps. Since asdoc also has the
forceoption, there was a contradiction. I have fixed it now,
asdoc version 22.214.171.124 : Changes made on Sep 9, 2020.
The new version of asdoc can be installed from my site. Copy and paste the following line in Stata and press enter.
net install asdoc, from(http://fintechprofessor.com) replace
Please note that the above line has to be copied in full. After installation of the new version, then restart Stata.
asdocx is now available
A more powerful and flexible version of asdoc is now available. I call it asdocx. You may like to check the details here
Please do remember to cite asdoc. To cite:
Tables were created using asdoc, a Stata program written by Shah (2018).
Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.
- You must be logged in to reply to this topic.