Forecasting with Time Series Data
39 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following is a critical initial step in forecasting using linear univariate time series data?

  • Testing for stationarity without addressing seasonality
  • Conducting point forecast assuming data is stationary
  • Testing for seasonality and performing seasonal adjustment if necessary (correct)
  • Estimating model parameters without adjustment

What does seasonal adjustment aim to achieve in time series analysis?

  • Removing the time trend
  • Removing the seasonal pattern (correct)
  • Exaggerating periodic behaviors
  • Increasing autocorrelation

What is the periodicity of most seasonal monthly financial data?

  • 6
  • 12 (correct)
  • 4
  • 24

How can seasonality be detected in a time series?

<p>By inspecting the original data plot for periodical humps (A)</p> Signup and view all the answers

In the context of seasonal adjustment for monthly time series, which of the following is true?

<p>Year-over-year change calculates the difference between the same month of different years. (D)</p> Signup and view all the answers

What does 'testing for a time trend' involve in time series analysis?

<p>Plotting the data over time to identify trends (B)</p> Signup and view all the answers

If a time series is identified as a 'log-linear model', which variable is in logarithms?

<p>Y (B)</p> Signup and view all the answers

What are the features of a 2nd order weakly stationary time series?

<p>Constant mean, constant variance, time-invariant covariance (C)</p> Signup and view all the answers

In the context of stationarity in time series, what does it mean if the absolute values of solutions of the characteristic equation are greater than 1?

<p>The series is stationary. (A)</p> Signup and view all the answers

In time series analysis, which situation is most commonly associated to non-stationarity?

<p>All autocorrelations (ACFs) are equal to 1. (B)</p> Signup and view all the answers

What is the 'Unit Root' situation in time series analysis?

<p>Equivalent to non-stationarity (B)</p> Signup and view all the answers

Which test is formally used to detect the presence of a unit root in a time series?

<p>Augmented Dickey-Fuller test (D)</p> Signup and view all the answers

What does the null hypothesis in a Dickey-Fuller unit root test typically state?

<p>The data has a unit root or is nonstationary. (C)</p> Signup and view all the answers

In an Augmented Dickey-Fuller (ADF) test, what conclusion can be drawn if the t-statistic is less than the critical value?

<p>The null hypothesis is rejected, and the data is stationary. (B)</p> Signup and view all the answers

If a unit root test indicates that data is not stationary, what is a common next step to achieve stationarity?

<p>Taking the first difference of the data (D)</p> Signup and view all the answers

After applying first differencing to a time series, what should be done next?

<p>Test the first-differenced data for stationarity (B)</p> Signup and view all the answers

What should you do if the first-differenced data is still not stationary?

<p>Apply the same differencing operation again (A)</p> Signup and view all the answers

How do you determine an appropriate univariate time series model?

<p>Checking the ACF and PACF of the data (B)</p> Signup and view all the answers

If the ACF of a time series decays gradually and the PACF cuts off at lag k, which model is most appropriate?

<p>AR(k) model (A)</p> Signup and view all the answers

Consider a time series where the ACF cuts off at lag 'q' and the PACF decays gradually. Which model is most suitable for this series?

<p>MA(q) model (A)</p> Signup and view all the answers

For an ARMA(k,q) model, how do the ACF and PACF typically behave?

<p>Both ACF and PACF decay gradually (D)</p> Signup and view all the answers

In the context of AR models, what does it mean if the PACF cuts off at lag 3?

<p>The series is best represented by an AR(3) model (C)</p> Signup and view all the answers

How can the number of lags be determined for a time series model?

<p>By using AIC or BIC (A)</p> Signup and view all the answers

How is an ARMA(k,q) model with a unit root typically referred to in time series analysis?

<p>It is called an ARIMA(k,i,q) model. (D)</p> Signup and view all the answers

If a unit-root nonstationary ARIMA(k,1,q) model undergoes first differencing, what type of model does it transform into?

<p>ARMA(k,q) model (A)</p> Signup and view all the answers

In the context of ARIMA models, what is the equivalent representation of an AR(1) model?

<p>ARIMA(1,0,0) (D)</p> Signup and view all the answers

Which methods can be used to estimate the parameters of a time series model?

<p>Conditional-sum-of-squares method, maximum likelihood estimation, and the combination of both (D)</p> Signup and view all the answers

In time series analysis, what should be checked to confirm if a model is correct?

<p>The adequacy of the estimated model (A)</p> Signup and view all the answers

If an estimated ARMA model is adequate, what characteristics should the residual series possess?

<p>It should be a white noise (C)</p> Signup and view all the answers

What should you do if an estimated model is found to be inadequate?

<p>Consider other models or add more lag terms. (C)</p> Signup and view all the answers

To check the adequacy of an estimated time series model using the ACF of the residuals, what should be true?

<p>All the ACFs starting from lag 1 are 0 (C)</p> Signup and view all the answers

What does the Ljung-Box test assess in the context of time series model evaluation?

<p>Autocorrelation in the residual term (D)</p> Signup and view all the answers

In the Ljung-Box test, what does the null hypothesis state?

