Reading 13: Time Series Flashcards
What is a Time series?
A set of obsrvations on a variable’s outcomes in different time periods.
(quarterly sales for example)
What are the challenges in working with time series?
Often with time series the assumptions of a linear regression model are not satisfied.
What is not satisfied?
- the residual errors are correlated instead of uncorrelated
- the mean and/or variance of the time series changes over time.
What type of Time Series are there?
- Trend Models
- Linear Trend Models
- Log-Linear Trend Models
- Lagged Models
* Autoregressive Model (AR)
What is a linear Trend Model
A linear trend model is using time to explain/forecast the dependent variable
What are Log-Linear Trend models?
A log Linear Trend Model is a model that has a dependent variable that grows at a constant rate and hence the formula needs to be adjusted for that by taking the Natural Log of the Dependent variable.
How do we test for correlation errors in a Trend Model?
We use the Durbin Watson test on the Residuals. This test is the Test with the Dl and Du by looing up the values in the table
DW = 2(1-R)
What are Autoregressive (AR) time-series Models?
An Autoregressive Model (AR) is a time series regressed on its own past values, and represent this relationhsip effectively
What is covariance stationary and why is it nessecary?
Covariance stationary basically means that only in a state in which a time series has:
- constatnt and finite expected values
- constant and finite variance
- constant and finite covariance (with leading or lagged values)
will the resulting regression be meaningful.
Why is serial correlation in an AR model a problem?
If serial correlation exists, this means that the model does not include all the information out of the data yet.
Solution: Add more lags in the model
How do we test for Serial Correlation in an AR model?
We CANNOT use the Durbin-Watson test in an AR model
We need to use the T-Tset, where:
- Standard error = 1/ SqRoot(T)
- Use a t-stat with df = t-1 for samples
- With level of significance (Alpha)
We look at the autocorrelation within the residuals!
What do you do if there are significant readings in the t-statistics in the autocorrelation of the residuals?
You add antoher order!
Rerun the statistics and check for serial correlation
What is Mean Reversion?
Mean reversion in a time series means that if it tends to fall when its above its mean and rise when it its level is below its mean.
Formula mean Reversion: xt= b0 / 1-b1
How do we test for the accurracy of the AR model?
This is measured by the Root Mean Squared Error (RMSE)
= Square Root of the average squared error
= SqRoot (MSE)
What is a random Walk in a time series?
This means that there is no tendency to revert back to its mean level in the next period.
If this follows a random pattern, we call it a random walk.
= Value of X = value of Xt-1 + error
The error is unpredictable and random.
What type of Random walks are there?
- No Drift Random Walk
Xt = 0 + (1)Xt-1 + error
when No drift b1 = 1
- Random walk with a drift
Xt = b0 + Xt-1 + error