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
Changing variable's value by frequency orderHi, i have a variable x with 5 values (assume 1 to 5). When I do tab x I have that the value with hi…
Inference based on Influence function or delta methodArray Hello, every one. i am working on replicates Peters and Taylor(2017), JFE My questions are: w…
Breusch Pagan LM Test and Hausman TestHello there, i have paneldata form 2002 - 2019 from 505 companies. I need to perfom a industry and …
Estimate Pre-event window based on business and not calendar daysDear Stata Users, Can you please help to construct a pre-event window of 23 days (including event d…
Calculating only year and months-fixed effects and excluding individual fixed effects Code: xi: xtivreg2 father_childcare fage fage2 i.fmonth i.syear (fretired = fdisc60) …
Subscribe to:
Post Comments (Atom)
0 Response to Generating Quaterly Data, Format Range
Post a Comment