<p>There is no autocorrelation in the residual term (C)</p> Signup and view all the answers

When using the Ljung-Box test for model adequacy, what conclusion can be drawn if the p-value is less than the significance level?

<p>Reject the null hypothesis, and conclude that the alternative hypothesis is true and the fitted model is inadequate (D)</p> Signup and view all the answers

What does a Durbin-Watson test check for?

<p>Autocorrelation in the errors from a regression analysis (D)</p> Signup and view all the answers

What is the goal of 'seasonal differencing' in time series analysis?

<p>Removing seasonality in order to better observe underlying trends (D)</p> Signup and view all the answers

Nonlinear time trends can be modeled in different ways depending on whether the original (X) and the transformed data (Y) must be used in logarithms. In the case where both (X) and (Y) are in logarithms, what is the model called?

<p>Log-log model (D)</p> Signup and view all the answers

When assessing time series data for stationarity using the ACFs of the data, what characteristic indicates non-stationarity?

<p>ACFs that do not change from, or decay slowly from 1. (A)</p> Signup and view all the answers

Suppose you're assessing a time series using the Augmented Dickey-Fuller (ADF) test. In what situation do you reject the null hypothesis?

<p>If the t-statistic is less than the critical values. (A)</p> Signup and view all the answers

Flashcards

What is seasonality?

Fluctuations that recur annually, like retail sales peaking during holiday seasons.

Method 1 of detecting seasonality

Inspecting the original data plot for humps at periodical intervals.

Method 2 of detecting seasonality

Inspecting the ACFs for higher autocorrelations at fixed lag intervals.

What is seasonal adjustment?

Removing seasonality from a time series for analysis.

Signup and view all the flashcards

How to test for a linear time trend?

Plotting data over time to identify overall upward or downward movement.

Signup and view all the flashcards

What makes a series weakly stationary?

When the data has a constant mean, constant variance, and time-invariant covariance.

Signup and view all the flashcards

What is the condition for stationarity?

Condition where the absolute values of the characteristic equation are greater than 1.

Signup and view all the flashcards

What is the Augmented Dickey-Fuller test used for?

Test to determine if time series data has a unit root.

Signup and view all the flashcards

What is a Unit Root?

This nonstationary situation of is called Unit Root. To some extent, unit root is equivalent to non-stationarity.

Signup and view all the flashcards

How to deal with stationarity?

First, test for stationarity, if non-stationary, take the first difference to make it stationary.

Signup and view all the flashcards

How to choose a time series model?

Analyze ACF and PACF to choose AR, MA, or ARMA models.

Signup and view all the flashcards

ACF and PACF for AR(k) model

ACF decays gradually, PACF cuts off at lag k.

Signup and view all the flashcards

ACF and PACF for MA(q) model

ACF cuts off at lag q, PACF decays gradually.

Signup and view all the flashcards

ACF and PACF for ARMA(k,q) model

Both ACF and PACF decay gradually, no cut off.

Signup and view all the flashcards

How to estimate parameters in time series models?

Estimating model parameters using conditional-sum-of-squares, maximum likelihood, or a combination.

Signup and view all the flashcards

Check the Adequacy of the Estimated Model

Check for autocorrelation in the residual series; it should be white noise..

Signup and view all the flashcards

How to check the ACF of the residual?

If all the ACF starting from lag 1 are 0, indicates no autocorrelation, and the estimated model is adequate.

Signup and view all the flashcards

What is the Ljung-Box Test?

Statistical test for autocorrelation in the residual term.

Signup and view all the flashcards

If the Ljung-Box test is special

We do not want to reject the null hypothesis.

Signup and view all the flashcards

Study Notes

Forecasting With Linear Univariate Time Series Data

  • Forecasting univariate time series data involves a 7 step process, designed to make accurate predictions based on historical data
  • These include testing for seasonality, time trends, stationarity, determining the appropriate model, estimating parameters, checking model adequacy, and forecasting

Step 1: Test for Seasonality

  • Many financial time series exhibit seasonal or periodic behavior
  • Seasonality describes a time series with a significantly higher autocorrelation between certain time periods
  • Monthly data is often seasonal with a periodicity of 12, demonstrated by peaks in the same month each year
  • Quarterly data is seasonal with a periodicity of 4, as demonstrated by peaks in the same quarter of each year
  • Seasonal patterns need to be removed before other time series analysis
  • Removing seasonality is referred to as seasonal adjustment

Detecting Seasonlity

  • Obvious periodic humps may be seen by plotting the original data
  • ACFs may indicate seasonality, as they may include higher autocorrelation at fixed lag intervals
  • Other statistical methods like Chi-square and Kolmogorov-Smirnov tests may be used

Detecting Time Trend Adjustments

  • Seasonal differencing can be used to eliminate seasonality, by removing the high autocorrelation
  • Seasonally differencing a time series with periodicity s, and seasonal adjustment is required
  • For monthly time series, seasonal adjustment means using the year-over-year change
  • The year-over-year change calculates the true change by taking the difference between the same month of different years
  • Normal month-to-month changes do not consider seasonality
  • Adjustments can also be made to quarterly time series

