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
Error in lassologitI am using lasso for model selection and predictions. The code looks as follows: Code: lassologit…
removing intercepts from groups of dummy variables in panel datahi there, so i have a panel regression of 174 nations and their GDP growth for every year 1994-2017,…
Reshape the data-set into a specified formI have a data-set contains the following variables. And, I want to reshape the data-set into a speci…
Regression problem with categorical/dummy variables that take on more than two valuesHi members, I have a cross-sectional dataset with 167 observations, on which I am trying to run an …
Using python integrated in Stata version below 16Hi All, I'm trying to install python and its package in Stata version 15.1 SE but do not success du…
Subscribe to:
Post Comments (Atom)
0 Response to Generating Quaterly Data, Format Range
Post a Comment