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
Capture change in one variable while different variable is constantDear Statalisters, I am working with a longitudinal dataset. I'm trying to create a variable to cap…
calculating distance in StataDear All, I would like to know how I can calculate distance in stata between two cities in a country…
Hansen issuewhy i am not getting Hansen statistics? the command is as follows xtabond2 fg_ta l.fg_ta size age ia…
Log Transformation of Ratios InterpretationDear all, I have a question regarding whether I should log-transform my dependent variable or not. …
Plotting marginal effects of interactions (containing factor variables) with the grinter commandHello, I am stuck at plotting the marginal effect of the factor variable i.Left_right_placement reg…
Subscribe to:
Post Comments (Atom)
0 Response to How to Set Quarterly Data
Post a Comment