I am trying to do some VAR analysis, but I can't get the tsset correct, because of how the data in the date is structured. The data is integers, not strings. But I can't tsset for quarterly without it saying there are gaps, but there are no gaps. As a work around I tried to generate two variables for the year and the quarter, but thats where I'm stuck. The data is in integers, but is currently displayed like:
DATE
Jan 1, 1972
Apr 1, 1972
Jul 1, 1972
Oct 1, 1972
Jan 1, 1973
I attached the file.
Related Posts with How to Set Quarterly Data
Questions about contour plotsI have three problems when plotting a contour graph in Stata 16.0 for Windows (revision 02 Jul 2019)…
STATA Boot Camp?Hello Statalist, I was wondering if anyone knew of any stata boot camps where one could immerse the…
What model best suitable for data with dependent variable being a proportion with values from 0 to 1, both inclusive?Dear All, I have two questions on what models and Stata commands to use regarding the following two…
How to calculate AIC(Akaike's information criterion) for restricted cubic splineI would like to calculate the AICs (Akaike's information criterion) to find out which one is more ap…
rewriting the codeI would like to calculate relative_all forecast accuracy and I intend to use the following code. How…
Subscribe to:
Post Comments (Atom)
0 Response to How to Set Quarterly Data
Post a Comment