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
Mixed logit modelsI'm interested to develop a mixed logit model for crash injury severity. My response variable is "in…
How can you make a by() bar graph plot side-by-side bars on one plot rather than two subfigures?I want to change the attached graph so that instead of appearing as two sub-figures, there is just o…
ytitle "unrecognized"Hi all, I've been trying to replicate a figure from code I got from the authors of a paper. When I …
xtsccDears, I have question regarding XTSCC. As I read this can be used to deal with cross-section depen…
droping multiple observationsMy data looks like the one below. and I want to delete the observations that dont have hhid (the thr…
Subscribe to:
Post Comments (Atom)
0 Response to Conversion of monthly sting variable into monthly float variable for time series analysis
Post a Comment