Hello everyone i am really new to stata and i have an econometrics paper due in a couple days and i have to perform some time series analysis on the data i have.
I am using Monthly data from 2007-12-01 to 2019-10-01 in a "YMD" format. I have been trying to declare my dataset as a time series data but i have been unable to do so because my monthly data is currently in a string type. I have used numerous of Date and Time functions to fix this problem such as date(), month(), monthly(), mofd(), but none of them have given me my desired result.
When i used the mofd(date("2009-08-01", "YMD")) and changed the format all my monthly observations appeared as 2009m8 instead of 2007m12 - 2019m10 which is what i want.
Please if anyone is capable or willing to help me i would deeply appreciate it. I have watched countless youtube videos and gone through the help guide but unable to find the correct command function.
Again i need this to be able to declare time series dataset and perform a Dickie Fuller test for stationary in my time series data. So any help is welcomed
Related Posts with Conversion of monthly sting variable into monthly float variable for time series analysis
directions of endogenous coefficients are the opposite in simultaneous equation modelHi everyone, I'm running simultaneous equation model (2 equations) but getting a weird result. My a…
Automatic average calculationHey there I have another question. Here as example for the Grunfeld database: I need a code that cal…
categorical variable sample sizesHi, I am running a regression using the following code: Code: reghdfe incvote i.X controls, absorb…
Standard errors ivqte vs qreg2Maybe more of an Econometrics question, but I was wondering why the standard errors between qreg2 an…
Problem with date formatI split a variable which had date and time together to one with just the dates. Now I am trying to c…
Subscribe to:
Post Comments (Atom)
0 Response to Conversion of monthly sting variable into monthly float variable for time series analysis
Post a Comment