Making Time Series Data Stationary
Posted: Sat Dec 05, 2015 5:12 pm
Very new to all of this, and I can't say I'm feeling comfortable. I have a couple questions, which I'm sure some of you know the answer to.
So my data series' are non-stationary. I did the dickey-fuller test and a couple of the variables are stationary at first difference, and a couple others are only stationary at second difference.
To make sure I'm doing this right, take one of my variables (enrollment). To get the second difference for this, I would enter the command "denrollment=d(enrollment, 2)" and at first difference: "denrollment=d(enrollment)"...correct?
Also, after doing this, when going inside the data, it's completely changed. What is this doing to my data exactly? I just know that it is fixing the stationary issue.
Is taking the second difference of my data effective or should I be avoiding this?
Last question - using the HAC(Newey-West) covariance method fixes autocorrelation and heteroskedacity?
Thanks to anybody who can be of assistance, cheers.
So my data series' are non-stationary. I did the dickey-fuller test and a couple of the variables are stationary at first difference, and a couple others are only stationary at second difference.
To make sure I'm doing this right, take one of my variables (enrollment). To get the second difference for this, I would enter the command "denrollment=d(enrollment, 2)" and at first difference: "denrollment=d(enrollment)"...correct?
Also, after doing this, when going inside the data, it's completely changed. What is this doing to my data exactly? I just know that it is fixing the stationary issue.
Is taking the second difference of my data effective or should I be avoiding this?
Last question - using the HAC(Newey-West) covariance method fixes autocorrelation and heteroskedacity?
Thanks to anybody who can be of assistance, cheers.