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
Summing observations with bilateral trade dataDear Statalist community, I'm working on bilateral trade openness between countries, and I am search…
how to do vector calculation?Right now, I have data of valence and activation, but how to calculate the affect spin? I don't unde…
Changing order pathsHello, I am currently writing my master's thesis and did save all my codes on my computer. However,…
How to make a subset of data?Good morning all, I am working on a database about transition teams and the acquisition success. To…
Tobit regressionHello everyone, Currently I am busy doing my research and I am thinking about running a Tobit regre…
Subscribe to:
Post Comments (Atom)
0 Response to Generating Quaterly Data, Format Range
Post a Comment