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
Panel data with multiple irregular observations in a yearDear Statalisters, I have three questions regarding my dissertation. I am investigating the impact…
Invalid Syntax r(198)Hi everyone, I was wondering if I could get help to figure out the problem with one of my commands.…
gsample procedure for frequency weights vs. probability weights?Question re: 'gsample' procedure. I am currently analyzing the Healthcare Utilization Project (HCUP…
Invalid Syntax r(198)Hi everyone, I was wondering if I could get help to figure out the problem with one of my commands.…
Urgent: Convert .dta file to Stata 13 compatibility.Hello, I have an assignment due tomorrow that I have been working on a computer with Stata 14. I no …
Subscribe to:
Post Comments (Atom)
0 Response to How to Set Quarterly Data
Post a Comment