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
Principal Component Analysis selecting country and questions under conditionsHello dear statalisters, I am working with the World Value Survey that have several questions for d…
Cox Hazard different starting points and year dummiesHey I am investigating the effects of different investor types (A, B and C) on the failure rate of…
Failure to define a new scalar in a if clauseDear Statalist community I´ve encountered a wierd situation today: failing to define a new scalar. …
Gmm arellano estimation .Hello everyone , I am writing my master thesis about determinants of international migration from d…
How to estimate elasticity in both sides Box-Cox transformed modelDear STATA users, I have a model that both dependent and independent variables are box-cox transfor…
Subscribe to:
Post Comments (Atom)
0 Response to Generating Quaterly Data, Format Range
Post a Comment