Dear All,
I would like to set a time series quaterly data from 1995q1 to 2019q4:
(Here is my code) :
generate quarters=tq(1995q1)+_n-1
format %tq quarters
tsset quarters, quarterly
drop time
rename quarters time
label variable time "quarterly data"
The problem that I am having is date is creating from 1995q1 to 2023q1 not to (1995q1 to 2019q12) is there any way to fix it?
Time variable: quarters, 1995q1 to 2023q1
Delta: 1 quarter
Help much be appreciated!
Related Posts with Generating Quaterly Data, Format Range
Calculating distance for intensity analysis using DiDHello, I am currently trying to calculate distance between conflicts and population clusters. I wou…
Crossed random effects model not working after update to Stata/MP 16.1 if sample size exceeds 50 000Dear Statalisters, I've found that a fairly simple crossed random effects multilevel model I estima…
'Wrong' sign with fixed effectsHi there, I was hoping to get help regarding a change is signs of a coefficient when using fixed ef…
Unable to scroll up to see the beginning of the results.Hello All, In recent times I facing a unique problem in my Stata. Whenever I am using the tab of th…
Unbalanced Panel data to balanced panel data for 5 YearsDear All I have an unbalanced panel data from year 2006 to year 2018. There are firms with data as …
Subscribe to:
Post Comments (Atom)
0 Response to Generating Quaterly Data, Format Range
Post a Comment