Step 2: Test for Time Trend

  • Graph the data over time to determine if there is a time trend
  • Indicate a linear relationship between time and the data
  • Includes different cases for variables in logarithms
  • Case 1: Linear-log model with X in logarithms, Y is not
  • Case 2: Log-linear model with Y in logarithms, X is not
  • Case 3: Log-log model with both X and Y in logarithms

Step 3: Test For Stationarity

  • Process requires testing for stationarity to ensure the data's statistical properties don't change over time

Weakly Stationary Data

  • The 2nd order weakly stationary features:
    • Constant Mean
    • Constant Variance
    • Time invariant Covariance, depends on the difference between 2 periods

Nonstationary Situations

  • Stationarity requires that the absolute values of the solutions of the characteristic equation are greater than 1

The First Situation

  • This situation is uncommon
  • The nonstationary situation rarely happens

The Second Situation

  • This situationis more likely to happen
  • Under the most likely nonstationary situation, all the ACFs are equal to 1
  • Called a Unit Root
  • Unit root is equivalent to non-stationarity

Methods of Detecting Non-Stationarity

  • Visually inspect the data for trends in changing mean or variance
  • Inspect the ACFs of the data
  • Augmented Dickey-Fuller tests can detect unit roots, indicating non-stationarity

Augmented Dickey-Fuller Unit Root Test

  • If the t-statistic is less than critical values, the null hypothesis can be rejected
  • Conclude that the data is stationary

Dickey-Fuller Test For AR(1)

  • This test confirms non stationarity
  • Testing, as the data is considered nonstationary is equivalent to testing
  • Can measure if data is considered in alternative or null hypothesis

Augmented Dickey-Fuller Unit Root Test Details

  • Augmented tests add additional difference terms
  • Can be applied for an AR(1), AR(2), AR(k)

Hypotheses

  • The null hypothesis, suggesting the data has a unit root and is nonstationary
  • The alternative hypothesis, suggesting the data is stationary
  • The ADF test is a one-tail test
  • The t-statistic compares with critical values, used to make the rejection decision

Dealing With Stationarity

  • If the unit root test shows the data is stationary, fitting it into a univariate time series model can be the right call
  • If data isn't stationary, the first difference needs to be used
  • First difference is used until the data shows high autocorrelation

Differenced Data

  • You test the stationarity of the first differenced data
  • The first-differenced data can be fit into a time series model, should it be stationary
  • The difference may need to be taken many times if the data continues to be not stationary

Step 4: Determine The Appropriate Univariate Time Series Model

  • An AR, MA, or ARMA is determined by using the ACF and PACF

Standards

  • AR(k) models have gradually decaying ACFs and PACFs that cut off at lag k
  • MA(q) models have PACFs that decay gradually and ACFs that cut off at lag q
  • ARMA (k, q) models will have ACFs and PACFs which both decay gradually, with no cutoff

More Details For Model Selection

  • Use an AR(k) model if the ACF decays and the PACF cuts off at lag k
  • PACF helps figure out the i.e. value of k, in the AR model
  • This model would be something like AR(3)
  • The MA(q) model should be used if the ACF cuts off at lag q and the PACF decays gradually
  • ACF helps determine the value of q) in the MA model if the ACF will cut off at lag 3
  • Use an ARMA model comes into play if neither ACF or PACF cuts off, but both decay gradually
  • The number of Lags can be defined by the AIC or BIC algorithms

ARIMA(k,i,q)

  • ARMA has unit root is called an ARIMA(k,i,q) model
  • Unit-root nonstationary ARIMA becomes transformed into a stationary model by using first differences
  • ARMA is equivalent to ARIMA
  • AR(1) is close to ARIMA(1,0,0)

Step 5: Determining Parameters

  • Include conditional-sum-of-squares, max likelihood estimation and combinations of them

Step 6: Evaluate Adequacy

  • Confirms the estimated model is correct
  • If the model is adequate the residual model is a white noise

Inadequacy

  • If the model is inadequate, the residual is not white noise
  • Other models need to be used, consider adding more lags

Evaluate The Estimated Model

  • Method 1: Check the ACF of the residual
  • This is related to detecting if the estimated model is adequate
  • Method 2: Implement the Ljung-Box test
  • Called the portmanteau text
  • Method 3: Implement the Durbin-Waston test
  • The Ljung-Box model tests autocorrelation with a chi squared distribution
  • Includes the term in the first m lags, which follows a chi-squared distribution
  • There is no autocorrelation
  • There exists autocorrelation if the model is inadaquate

Performing The Ljung-Box Test

  • Reject the null for the alternative value, if the p-value is over 0.05 it can be considered inadequate
  • If the p-value is greater than 0.05, do not reject the null hypothesis, then it can be considered adequate
  • Special as it is not desired to reject the null hypothesis throughout the Ljung-Box test

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Description

Explores forecasting univariate time series data using a 7-step process. Covers testing for seasonality, time trends, and stationarity. Also looks at model determination and seasonal adjustments.

More Like This

Use Quizgecko on...
Browser
Browser