Hello everyone,
I would like to run a regression with date for example as follows:
Inflation=GDP+year+month
where year and month are dummies variables, knowing that the data is monthly time series, the date variable is in the format of 2006m6, 2006m7, 2006m8 . . . . . . 2012m12.
how can I do it ? I need to turn the date variable into a numeric value ?
Thanks in advance !
Related Posts with Regression with time
Error = { required r(100)Greetings Please attached is my do file that I am trying to use to test associations between my expl…
Country fixed effects and dummy in IV regressionHello everyone, I want to use instrumental Variable regression and include country fixed effects in…
ivreg2 and ivregress provide different resultsDear, I have used two commands, ivreg2 and ivregress, to estimate the same model. errors are assume…
Network meta-analysisHello all, I'm trying to run network meta-analysis in Stata and I'm running into a problem that mig…
Global macro before stringsDear, I would like to generate a new variable whose name includes a global macro in the middle of s…
Subscribe to:
Post Comments (Atom)
0 Response to Regression with time
Post a Comment