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
Age-adjusted P values for differences between categorical or continuous variablesHi, I have a table of baseline characteristics of a cohort in which I have compared the differences…
Problems with simple adjusted logistic regression on small sample-size (n=13)Hi I am trying to make a simple logistic regression adjusted for one potential confounder ("Antibtio…
Sample Size AUC/AUROCHi all, I'm working on a study that will evaluate several score to predict the same outcome (surviv…
Interpreting interaction effectsHi everyone, I am running a model which has many interactions terms and I am facing difficulties in …
Extend window for variable labels in Stata's main windowHi, maybe I am not seeing sth. obvious, but how can I extend the space for variable labels in the ma…
Subscribe to:
Post Comments (Atom)
0 Response to How to Set Quarterly Data
Post a Comment