Regression with Time Series Data

Learn to run and read regressions on data ordered in time. Build lags, differences and growth rates; estimate static and distributed lag models and their long-run effects; and see when OLS works with time series, using stationarity and weak dependence. Handle trends and seasonality, spot spurious regressions between persistent series, test for serial correlation and correct for it with feasible GLS or Newey–West standard errors, and make and judge simple forecasts.

IntermediateLesson 6 of 8 in Econometrics 1 Course

What you will learn

  1. Work with data ordered in time and estimate and interpret regressions in which an explanatory variable affects the outcome in the same period or over several periods.
    • Work with lags, differences, growth rates and autocorrelation
      Describe what makes time-series data different from cross-sectional data and build the lagged, differenced and growth-rate variables that time-series regressions use.
    • Estimate and interpret static time-series models
      Specify regressions that relate variables in the same period, interpret their coefficients, logs and event dummies, and recognize what a static model leaves out.
    • Measure delayed effects with finite distributed lag models
      Use finite distributed lag models to estimate how an effect unfolds over time, distinguish temporary from permanent changes, and estimate and test the long-run propensity.
  2. State the assumptions under which OLS on time series is unbiased or consistent, recognize stationary and weakly dependent processes, and know what changes when a lagged dependent variable is a regressor.
    • State the finite-sample assumptions and strict exogeneity
      Use the classical assumptions for time-series regression to decide when OLS is unbiased and when its usual inference is exact, and recognize the situations that break strict exogeneity.
    • Recognize stationary and weakly dependent processes
      Define stationarity and weak dependence, compute the moments of moving-average and autoregressive processes, and tell trend-stationary series from series whose dependence does not die out.
    • Use large-sample OLS with lagged dependent variables
      Apply the weaker large-sample assumptions that make OLS consistent and its usual inference approximately valid, including in autoregressive and dynamically complete models.
  3. Account for trends and seasonal patterns in time-series regressions and recognize when highly persistent data produce relationships that are not real.
    • Model and remove time trends
      Model linear and exponential trends, include a time trend to avoid spurious relationships between trending series, and measure goodness of fit correctly when the dependent variable trends.
    • Account for seasonal patterns
      Model regular within-year patterns with seasonal dummy variables, test whether seasonality matters, and work with seasonally adjusted data.
    • Spot highly persistent series and spurious regressions
      Recognize random walks and other highly persistent series, explain why regressions between them can be spurious, and choose transformations that make inference valid.
  4. Explain how serially correlated errors affect OLS, test for serial correlation, and correct for it with feasible GLS, differencing or serial-correlation-robust standard errors.
    • Explain what serial correlation does to OLS
      Describe serially correlated errors and their consequences for unbiasedness, consistency, efficiency and the usual standard errors, including the special danger in models with a lagged dependent variable.
    • Test for serial correlation
      Test regression residuals for first-order and higher-order serial correlation with the AR(1) t test, the Durbin–Watson statistic and the Breusch–Godfrey test, and choose the test that suits the regressors.
    • Correct for AR(1) errors with feasible GLS or differencing
      Transform a regression with AR(1) errors by quasi-differencing, estimate it by Cochrane–Orcutt or Prais–Winsten feasible GLS, and know when first-differencing is the better response.
    • Use serial-correlation-robust (HAC) standard errors
      Compute and interpret Newey–West standard errors that remain valid under serial correlation and heteroskedasticity, choose their lag length, and decide between robust OLS inference and FGLS.
  5. Use autoregressive and distributed-lag regressions to forecast future values, choose the number of lags, and measure and compare forecast uncertainty.
    • Forecast with autoregressive and distributed-lag models
      Produce one-step and multi-step forecasts from autoregressive, autoregressive distributed lag and trend-seasonal models, and choose the number of lags with information criteria.
    • Measure forecast uncertainty and compare forecasts
      Quantify forecast errors with the root mean squared forecast error, build forecast intervals, and compare competing forecasts on data held back from estimation.

Regression with Time Series Data study guide

5 chapters

1

Set up regressions with time-series data

Time order lets you ask when an effect arrives. Start by building variables that compare one period with another, keeping their units clear. Then use static regressions for same-period relationships and finite distributed lag models for delayed responses. The same estimated lag coefficients tell different stories when a change lasts one period and when it stays in place; keeping those two experiments separate is central to interpreting the results.

1.1 Work with lags, differences, growth rates and autocorrelation

A time series records a variable in date order. Its observed values are one realization of a stochastic process, a sequence of random variables. The order carries information: shuffling quarterly observations destroys the meaning of changes and lags. Nearby observations often move together, so the independent-draw reasoning used for a random cross-section must change.

Build comparisons across dates

The first lag of yt is yt−1; lag j is yt−j. With 80 quarterly observations and two lags, usable dates run from 3 through 80, leaving 78 observations. Align every regressor and the outcome to the same date before estimating.

The first difference, Δyt=yt−yt−1, measures a change in the original units. A rate falling from 6.1% to 5.8% changes by −0.3 percentage points. Its percentage change is about 100(−0.3/6.1)=−4.9 percent. For quarterly data, yt−yt−4 is a seasonal difference: it compares the same quarter in successive years.

A growth rate divides the change by the starting value:

gt=100yt−yt−1yt−1.

For positive values, 100Δln⁡yt approximates percent growth. An index rising from 500 to 506 grows by 1.2%, while its log growth is about 1.19. The approximation gets weaker for large changes: a rise from 100 to 150 is 50%, while 100ln⁡(1.5)≈40.5.

To annualize 1.2% quarterly growth, compound it: 1.0124−1≈0.0489, or 4.9%. Multiplying the quarterly percentage by four gives the approximation 4.8%. Annualized quarterly log growth is exactly four times quarterly log growth because logarithms turn products into sums.

Measure persistence and choose units

Autocorrelation at lag j measures the correlation between values j periods apart. One common sample definition is

rj=∑t=j+1T(yt−yˉ)(yt−j−yˉ)∑t=1T(yt−yˉ)2.

For 2, 4, 3, 5, 6, the mean is 4 and the deviations are −2, 0, −1, 1, 2. Neighboring products total 1 and squared deviations total 10, giving r1=0.1. A correlogram displays these correlations across lags. Price or output levels often have much higher autocorrelation than their growth rates.

An index sets a base-period value to 100. Moving from 120 to 126 adds 6 index points but means 5% growth. To express a nominal quantity in base-year prices, divide by its price index and multiply by 100. A nominal earnings index of 240 with a price index of 120 becomes a real index of 200. Using nominal variables can make a regression pick up a common inflation trend.

Create variables in software

Sort dates and check for gaps first. In Stata, after tsset quarter, use L.y, L2.y, D.y and S4.y. In Python pandas, use df['y'].shift(1), df['y'].diff() and df['y'].diff(4). In R, use dplyr::lag(y) and diff(y); diff() returns a shorter vector. Row shifts in R or Python require a regular time grid: the previous row must really be the previous period.

Key Takeaways

  • A lag refers to an earlier date; align all variables on the regression date.
  • Differences retain the original units; percent growth divides by the starting value.
  • Log differences approximate small percentage changes; annualized log growth scales exactly with frequency.
  • Autocorrelation measures dependence across dates.
  • Real values remove price changes; index points and percent changes differ.
  • Sort dates, check gaps and account for observations lost to lags.

1.2 Estimate and interpret static time-series models

A static model relates the outcome to regressors measured in the same period:

yt=β0+β1zt+ut.

The model represents a contemporaneous effect. It gives no separate coefficient for a response that arrives later. Multiple regression still holds other included regressors fixed, and OLS still chooses coefficients to minimize the sum of squared residuals.

Read a same-period slope

Suppose an annual inflation regression is

inf^t=5.2−0.45 unemt,

with both rates recorded as numbers in percent. One percentage point higher unemployment is associated with 0.45 percentage points lower inflation that year. At unemployment of 6%, the fitted inflation rate is 5.2−0.45×6=2.5 percent. The intercept is the fitted inflation rate at zero unemployment; whether that value is useful depends on whether zero lies in a meaningful range of the data.

A fitted association becomes a causal effect only with a credible exogeneity argument. For example, omitted demand shocks might affect both inflation and unemployment. The coefficient would then mix their influence with the relationship of interest. Computing OLS successfully says nothing by itself about whether those influences have been separated.

Interpret logarithms and event dummies

In a log-log electricity model,

ln⁡(elect)=β0+β1ln⁡(pricet)+β2ln⁡(incomet)+ut,

a price slope of −0.20 is a contemporaneous elasticity. Holding real income fixed, a 10% higher real price is associated with about 2% lower use in the same period. If users adjust gradually and the model omits those delayed responses, this static coefficient generally isolates neither the short-run nor the long-run response. If there are truly no delayed effects, those responses coincide.

A dummy variable marks an event or regime. A dummy equal to 1 after a policy begins estimates an average shift relative to the earlier periods, holding other regressors fixed. A dummy equal to 1 for one date captures a one-period event, such as a strike.

In a log road-deaths model, a policy coefficient of −0.08 corresponds to approximately 8% fewer deaths. The exact percentage is 100(e−0.08−1)≈−7.7. A dummy's coefficient also absorbs coinciding changes that the regression leaves uncontrolled. If a recession starts with the policy, a causal interpretation needs a way to separate their effects.

Recognize missing dynamics

Households, firms and institutions often take time to respond. If current and past prices are correlated, omitting past prices can load some delayed effects onto the current-price slope. Persistent omitted effects may also appear as serial correlation in the residuals. Adding relevant lags makes the timing explicit.

Feedback creates another problem: today's outcome can affect tomorrow's regressor. That breaks strict exogeneity even when the current regressor is unrelated to the current shock. Trending series also need attention because two unrelated upward paths can fit closely. Model interpretation therefore starts with timing, economic controls and time patterns, before the size of a reported t statistic.

Key Takeaways

  • A static coefficient describes a same-period relationship.
  • Apply the usual level, log and dummy interpretation rules with the correct units.
  • A policy dummy can absorb uncontrolled changes that occur at the same time.
  • Omitted lagged effects can contaminate the current slope and leave persistent residuals.

1.3 Measure delayed effects with finite distributed lag models

A change can reach an outcome over several periods. A finite distributed lag model, or FDL, puts those responses into separate coefficients:

yt=α0+δ0zt+δ1zt−1+⋯+δqzt−q+ut.

The order q is the last included lag. Each δj is a dynamic multiplier. Plotting the multipliers against the lag gives the lag distribution, which shows when the response is strongest.

Follow a temporary change

Consider quarterly housing starts, in thousands, and an interest rate recorded in percent:

starts^t=120−4.0rt−6.0rt−1−3.0rt−2.

Compare two otherwise identical paths where the rate differs by one percentage point in one quarter only. Starts fall by 4 thousand immediately, 6 thousand in the next quarter and 3 thousand in the following quarter. After that, the changed rate has passed beyond the model's last lag, so its effect is zero. The impact propensity is −4; the largest individual response occurs one quarter later.

Follow a permanent change

Now let the rate stay one point higher. In the first quarter only the current rate differs, giving −4 thousand. In the next quarter both the current and first-lag rates differ, giving −4−6=−10 thousand. From the third quarter onward all three rate terms differ, giving −4−6−3=−13 thousand each quarter.

Change in the rateInitial quarterNext quarterThird quarterLater quarters
One-quarter rise−4−6−30
Permanent rise−4−10−13−13

The long-run propensity is LRP=∑j=0qδj. For a permanent one-unit increase it is the eventual change in the level of the outcome. For a temporary increase, the same sum is the cumulative response across dates. A lag coefficient alone gives the response at that lag to a temporary change, not the accumulated response to a permanent one.

Estimate uncertainty for the sum

Lagged values often move together. This multicollinearity can make individual slopes imprecise even when the lags matter jointly. Test whether all included lag coefficients are zero with a joint F test. Their individual t statistics cannot be added to test the LRP; the variance of a sum also depends on covariances.

For two lags, define θ=δ0+δ1+δ2. Substitute δ0=θ−δ1−δ2 to obtain

yt=α0+θzt+δ1(zt−1−zt)+δ2(zt−2−zt)+ut.

OLS on these regressors reports the LRP and its standard error directly. An LRP of −13.0 with standard error 4.2 gives t=−13/4.2≈−3.10 against zero. Software can also test a linear combination: Stata uses lincom r + L.r + L2.r; in R or Python, form the sum and its variance from the coefficient covariance matrix.

Choose lag length using the economics and data frequency, supported by tests of final lags or information criteria. Too few lags omit responses correlated with included regressors. Too many consume observations and precision. A causal interpretation needs exogeneity; the finite-sample unbiasedness result needs strict exogeneity, including future regressors.

Key Takeaways

  • The impact propensity is the current-regressor coefficient.
  • A temporary change traces the individual lag coefficients.
  • A permanent change traces cumulative sums and eventually reaches the LRP.
  • Test lag coefficients jointly when individual estimates are imprecise.
  • Test the LRP with its covariance-based standard error or a reparameterized regression.
  • Lag length trades omitted dynamics against lost precision.
2

Judge when OLS works with time-series data

OLS uses the same calculations on time-series data as on a cross-section, but its justification changes. Observations arrive in order, and nearby values often share information. Separate the assumptions that deliver unbiased estimates in finite samples from those that deliver consistency in long samples. Stationarity, fading dependence and the timing of feedback determine whether a regression with lagged outcomes can support reliable inference.

2.1 State the finite-sample assumptions and strict exogeneity

The OLS calculation does not require independent observations. Its statistical guarantees do require assumptions about the process generating those observations. For finite-sample results, the strongest timing condition is strict exogeneity.

Separate the guarantees

TS.1 specifies a model linear in its parameters:

yt=β0+β1xt1+⋯+βkxtk+ut.

Regressors can include transformations, trends, dummies and explanatory-variable lags. TS.2 rules out perfect collinearity. For example, four quarterly dummies together with an intercept fail because the dummies add to the intercept column.

TS.3 requires E(ut∣𝐗)=0 at every date, where 𝐗 contains regressors from the whole sample. A shock must be unrelated to regressors in past, present and future periods. Under TS.1–TS.3, OLS is unbiased: across repeated realizations, its mean equals the true parameter. Serially uncorrelated errors are not needed for this result.

The remaining assumptions add stronger guarantees:

Assumptions addedMeaningResult
TS.4 and TS.5Constant conditional error variance and no conditional serial correlationOLS is BLUE; usual variance formulas apply
TS.6Normal errors, independent across time and of all regressorsExact finite-sample t and F distributions

BLUE means best linear unbiased estimator: smallest variance among linear unbiased estimators under these assumptions. It does not mean that the model has a causal interpretation without the zero-conditional-mean condition.

Why future regressors matter

Suppose a policy interest rate responds to earlier inflation. An unexpected inflation shock today can lead to a higher rate next period. That future regressor then contains information about today's error, violating strict exogeneity. The current rate may still be unrelated to today's shock; this weaker restriction is contemporaneous exogeneity.

A lagged dependent variable also breaks strict exogeneity. In yt=β0+β1yt−1+ut, next period's regressor is today's yt, which contains ut. This violates TS.3 even when the errors themselves are independent over time. Omitted variables and regressor measurement error can break exogeneity as they do in cross-sectional models.

Match inference to assumptions

TS.4 says Var(ut∣𝐗)=σ2. TS.5 says errors at distinct dates have zero conditional correlation. Together with TS.1–TS.3 they give

Var(β^j)=σ2SSTj(1−Rj2),σ^2=SSRT−k−1.

Here Rj2 comes from regressing the chosen regressor on the others; it measures how much its independent variation is reduced. Normality under TS.6 supplies exact small-sample inference, not unbiasedness itself. Economic series often violate strict exogeneity or no serial correlation, so large-sample analysis and robust inference are essential extensions.

Key Takeaways

  • TS.1–TS.3 deliver finite-sample unbiasedness.
  • Strict exogeneity restricts relationships with past, current and future regressors.
  • Feedback and lagged dependent variables violate strict exogeneity.
  • Homoskedasticity and no serial correlation support usual variances and the BLUE result.
  • Normality adds exact finite-sample t and F inference.

2.2 Recognize stationary and weakly dependent processes

A process can fluctuate while remaining statistically stable. Stationarity describes stability across dates; weak dependence describes how quickly information from distant dates fades. These properties make a long time series informative about the process behind it.

Distinguish two stability ideas

Strict stationarity means that shifting every date in any finite collection leaves its joint distribution unchanged. Covariance stationarity requires a constant mean, a finite constant variance, and covariance determined only by the gap between dates. Strict stationarity with finite variance implies covariance stationarity. A rising mean violates both forms of stationarity.

Weak dependence requires distant observations to become nearly uncorrelated quickly enough for large-sample averaging results. Stationarity alone does not guarantee that dependence fades. Under suitable weak dependence, the law of large numbers and central limit theorem replace the independent-sampling tools used for cross-sections.

Compare short-memory processes

An MA(1) process is xt=et+αet−1, where innovations are independent with mean zero and variance σe2. Neighboring values share one innovation. Values at least two dates apart share none:

Var(xt)=(1+α2)σe2,Corr(xt,xt+1)=α1+α2.

All higher autocorrelations are zero. With α=0.5, first autocorrelation is 0.5/1.25=0.4. This process is stationary and weakly dependent for every finite value of α.

An AR(1) process is yt=ρyt−1+et. With ∣ρ∣<1 it is stable and weakly dependent; starting it in its long-run distribution makes it stationary. Its variance and lag-h correlation are

Var(yt)=σe21−ρ2,Corr(yt,yt+h)=ρh.

With ρ=0.8 and innovation variance 1, the variance is about 2.78. Correlations are 0.8 at one lag, 0.64 at two, about 0.41 at four and 0.11 at ten. The shock half-life is ln⁡(0.5)/ln⁡(0.8)≈3.1 periods. A high first autocorrelation can therefore coexist with stationarity.

Adding an intercept gives yt=c+ρyt−1+et with mean c/(1−ρ). For c=2 and ρ=0.6, the mean is 5. Departures from that mean are pulled back over time.

Recognize persistence that does not fade

At ρ=1, the process becomes a random walk. Starting from zero, yt=e1+⋯+et and Var(yt)=tσe2. Each shock permanently changes the level. Its correlation at dates t and t+h is t/(t+h); for t=100 and h=10 this is about 0.95. Its growing spread and lasting shocks violate the conditions needed for ordinary stationary large-sample regression.

A trend-stationary process, yt=α0+α1t+et, has a changing mean but stationary, weakly dependent deviations. Subtracting its deterministic trend exposes those deviations. A straight line cannot remove the accumulated shocks of a random walk. These are properties of the generating process, so a short plot alone cannot settle which process produced it.

Key Takeaways

  • Stationarity concerns stability over dates; weak dependence concerns fading relationships across dates.
  • An MA(1) has no autocorrelation beyond lag one.
  • A stable AR(1) has autocorrelation that decays as powers of its coefficient.
  • A random walk accumulates shocks and has variance that grows with time.
  • A trend-stationary series becomes stationary after removing its deterministic trend.
  • A high first autocorrelation alone does not identify a random walk.

2.3 Use large-sample OLS with lagged dependent variables

Many useful time-series regressions contain past outcomes. They cannot satisfy strict exogeneity, but OLS can still approach the correct coefficients as the sample grows. The key is to distinguish consistency from finite-sample unbiasedness.

Use the large-sample assumptions

TS.1′ requires a linear model with stationary, weakly dependent observations. TS.2′ rules out perfect collinearity. TS.3′ requires contemporaneous exogeneity:

E(ut∣𝐱t)=0.

Under these assumptions, OLS is consistent. The current error must have zero conditional mean given the current regressor vector, which may itself contain lagged outcomes. The condition does not require today's shock to be unrelated to tomorrow's regressors.

Adding TS.4′, contemporaneous homoskedasticity, and TS.5′, no serial correlation in the relevant conditional error products, supports asymptotic normality and usual large-sample standard errors and tests. Errors need not be normally distributed. These are approximate long-sample results, unlike exact classical finite-sample t and F distributions.

Estimate an autoregressive model

A fitted quarterly inflation model based on 120 observations is

inf^t=0.9+0.65 inft−1.

The slope standard error is 0.08, so its t statistic against zero is 0.65/0.08≈8.1. The stable coefficient implies a mean of 0.9/(1−0.65)≈2.57 percent. If the current innovation has mean zero conditional on past inflation, the lagged inflation regressor is exogenous in the current equation. OLS can be consistent even though tomorrow's regressor contains today's shock.

Autoregressive OLS is generally biased in finite samples. In an AR(1) with an intercept, the persistence estimate tends to be too low, especially in short samples and near a coefficient of one. A long sample reduces this problem; calling the estimator consistent does not erase its small-sample bias.

Include enough history

A model is dynamically complete when further lags add no predictive information once the included regressors are known. For example,

yt=β0+β1yt−1+β2zt+β3zt−1+ut

is dynamically complete if more distant outcomes and predictors do not help explain the conditional mean. Its unpredictable errors are serially uncorrelated. Missing relevant lags can leave correlated errors, so checking residuals is part of assessing the model's dynamics.

The danger is a lagged outcome together with serially correlated errors. The regressor yt−1 contains ut−1. If that past error is correlated with ut, contemporaneous exogeneity fails and OLS is inconsistent. Changing only its standard errors cannot repair that failure.

Sequential exogeneity sits between strict and contemporaneous exogeneity: E(ut∣𝐱t,𝐱t−1,…)=0. It allows feedback into future regressors and is sufficient for consistency under the other large-sample conditions. Highly persistent levels such as random walks fail the weak-dependence framework; differences or growth rates are often needed before using these results.

Key Takeaways

  • Contemporaneous exogeneity and stable, weakly dependent data support OLS consistency.
  • Consistency allows finite-sample bias.
  • A dynamically complete model leaves no predictable pattern in its errors.
  • Lagged outcomes with serially correlated errors can make OLS inconsistent.
  • Sequential exogeneity allows feedback to future regressors.
3

Model trends and seasonality and avoid spurious regressions

A strong fit can come from a shared time pattern instead of an economic relationship. Learn how a deterministic trend and regular seasonal shifts enter a regression, and interpret slopes using movements left after those patterns are removed. Then distinguish temporary deviations around a trend from shocks that keep changing the level of a series. That distinction tells you whether a trend control or a change of variables addresses the problem.

A time trend represents slow change shared across many dates. Leaving it out can make another trending variable appear important merely because both series rise together. Adding a suitable trend lets the regression compare movements around those paths.

Choose a trend form

A linear trend is yt=α0+α1t+et. Its slope is a constant expected change per period in the units of the outcome. A linear trend in logs,

ln⁡yt=β0+β1t+et,

represents exponential growth. The approximate growth rate is 100β1 percent per period; the exact rate is 100(eβ1−1). An annual coefficient of 0.021 means about 2.1% growth, with an exact value near 2.12%. Adding t2 allows curvature but makes distant extrapolation especially sensitive to the fitted shape.

Estimate relationships beyond the trend

Suppose log housing investment per person is regressed on log house prices using 45 annual observations. Without a trend, the price slope is 0.95 with standard error 0.30, giving a t statistic near 3.2. Adding time gives a slope of 0.10 with standard error 0.45, so t≈0.22. Once the shared upward path is accounted for, the remaining movements show no clear association.

The Frisch–Waugh–Lovell interpretation explains why. Regress each variable separately on an intercept and time, then retain the residuals. These are detrended variables. Regressing detrended outcomes on detrended predictors gives the same predictor slopes as the original regression including time. Detrending only the dependent variable does not perform this comparison correctly.

A trend need not reduce a slope or its significance. It can reveal a stronger relationship between deviations that was hidden by different trend movements. Include a trend when the outcome or a predictor trends, and compare the results using the economic question and the properties of the series. The coefficient on time summarizes changing influences left unmodeled; time itself is not an intervention with a causal effect.

Judge fit around the relevant baseline

Ordinary R-squared compares residual variation with variation around a constant mean. A strong trend can explain most of that variation even when other predictors add little. To assess fit beyond the trend, use

Rdetrended2=1−SSR∑ty¨t2,

where y¨t is the residual from regressing the outcome on an intercept and the trend. The numerator comes from the full regression including that trend. A usual R-squared of 0.92 can accompany a detrended R-squared of 0.18: most of the apparent fit came from time.

A deterministic trend control addresses deterministic co-movement. A random walk with drift also has a rising expected path, but its shocks keep changing its level. Residuals from subtracting a straight line still contain that stochastic persistence. The remedy must match the kind of trend; adding time to every regression is not a general solution for persistent levels.

Key Takeaways

  • A trend in levels means a constant change; a trend in logs means constant growth.
  • Including time estimates predictor slopes from detrended movements.
  • Detrend all relevant variables when applying the residual-regression interpretation.
  • Use detrended R-squared to assess fit beyond the trend.
  • A deterministic trend does not remove random-walk persistence.

3.2 Account for seasonal patterns

Seasonality is a repeating within-year pattern. A quarterly sales index may rise in a particular quarter even without a change in its underlying trend. Patterns depend on local calendars, holidays and climate, so the data determine which seasons are high or low.

Represent seasons without forcing a shape

With an intercept, quarterly data need three seasonal dummies. Leave one quarter as the base. Monthly data need eleven. Including every seasonal dummy with an intercept creates perfect collinearity because the dummy columns sum to one.

For a quarterly retail index, consider

y^t=100+0.5t+3Q2t+8Q3t+15Q4t.

The first quarter is the base. Holding the trend fixed, the fourth quarter is 15 points above the first and 15−8=7 points above the third. At date 20, a fourth quarter, the fitted index is 100+0.5×20+15=125. The trend continues across year boundaries; it does not restart at one each January.

Coding the quarter as the single number 1, 2, 3 or 4 would impose equal increases between successive quarters. Dummies allow any set of seasonal shifts. A seasonal coefficient compares its own season with the omitted season, not with the immediately preceding quarter.

Test the seasonal pattern jointly

The null of no seasonality sets all seasonal dummy coefficients to zero. Use a joint F test. With 80 observations, one trend and three dummies, an unrestricted R-squared of 0.62 and a restricted R-squared of 0.55 give

F=(0.62−0.55)/3(1−0.62)/75≈4.61.

There are 3 numerator and 75 denominator degrees of freedom. The 5% critical value is about 2.73, so the seasonal dummies matter jointly; the p-value is about 0.005. This usual F test requires the error assumptions supporting ordinary inference. If errors are serially correlated, use an appropriate robust joint test.

Adjust the variables consistently

Statistical agencies often publish seasonally adjusted data using procedures such as X-13ARIMA-SEATS. Seasonal dummies usually add little to already adjusted series. With unadjusted variables, include seasonal dummies. Use a consistent approach across outcome and predictors; mixing an adjusted outcome with unadjusted seasonal predictors can leave their movements poorly aligned.

For the regression interpretation, deseasonalize each variable by taking residuals from its regression on an intercept and seasonal dummies. Regressing these residuals gives the same predictor slopes as a regression including the dummies. Trends and seasonal controls can be used together; a deseasonalized fit measure asks what is explained beyond the repeating pattern.

The quarterly seasonal difference yt−yt−4 removes a stable additive seasonal component and measures a year-over-year change. Monthly data use lag 12. Seasonal dependence can remain in errors even after mean seasonality is controlled: quarterly residuals might still correlate four periods apart. Check that lag when diagnosing serial correlation.

Key Takeaways

  • Omit one seasonal dummy when the regression includes an intercept.
  • Read each seasonal coefficient against the omitted season.
  • Test all seasonal dummies jointly to assess seasonality.
  • Treat outcomes and predictors consistently when adjusting seasonality.
  • Seasonal differences compare the same season in successive years.
  • Seasonal patterns in the mean and seasonal correlation in errors are separate issues.

3.3 Spot highly persistent series and spurious regressions

A highly persistent series carries shocks far into the future. Persistence matters because the standard large-sample regression results rely on distant observations becoming sufficiently weakly related. A long sample of accumulating shocks does not behave like a long sample of stable fluctuations.

Distinguish lasting shocks from slow decay

A random walk follows yt=yt−1+et. Substituting backward gives yt=y0+e1+⋯+et: every innovation remains in all later levels. Its conditional variance grows as tσe2, and without drift its best forecast at every horizon is the current value.

With drift, yt=α0+yt−1+et has expected path y0+α0t. The rising path may resemble a deterministic trend, but deviations from a straight line do not fade. A stable AR(1) with coefficient 0.95 is different: shocks decay, although their half-life is about 13.5 periods. A short plot can make these processes hard to distinguish.

A random walk has a unit root. A series with a stochastic trend in levels that becomes stationary and weakly dependent after first-differencing is I(1). A series already stationary and weakly dependent in levels is I(0). High estimated first autocorrelation is a warning sign of I(1), not a definitive classification.

Recognize spurious regression

Two independent random walks can produce an apparently significant slope. In a simulation of ten thousand pairs with independent standard normal shocks, usual 5% tests rejected a zero slope in about 66% of samples of length 50, 77% of length 100 and 83% of length 200. The rejection rate should be near 5%. More observations amplify this failure instead of repairing it. Regressions of first differences rejected in about 5% of samples.

Large t statistics, an R-squared that does not shrink as the sample grows, persistent residuals and a very low Durbin–Watson statistic are warning signs. The rule of thumb that R-squared exceeds Durbin–Watson is a signal to investigate, not a formal test.

For example, logs of a price index and an unrelated car count can give R-squared 0.95 over 40 years. With one regressor, t2=(T−2)R2/(1−R2)=722, so the slope t statistic is about 27. Their growth-rate regression can instead give R-squared 0.01 and t near 0.6. The levels fit followed their drifting paths.

Transform the source of persistence

For unrelated I(1) series, first differences or growth rates remove the accumulating level component. Adding a deterministic trend does not remove random-walk shocks. Extra outcome and predictor lags can address omitted dynamics but do not by themselves restore usual levels t and F inference for I(1) variables.

Cointegration is the exception in which I(1) series share a stochastic trend and a levels relationship can describe a genuine long-run link. A high R-squared alone cannot establish that exception.

Differencing also changes the question from levels to changes. It can discard useful level information and induce serial correlation: if et is serially uncorrelated with constant variance, Δet=et−et−1 has first autocorrelation −0.5. Transform persistent series for a reason, then check the transformed errors.

Key Takeaways

  • Random-walk shocks permanently change the level.
  • A stable but persistent AR(1) still loses the effect of a shock over time.
  • Independent I(1) levels can produce misleadingly significant regressions.
  • Differences or growth rates address stochastic trends; time controls address deterministic trends.
  • Adding lags alone does not restore ordinary inference for I(1) levels.
  • Cointegration is a genuine shared-trend exception, not something established by fit alone.
  • Differencing white noise induces negative first-order autocorrelation.
4

Detect and deal with serial correlation

Persistent errors can make a regression look much more precise than it is. Begin by separating damage to standard errors from damage to the coefficients themselves. Use residual-based tests suited to the regressors, then choose a response: improve the dynamics, transform an AR error model, or keep consistent OLS coefficients and use HAC inference. Each choice rests on a different claim about the model and the timing of the regressors.

4.1 Explain what serial correlation does to OLS

Serial correlation means errors at different dates are correlated. Persistent omitted influences, repeated measurement errors and missing dynamics can all create it. Distinguish its effect on the estimator from its effect on inference: these are different questions.

Separate coefficients from standard errors

A common error process is ut=ρut−1+et with ∣ρ∣<1 and serially uncorrelated innovations. Positive ρ makes a positive error tend to be followed by another positive error.

Under strict exogeneity and the other TS.1–TS.3 conditions, OLS remains unbiased despite serial correlation. Under the corresponding stationary, weakly dependent large-sample conditions and contemporaneous exogeneity, it remains consistent. Serial correlation alone does not introduce a relationship between regressors and the current error.

The ordinary variance formula does fail. OLS loses its BLUE guarantee, and usual t tests, F tests and confidence intervals are invalid when they ignore the cross-date error covariances. White heteroskedasticity-robust standard errors do not include those covariances. HAC standard errors address both forms of dependence in the sampling variance.

See why precision can be overstated

If both the regressor and the error have positive persistence, neighboring observations partly repeat the same information. The sample contributes less independent information than its raw number of dates suggests. Ordinary standard errors are then typically too small, making significance look too strong.

For an AR(1) regressor with coefficient ϕ and an AR(1) error with coefficient ρ, the large-sample slope variance is approximately inflated by

1+ρϕ1−ρϕ.

With ρ=0.6 and ϕ=0.8, their product is 0.48. The factor is 1.48/0.52≈2.85 for variance, so the standard error is about 2.85=1.69 times the ordinary one. A reported t statistic of 3.0 would become about 3/1.69=1.78, changing a 5% conclusion. Variance and standard error scale differently because one is the square of the other.

The direction is not universal: the relationship between regressor and error persistence matters. R-squared and adjusted R-squared still describe fit for stationary, weakly dependent data; they do not measure whether the reported standard errors are valid.

Check lagged outcomes carefully

In yt=β0+β1yt−1+ut, the lagged outcome contains ut−1. When errors are serially correlated, that past error is correlated with today's error. The regressor is then endogenous in the current equation and OLS is inconsistent. A robust standard error cannot fix the coefficient.

Residual serial correlation may therefore reveal missing lags, an omitted trend or a wrong functional form. Review those features before choosing an inference correction. In a static model with exogenous regressors, the main problem may be precision; in a dynamic model, the same residual pattern can threaten the estimated relationship itself.

Key Takeaways

  • Serial correlation alone leaves strictly exogenous OLS unbiased.
  • Ordinary and White standard errors ignore cross-date error covariances.
  • Positive error and regressor persistence typically overstates ordinary precision.
  • A variance inflation factor must be square-rooted to scale a standard error.
  • A lagged outcome with serially correlated errors can make OLS inconsistent.

4.2 Test for serial correlation

Plot OLS residuals before testing them. Runs of the same sign suggest positive persistence; repeated alternation suggests negative persistence. A formal test then asks whether the evidence is strong enough to reject no serial correlation, using a method suited to the regression's timing.

Test first-order correlation

With strictly exogenous regressors, regress u^t on u^t−1 and test the lag coefficient against zero. A coefficient of 0.42 with standard error 0.11 gives t≈3.82. Use a heteroskedasticity-robust version if the innovation variance may change. This simple residual regression relies on strict exogeneity.

The Durbin–Watson statistic compares successive residual changes with their squared levels:

DW=∑t=2T(u^t−u^t−1)2∑t=1Tu^t2≈2(1−ρ^).

Values near zero suggest positive correlation, near two little first-order correlation and near four negative correlation. For residuals 0.5, 0.8, 0.3, −0.2, −0.6, −0.4, squared changes total 0.79 and squared levels total 1.54. Thus DW≈0.51; the approximation to an estimated correlation is rough in this short series.

For the classical positive-correlation test, use lower and upper bounds. Reject below dL, do not reject above dU, and report an inconclusive result between them. At 5% with 50 observations and one regressor plus an intercept, the bounds are about 1.50 and 1.59. A DW of 1.16 rejects. The exact bounds need classical assumptions, including normal errors, an intercept and strict exogeneity. A lagged dependent variable invalidates this test and tends to pull DW toward two. DW near two also leaves higher-order or seasonal correlation unchecked.

Test several lags with Breusch–Godfrey

The Breusch–Godfrey test accommodates lagged dependent variables under the null. Estimate OLS, save residuals, then regress those residuals on all original regressors and q residual lags. Test the lagged residual coefficients jointly. The original regressors are essential; leaving them out loses the adjustment that makes the test work without strict exogeneity.

If the first q dates are dropped, use LM=(T−q)Raux2 and compare it with a chi-squared distribution with q degrees of freedom. With 100 observations, four lags and auxiliary R-squared 0.12, LM=96×0.12=11.52. This exceeds the 5% critical value 9.49, with p about 0.021. Usual LM and F versions assume homoskedasticity; use a heteroskedasticity-robust joint test when needed.

Choose lags to reflect the frequency and question: four for quarterly seasonal dependence or twelve for monthly dependence are common starting points. To test only a quarterly seasonal lag, include the original regressors and residual lag four alone.

Match software conventions

Stata uses estat bgodfrey, lags(4); R uses lmtest::bgtest(model, order = 4); Python uses acorr_breusch_godfrey(results, nlags=4). Stata and R default to zero-filling initial residual lags, keeping all dates and using TRaux2. That differs slightly from the dropped-date calculation. A large p-value means insufficient evidence to reject the tested lags, not certainty that every error correlation is zero.

Key Takeaways

  • Choose a residual test that allows the regressors in the model.
  • Durbin–Watson tests first-order correlation and has an inconclusive region.
  • Do not use classical Durbin–Watson inference with lagged outcomes.
  • Breusch–Godfrey includes original regressors and tests residual lags jointly.
  • Match the LM sample size to dropped-date or zero-filled residual conventions.
  • Use a robust joint test when heteroskedasticity threatens the usual BG test.

4.3 Correct for AR(1) errors with feasible GLS or differencing

When errors follow an AR(1) and regressors are strictly exogenous, a transformation can remove the serial correlation. Generalized least squares uses that error structure to estimate slopes more efficiently. In practice the persistence parameter must also be estimated, giving feasible GLS.

Transform the whole equation

Start from yt=β0+β1xt+ut and ut=ρut−1+et. Subtract ρ times the previous equation:

yt−ρyt−1=(1−ρ)β0+β1(xt−ρxt−1)+et.

This is quasi-differencing. The slope retains its original interpretation, while the intercept's regressor changes from one to 1−ρ. Transform every explanatory variable, not just the dependent variable.

For ρ=0.6, current and previous outcomes 10 and 8 become 10−0.6×8=5.2. Predictor values 4 and 3 become 4−0.6×3=2.2. The intercept column becomes 0.4. If an ordinary constant is used in the transformed regression instead, its coefficient represents 0.4β0, not the original intercept.

Handle the initial observation

Cochrane–Orcutt drops the first observation, which has no previous value. Prais–Winsten keeps it using the stationary AR(1) transformation: multiply its outcome, regressors and constant by 1−ρ2. With ρ=0.6, the factor is 0.8. Retaining this information can matter in a small sample.

Estimate the unknown persistence

First estimate the original model by OLS. Regress its residuals on their first lag to estimate ρ. Use that estimate to quasi-difference and refit the model. For iterated FGLS, compute fresh residuals in the original equation using the latest coefficients, reestimate persistence from those residuals and transform again. Repeating the initial OLS fit would simply restart the calculation.

FGLS is consistent under its assumptions but generally not unbiased. With strictly exogenous regressors, a correct AR error model and homoskedastic transformed innovations, its usual inference is approximately valid and its asymptotic efficiency improves on OLS. If transformed innovations are heteroskedastic, standard errors need an appropriate robust correction.

Strict exogeneity matters because the transformed error contains past errors as well as the current error. Feedback can correlate those past errors with transformed regressors even when current-regressor OLS was consistent. A lagged outcome presents the same concern. A large OLS–FGLS discrepancy is a reason to inspect exogeneity and specification, not an automatic reason to trust the more elaborate estimate.

Consider first differences

Setting the quasi-difference coefficient to one gives Δyt=β1Δxt+Δut. First-differencing can suit nearly unit-root errors or highly persistent series. It removes the levels intercept; an intercept in the differenced equation represents a linear trend in levels. If original errors were white noise, their differences become negatively correlated, so differencing still needs diagnosis.

Stata offers prais y x and prais y x, corc. R has the prais and orcutt packages. Python's GLSAR(y, X, rho=1).iterative_fit() fits an AR error model; here rho=1 requests order one, not a fixed coefficient equal to one.

Key Takeaways

  • Quasi-difference the outcome, every regressor and the intercept column.
  • Prais–Winsten retains a transformed first observation; Cochrane–Orcutt drops it.
  • FGLS estimates persistence and can update it from original-equation residuals.
  • FGLS needs strict exogeneity and a suitable error model.
  • First-differencing is the coefficient-one transformation and changes how intercepts are interpreted.
  • Differencing white-noise errors induces negative serial correlation.

4.4 Use serial-correlation-robust (HAC) standard errors

HAC means heteroskedasticity and autocorrelation consistent. HAC standard errors retain the OLS coefficients and replace their estimated sampling covariance matrix. Newey–West is a common HAC estimator. It is useful when OLS is consistent but the error correlation pattern is not known precisely.

Include cross-date covariance

A slope's variance depends on the error multiplied by the regressor variation that identifies that slope. Let r^t be the residual from regressing the chosen predictor on the other regressors, including the intercept, and let a^t=r^tu^t. Newey–West forms a variance component

v^=∑t=1Ta^t2+2∑h=1g(1−hg+1)∑t=h+1Ta^ta^t−h.

The first term captures within-date variation; the remaining terms capture relationships across dates. Bartlett weights decline with distance. With bandwidth g=4 they are 0.8, 0.6, 0.4 and 0.2. This weighting gives a nonnegative variance estimate. At g=0 there are no cross-date terms, giving the White heteroskedasticity-robust case.

Choose and report a bandwidth

The bandwidth should grow slowly with sample size. One starting rule takes the integer part of 4(T/100)2/9, giving 3 at 50 observations, 4 at 100 and 5 at 400. Frequency-based choices often use 1 or 2 annual lags, 4 or 8 quarterly lags, and 12 or 24 monthly lags. The point is to include relevant persistence without making distant covariance estimates too noisy. Report the choice and check nearby choices; selecting it to obtain significance distorts inference.

For 100 quarterly observations, a slope of 0.30 with usual standard error 0.10 has t statistic 3.0. A Newey–West standard error of 0.16 with four lags gives t=0.30/0.16≈1.88. Compared with a conventional two-sided 5% reference near 1.98 at 98 degrees of freedom, the HAC result is no longer significant. HAC inference remains a large-sample approximation, even if software reports a t reference distribution.

Match the remedy to the problem

HAC works under suitable weak dependence and contemporaneous exogeneity; strict exogeneity is unnecessary. It allows feedback into future regressors. It cannot repair omitted-variable bias, spurious levels regressions or a lagged outcome correlated with the current error. In a dynamic model, add the relevant lags and test the remaining errors before treating an inference correction as sufficient.

If strict exogeneity is credible and an AR error specification fits, FGLS can gain efficiency. OLS with HAC is less dependent on a specific error model. HAC standard errors often rise when errors and regressors both persist positively, but they can fall and can be unreliable in small samples with strong dependence.

Stata uses newey y x, lag(4) after declaring time. In R, use lmtest::coeftest(model, vcov = sandwich::NeweyWest(model, lag = 4, prewhite = FALSE)). Python statsmodels can use smf.ols('y ~ x', data=df).fit(cov_type='HAC', cov_kwds={'maxlags': 4}). R otherwise prewhitens by default. Match bandwidths, prewhitening and finite-sample corrections before comparing software results.

Key Takeaways

  • HAC changes standard errors and tests while retaining OLS coefficients.
  • Newey–West adds weighted covariance terms across dates.
  • Bandwidth zero gives heteroskedasticity-robust inference without serial-correlation terms.
  • HAC needs consistent coefficients and suitable weak dependence.
  • Report bandwidth and check sensitivity without choosing it for significance.
5

Make and judge basic forecasts

A forecast uses the information available at one date to predict what comes next. Build forecasts from lagged outcomes and other predictors, then carry the calculation forward when future outcomes are unknown. Model choice balances fit against extra parameters, while honest evaluation uses later observations withheld from estimation. Forecast uncertainty includes future shocks as well as estimation error, so a useful prediction needs an interval and a benchmark.

5.1 Forecast with autoregressive and distributed-lag models

A forecast predicts yT+h using information available at date T, the forecast origin. The number of periods ahead, h, is the horizon. Writing y^T+h∣T makes the information cutoff explicit. A predictor observed later cannot enter an honest forecast made at T.

Forecast from observed lags

An AR(p) uses the outcome's own history:

yt=β0+β1yt−1+⋯+βpyt−p+ut.

For the quarterly inflation equation inf^t=0.9+0.65inft−1 and latest inflation 3.2%, the one-step forecast is 0.9+0.65×3.2=2.98 percent. The next innovation is unpredictable, so its forecast is zero.

For two steps, the needed future outcome is unknown. Substitute the first forecast: 0.9+0.65×2.98≈2.84. The three-step forecast is about 2.74. Stable AR forecasts move toward the fitted mean, here about 2.57%. A driftless random walk instead forecasts the last observed level at every horizon.

An autoregressive distributed lag model, or ADL, adds lags of another predictor. If y^t=0.5+0.7yt−1+0.2xt−1, with yT=5.4 and xT=2.0, the next forecast is 0.5+0.7×5.4+0.2×2=4.68. Every input is observed at the origin. Further horizons may need forecasts of future predictor values.

A static equation with current xt needs xT+1 to predict next period's outcome. If that input is supplied as a scenario, the forecast is conditional on it. If it must be predicted, its uncertainty adds to the outcome forecast's uncertainty.

Choose lag length on a common sample

Additional lags reduce in-sample SSR but cost parameters and observations. For an AR(p) with an intercept, compare

BIC(p)=ln⁡(SSR(p)/T)+(p+1)ln⁡TT, AIC(p)=ln⁡(SSR(p)/T)+(p+1)2T.

Choose the smallest criterion value, using the same dates for every candidate. Otherwise a difference could reflect the observations used instead of the model. With 100 observations and SSR values 120, 110, 107 and 106.5 for lag orders one through four, BIC values are about 0.274, 0.233, 0.252 and 0.293. BIC chooses two lags. AIC values are about 0.222, 0.155, 0.148 and 0.163, choosing three. BIC penalizes each extra parameter more heavily at this sample size.

Extend known calendar patterns

A trend-seasonal model forecasts by advancing time and setting the appropriate dummies. For y^t=100+0.5t+3Q2t+8Q3t+15Q4t estimated through date 80, date 81 is a first quarter. Its forecast is 100+0.5×81=140.5.

Prediction does not require every coefficient to measure a causal effect. It does require the predictive relationship to remain useful after the origin. Changes in policy or behavior can break an old pattern. A strong in-sample fit or a causal-sounding interpretation does not establish future accuracy; later observations provide the test.

Key Takeaways

  • Use only information available at the forecast origin.
  • Iterate multi-step forecasts by replacing unknown future outcomes with forecasts.
  • Future explanatory variables may need their own forecasts or explicit scenarios.
  • Choose the minimum AIC or BIC on a common estimation sample.
  • Stable predictive patterns matter even when coefficients are not causal.

5.2 Measure forecast uncertainty and compare forecasts

A point forecast gives one predicted value. Its usefulness also depends on how far the realized value can fall from it. Define the forecast error as actual minus predicted:

eT+1=yT+1−y^T+1∣T.

A positive error means underprediction. For a correctly specified one-step model with known predictors, uncertainty comes from the future innovation and estimated coefficients. Forecasted future predictors add another source of error.

Express error in the outcome's units

The mean squared forecast error is MSFE=E(eT+12). Its square root, RMSFE, is in the same units as the outcome. For a long estimation sample, the standard error of the regression can approximate one-step RMSFE because coefficient-estimation uncertainty is relatively small. It still leaves future innovations unpredictable.

For approximately normal forecast errors, a 95% forecast interval is

y^T+1∣T±1.96 RMSFE.

With a forecast of 2.98% and RMSFE of 0.8 percentage points, the margin is 1.568 points, giving about 1.41% to 4.55%. A confidence interval for the conditional mean omits the future innovation and is narrower. Using it as an interval for the realized outcome understates uncertainty. The forecast interval relies on a stable model and an appropriate error distribution; 95% coverage is not a guarantee for one date.

Increase the horizon

Even with known AR(1) coefficients, a two-step error contains two innovations. Its variance is σu2(1+β12). At innovation standard deviation 0.8 and persistence 0.65, two-step RMSFE is 0.81.4225≈0.95. For a stable AR(1), longer-horizon uncertainty approaches the unconditional standard deviation, here 0.8/1−0.652≈1.05, ignoring estimation error. Long-horizon forecasts can approach a fixed mean while their intervals remain wide.

Evaluate forecasts on unseen dates

Hold back the final observations. Estimate each candidate using earlier data and compare forecasts over the same held-back dates. In pseudo out-of-sample evaluation, repeatedly estimate up to an origin, forecast the next date and move the origin forward. This reproduces the information cutoff a real forecaster faces.

For eight forecast errors 0.3, −0.5, 0.2, 0.6, −0.1, −0.4, 0.5 and −0.2, squared errors total 1.2. RMSE is 1.2/8≈0.39, mean absolute error is 0.35 and mean error is 0.05. A competing RMSE of 0.69 on the same dates is worse. Small mean error alone is insufficient because positive and negative misses cancel.

Compare against a no-change forecast or sample-mean benchmark. Adding regressors always improves or preserves in-sample SSR, but it can worsen held-back RMSFE through overfitting. Information criteria and out-of-sample comparison answer different parts of this problem: one penalizes model size, while the other measures actual predictive performance at later dates.

Key Takeaways

  • Forecast error is actual minus predicted; RMSFE measures its typical scale.
  • Forecast intervals include future innovations as well as estimation uncertainty.
  • AR forecast uncertainty grows with the horizon even as point forecasts approach the mean.
  • Evaluate models and benchmarks on the same held-back dates.
  • A small average error can hide large misses of opposite signs.
  • In-sample fit can improve while forecast accuracy deteriorates.

Regression with Time Series Data examples

5 Walkthroughs

1

From dated observations to delayed effects

14 steps
Build time comparisons and interpret static and finite distributed lag responses.
  1. 1
    IntroductionRead the timing before the slope

    A monthly or quarterly regression connects observations in a particular order. You will first align dates and choose a change measure, then interpret a same-period relationship and follow a response through its lags. Keep the units beside each calculation: an index-point change, a percentage change and a percentage-point change answer different questions.

  2. 2
    ExampleAlign current and earlier values

    Imagine a quarterly production index recorded for 80 consecutive dates. The first lag at date three is the value at date two; the second lag is the value at date one.

    A regression using two lags starts at date three and has 78 usable observations. A missing calendar quarter needs attention before making row-based lags: the previous row must represent the previous quarter.

  3. 3
    ExplanationChoose the change you want

    A first difference subtracts the previous value and keeps the original units. If an index moves from 500 to 506, the difference is 6 points; percentage growth is 100×6/500=1.2 percent.

    Log growth is 100ln⁡(506/500)≈1.19. It closely approximates the percentage here because the change is small. The approximation becomes less accurate for a large proportional jump.

  4. 4
    ChallengeName the unit of a rate change

    A reported rate falls from 8% to 7.2%. What is its change in percentage points, and what is its percentage change?

    ---reveal---

    The change is −0.8 percentage points. Relative to the starting rate it is 100(−0.8/8)=−10 percent. Subtracting the displayed rates gives a percentage-point change; dividing that change by the starting rate answers the percentage-change question.

  5. 5
    ConnectionLook for repeated information

    Autocorrelation asks how strongly a series is correlated with its own earlier values. A correlogram displays this relationship at several lags.

    An output level can remain close to last quarter’s level while its growth rate changes sharply. Levels and changes therefore carry different persistence patterns. This is why transforming a series can affect the assumptions behind the regression, as well as its units.

  6. 6
    ExampleRead a static equation

    Consider inf^t=5.2−0.45unemt, where both rates are recorded in percent. At unemployment of 6%, fitted inflation is 5.2−0.45×6=2.5 percent.

    The slope associates a one-percentage-point higher unemployment rate with inflation 0.45 points lower in the same year. The word “same” matters: this equation contains no separate delayed response.

  7. 7
    Key InsightSeparate the dummy from its causal story

    A post-policy dummy marks a shift between earlier and later periods, holding the included controls fixed. It also captures uncontrolled changes that start at the same time.

    If a supply improvement coincides with the policy, the dummy can reflect both. Calling its coefficient a causal policy effect requires an argument that separates those coinciding influences. A small standard error alone cannot provide that separation.

  8. 8
    ChallengeInterpret a contemporaneous elasticity

    A static log-log model estimates a price coefficient of −0.25. What approximate same-period change in demand accompanies an 8% higher price, holding other predictors fixed?

    ---reveal---

    Demand is about 2% lower because −0.25×8=−2. This is a contemporaneous elasticity. If relevant delayed responses are omitted, the static slope generally isolates neither the impact nor the long-run response.

  9. 9
    ExplanationGive each delay its own coefficient

    An FDL(2) contains current price and two price lags. Let their coefficients be 2, 5 and −1. For a temporary one-unit rise, the outcome changes by 2 immediately, 5 next period and −1 two periods later.

    After that, the changed price has moved beyond the final included lag and its effect is zero. The lag distribution shows when the response arrives; here the largest response is delayed one period.

  10. 10
    ExampleKeep the change in place

    Now keep that price one unit higher permanently. In the first period only current price differs, so the response is 2. Next period both current price and its first lag differ, giving 2+5=7.

    From the third period onward all three terms differ, giving 2+5−1=6 each period. This eventual response is the long-run propensity. It is a level difference that persists, not another increase of 6 every period.

  11. 11
    ChallengeTrack a temporary change

    Using current and lag coefficients 2, 5 and −1, price rises by 3 units for one period only. What are the responses in the next two periods after the rise?

    ---reveal---

    They are 3×5=15 and 3×(−1)=−3. Multiply the temporary change by the coefficient for each requested lag. Adding coefficients would instead describe the accumulated response while a permanent change remains in place.

  12. 12
    TipFind uncertainty for the total

    The LRP adds coefficient estimates, so its standard error must include their covariances. Adding the individual standard errors or t statistics is invalid.

    You can ask software for the linear combination, or rewrite the model so its current-predictor coefficient is the LRP. With two lags, the other regressors become zt−1−zt and zt−2−zt. This changes the parameterization, not the fitted relationship.

  13. 13
    ChallengeCombine units, timing and the total

    A quarterly FDL of an output index on an input index has coefficients 0.5, 1 and 0.25. What is the eventual response to an input index that stays 4 points higher? Would a static regression show this timing?

    ---reveal---

    The eventual response is 4(0.5+1+0.25)=7 output-index points, reached after two quarters. A static model has no separate lag terms, so it cannot display this adjustment path.

  14. 14
    RecapRead a fitted effect as a path

    For a fitted time-series effect, identify the variable’s units, the date of the change and whether the change persists. Trace individual coefficients for a temporary change and cumulative coefficients for a permanent one. Use the covariance of the estimated coefficients when testing their total. These choices determine which economic response the regression answers.

2

Decide when time-series OLS works

14 steps
Follow shocks through time and distinguish finite-sample from large-sample guarantees.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionAsk what makes OLS reliable
  2. 2
    ExplanationStart with the unbiasedness conditions
  3. 3
    ExampleFollow a shock into the future
  4. 4
    ChallengeFind the failure with a lagged outcome
  5. 5
    ConnectionAdd the inference assumptions
  6. 6
    ExplanationSeparate stability from fading memory
  7. 7
    ExampleCompare an MA and an AR
  8. 8
    ChallengeCalculate stable-process moments
  9. 9
    Key InsightSee what changes at persistence one
  10. 10
    ExplanationReplace strict with current-date exogeneity
  11. 11
    ExampleCheck what history is missing
  12. 12
    ChallengeJudge a dynamic OLS estimate
  13. 13
    ChallengeCombine the timing and process checks
  14. 14
    RecapChoose the guarantee you can defend
3

Separate economic relationships from time patterns

14 steps
Use trend and seasonal controls, then recognize when stochastic persistence needs a different response.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionRemove the right time pattern
  2. 2
    ExplanationDistinguish change from growth
  3. 3
    ExampleCompare movements around trends
  4. 4
    ChallengeJudge fit beyond time
  5. 5
    ExplanationGive seasons a base
  6. 6
    ExampleRead two seasonal comparisons
  7. 7
    ChallengeCheck the seasonal specification
  8. 8
    TipSeparate seasonal means from error dependence
  9. 9
    ExplanationWatch shocks accumulate
  10. 10
    Key InsightTreat strong significance as a warning
  11. 11
    ChallengeChoose a persistence remedy
  12. 12
    ConnectionKeep the cost of differencing visible
  13. 13
    ChallengeDistinguish two rising paths
  14. 14
    RecapMatch the adjustment to the process
4

From residual patterns to a defensible correction

19 steps
Diagnose serial correlation and choose between specification changes, FGLS and HAC inference.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLet the error pattern guide the response
  2. 2
    ExplanationProtect the right OLS claim
  3. 3
    ExampleScale variance and standard error differently
  4. 4
    ChallengeDecide whether coefficients are threatened
  5. 5
    ExplanationUse DW for its intended question
  6. 6
    ExampleBuild the BG regression
  7. 7
    ExampleCalculate a dropped-date LM statistic
  8. 8
    ChallengeChoose the test for a dynamic model
  9. 9
    ExplanationRemove a specified AR error pattern
  10. 10
    ExampleTransform one pair of observations
  11. 11
    ConnectionRecover the first observation
  12. 12
    ChallengeUpdate FGLS without restarting it
  13. 13
    TipDifference with a purpose
  14. 14
    ExplanationKeep slopes and correct their uncertainty
  15. 15
    ExampleChoose which lag covariances enter
  16. 16
    ChallengeRead a HAC significance change
  17. 17
    ConnectionCompare HAC with FGLS
  18. 18
    ChallengeChoose a complete response
  19. 19
    RecapResolve specification before precision
5

Forecast forward and test accuracy

13 steps
Iterate AR and ADL predictions, quantify uncertainty and compare honest held-back errors.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionMake a forecast that could have been made
  2. 2
    ExampleForecast one quarter ahead
  3. 3
    ExampleIterate into an unknown future
  4. 4
    ConnectionName future-predictor assumptions
  5. 5
    ChallengeUse an ADL without future leakage
  6. 6
    TipPenalize extra lags on the same dates
  7. 7
    ExplanationInclude uncertainty from future shocks
  8. 8
    ExampleBuild an interval for the realized value
  9. 9
    ChallengeTrace uncertainty across horizons
  10. 10
    ExplanationKeep later dates out of estimation
  11. 11
    ChallengeCompare error size with error direction
  12. 12
    ChallengeJudge a strong-fitting model
  13. 13
    RecapReport the forecast as a dated prediction

Regression with Time Series Data practice questions

50 Practice Questions in 5 sets

Set 1: Prepare variables and trace delayed effects10 Practice Questions

Question 1 of 10

A monthly demand index rises from 160 to 168. What is its percentage growth?
  1. 8%
  2. 5%
  3. 4.76%
  4. 0.05%
Show answerHide answer
Answer: B
The increase is 8 index points, and dividing by the starting value gives 100×8/160=5 percent. Calling the increase 8% confuses index points with percent growth. Dividing by 168 instead uses the ending value rather than the starting base.

Question 2 of 10

A data file has 96 consecutive quarterly observations, with no missing values. A regression uses the current outcome and predictor lags one through four. How many observations remain, and what is the time span of the fourth lag?
  1. 92 observations; four years earlier
  2. 91 observations; one year earlier
  3. 92 observations; one year earlier
  4. 95 observations; one quarter earlier
Show answerHide answer
Answer: C
The first usable date is date five, leaving 96−4=92 observations. Four quarterly periods span one year, so the fourth lag refers to the same quarter in the previous year. The current value does not cost an additional observation beyond the four lost to the largest lag.

Question 3 of 10

A static model gives ln⁡dt=2−0.35ln⁡pt+0.8ln⁡it. What is the approximate same-period demand response to a 2% higher price, holding income fixed?
  1. A 0.7% decrease
  2. A 0.35% decrease
  3. A 7% decrease
  4. A 1.6% increase
Show answerHide answer
Answer: A
The log-log price coefficient is the contemporaneous elasticity, so the approximate response is −0.35×2=−0.7 percent. Using −0.35% alone treats a 2% price increase as if it were 1%. The income slope contributes nothing when income is held fixed.

Question 4 of 10

A model with controls for demand and energy prices assigns an output increase to a post-policy dummy. An unmeasured supply improvement began on the same date. How should the dummy be interpreted?
  1. It isolates the policy because demand is controlled.
  2. It isolates supply because energy prices are controlled.
  3. It measures only the first post-policy observation.
  4. It can combine policy and uncontrolled supply effects.
Show answerHide answer
Answer: D
The dummy compares post-policy periods with earlier periods conditional on the included controls. The unmeasured supply improvement can enter the same coefficient because it coincides with the policy. Controlling demand does not separate a supply change that the model leaves unmeasured.

Question 5 of 10

An FDL is y^t=8+1.2zt+0.5zt−1−0.2zt−2. What is the impact propensity?
  1. 1.5
  2. 0.5
  3. −0.2
  4. 1.2
Show answerHide answer
Answer: D
The impact propensity is the coefficient on the current explanatory value, so it is 1.2. The sum 1.5 instead measures the eventual response to a permanent unit change. A lag coefficient describes a delayed response and does not replace the current coefficient.

Question 6 of 10

An FDL has current, first-lag and second-lag coefficients 3, −1 and 2. A predictor rises by 2 units permanently. What is the response one period after the rise begins?
  1. −2 units
  2. 4 units
  3. 8 units
  4. 6 units
Show answerHide answer
Answer: B
One period later, both the current and first-lag predictor values are 2 units higher, while the second lag is unchanged. The response is 2(3−1)=4 units. Using 8 units applies the full long-run sum before the second lag has changed.

Question 7 of 10

An FDL with current, first-lag and second-lag coefficients 1, 4 and −2 faces a predictor rise of 2 units at date s and 1 unit at s+1, returning to baseline afterward. What are the outcome responses at s+1 and s+2?
  1. 9 units, then 0 units
  2. 10 units, then 6 units
  3. 8 units, then −4 units
  4. 5 units, then 3 units
Show answerHide answer
Answer: A
At the first requested date, the earlier rise contributes 4×2 and the new rise contributes 1, giving 9. One date later their contributions are −2×2+4×1=0. Applying a permanent-change cumulative sum incorrectly assumes the predictor stays above baseline.

Question 8 of 10

An outcome shock today causes a predictor to rise next period. What exogeneity condition is directly threatened by that feedback?
  1. No perfect collinearity
  2. Homoskedasticity
  3. Strict exogeneity
  4. No serial correlation
Show answerHide answer
Answer: C
Strict exogeneity restricts the current error relative to future as well as current and past regressors. A shock entering next period’s predictor violates that timing restriction. Feedback alone does not establish serial correlation in the innovations; it concerns a shock’s link with a future regressor.

Question 9 of 10

A stationary AR(1) has intercept 1.2 and persistence 0.4. What is its mean, and what fraction of a shock remains two periods later?
  1. Mean 3; fraction 0.16
  2. Mean 2; fraction 0.16
  3. Mean 2; fraction 0.8
  4. Mean 0.72; fraction 0.16
Show answerHide answer
Answer: B
The mean solves μ=1.2+0.4μ, giving μ=2. The two-period shock effect is 0.42=0.16 of its initial size. Adding two persistence coefficients to get 0.8 confuses repeated multiplication through time with addition.

Question 10 of 10

A stable AR model has innovations with mean zero conditional on the full outcome history and no serial correlation. What is the appropriate large-sample assessment of OLS?
  1. It is inconsistent because the outcome is lagged.
  2. It is exactly unbiased because innovations are uncorrelated.
  3. It needs strict exogeneity to become consistent.
  4. It can be consistent despite finite-sample bias.
Show answerHide answer
Answer: D
The past outcome can be unrelated to the current innovation even though it contains earlier innovations. Stability and the stated conditional-mean restriction support consistency under the remaining regularity conditions. A lagged outcome does break strict exogeneity, but that stronger condition is unnecessary for this large-sample result.
Set 2: Check assumptions, trends and seasonal patterns10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A quarterly regression contains an intercept and a dummy for every quarter. What prevents unique coefficient estimation?
  1. The dummies correlate with the date index.
  2. The intercept is correlated with the outcome.
  3. The quarters appear in chronological order.
  4. The dummies sum to the intercept column.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An MA(1) is xt=et−0.5et−1 with independent innovations. What is its lag-two autocorrelation?
  1. 0
  2. −0.4
  3. 0.25
  4. −0.5
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A process has a constant mean and finite constant variance, but correlations between distant dates do not fade. What can be concluded from these features?
  1. Constant moments establish both stationarity and weak dependence.
  2. Persistent correlations establish a deterministic trend in the mean.
  3. Constant moments alone do not establish weak dependence.
  4. Persistent correlations require variance to increase over time.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An analyst adds a relevant second outcome lag to a stable AR regression. Residual serial correlation disappears. Why can this improve the case for OLS consistency?
  1. The extra lag restores strict exogeneity of all outcome regressors.
  2. The added history can remove correlation between included lags and the remaining error.
  3. The extra lag makes the errors exactly normal in finite samples.
  4. The larger model removes the need for stationarity and weak dependence.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An annual trend equation is ln⁡yt=1+0.03t+et. What kind of fitted growth does it represent, and what is the exact annual percent rate?
  1. Constant proportional growth; about 3.05%
  2. Constant absolute growth; about 3.05%
  3. Constant proportional growth; exactly 3%
  4. Constant absolute growth; exactly 0.03%
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A regression includes an intercept, a linear time trend and two economic predictors. An analyst wants the same economic slopes from residualized data. What must be residualized, and what should the fit denominator use to measure variation beyond the trend?
  1. Residualize only the outcome on intercept and time; use detrended outcome variation.
  2. Residualize all three variables on intercept and time; use raw outcome variation.
  3. Residualize only the predictors on intercept and time; use raw outcome variation.
  4. Residualize all three variables on intercept and time; use detrended outcome variation.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Quarter one is the base in y^t=70+0.2t+4Q2t−3Q3t+9Q4t. At a fixed trend, how much higher is quarter four than quarter three?
  1. 9 index points
  2. 6 index points
  3. 12 index points
  4. −12 index points
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Two independent series are random walks with positive drift. Their levels regression has a high R-squared and persistent residuals. Adding a linear time trend leaves residual persistence. What is the most appropriate next specification for studying short-run co-movement?
  1. Keep levels and use ordinary t tests with a longer sample.
  2. Regress their first differences and diagnose the new errors.
  3. Keep levels and interpret the time trend as removing every trend.
  4. Keep levels and use White standard errors to validate the slope.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A stable AR(1) has persistence 0.97. An analyst calls it a random walk solely because its sample first autocorrelation is high. What is the flaw?
  1. A high first autocorrelation rules out stationarity entirely.
  2. A coefficient of 0.97 means shocks disappear after one period.
  3. A stable coefficient below one still lets shocks decay.
  4. A random walk must have no first-order autocorrelation.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A stable outcome satisfies yt=0.6yt−1+ut, while ut=0.4ut−1+et and e is an innovation unrelated to the past. An analyst fits the displayed AR(1) by OLS and applies HAC errors. What remains wrong?
  1. The lagged outcome is exogenous, so HAC fully repairs inference.
  2. The errors become independent once their covariance matrix is changed.
  3. The fitted persistence becomes unbiased when enough HAC lags are used.
  4. The lagged outcome is endogenous, so HAC leaves inconsistent coefficients.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Diagnose persistence and choose residual tests10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

For AR(1) error correction, ρ=0.25, current and previous outcomes are 14 and 12, and current and previous predictors are 6 and 4. What are the quasi-differenced outcome and predictor?
  1. 2 and 2
  2. 11 and 5
  3. 10.5 and 4.5
  4. 17 and 7
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A BG auxiliary regression drops three initial dates from 63 observations and has R2=0.15. What LM statistic and reference degrees of freedom apply?
  1. LM 9.45; 3 degrees of freedom
  2. LM 9.00; 60 degrees of freedom
  3. LM 0.15; 3 degrees of freedom
  4. LM 9.00; 3 degrees of freedom
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A monthly model has an intercept and uses January as the base season. How many monthly dummy coefficients are included?
  1. 12
  2. 10
  3. 11
  4. 1
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A series is white noise with variance 9. An analyst first-differences it. What are the variance and first autocorrelation of the differenced series?
  1. Variance 9; autocorrelation 0
  2. Variance 18; autocorrelation −0.5
  3. Variance 18; autocorrelation 0.5
  4. Variance 0; autocorrelation −1
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An OLS time-series model is linear, has no perfect collinearity and has strictly exogenous regressors, but errors are serially correlated. What happens to its unbiasedness guarantee?
  1. It turns inconsistent.
  2. It needs normal errors.
  3. It needs differencing.
  4. It remains unbiased.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A regressor and error follow independent stable AR(1) processes with coefficients 0.5 and 0.4. Using their persistence, what is the approximate true-to-usual slope variance ratio?
  1. 1.5
  2. 1.2
  3. 0.67
  4. 2.25
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A classical Durbin–Watson test against positive serial correlation has lower bound 1.42 and upper bound 1.58. The statistic is 1.50. What is its decision?
  1. The test is inconclusive.
  2. The test rejects the null.
  3. The null is not rejected.
  4. Negative correlation is found.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A quarterly dynamic model includes a lagged outcome. Its DW statistic is 2.02, but a residual correlogram shows a peak at lag four. Residual variance also changes over time. What diagnostic is appropriate?
  1. A classical DW test using its positive-correlation critical bounds.
  2. A homoskedastic BG LM test omitting the original outcome lag.
  3. A heteroskedasticity-robust joint test of residual lags with original regressors.
  4. A White variance correction with no residual-lag testing.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A model has contemporaneously exogenous predictors that respond to earlier outcome shocks. Errors are stationary AR(1). An analyst switches from consistent OLS to conventional FGLS solely to improve efficiency. What issue must be resolved first?
  1. Feedback must make OLS inconsistent whenever errors are AR(1).
  2. Correct AR(1) errors guarantee FGLS consistency despite feedback.
  3. Feedback may violate strict exogeneity needed by the FGLS transformation.
  4. Homoskedastic transformed errors restore strict exogeneity by themselves.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A stable static regression has contemporaneously exogenous predictors, feedback to future predictors and serially correlated heteroskedastic errors. What estimation and inference choice fits these features?
  1. OLS with HAC inference, after checking the specification.
  2. OLS with White heteroskedasticity-robust standard errors.
  3. Conventional AR(1) FGLS to remove the serial correlation.
  4. Ordinary OLS inference under the stationarity assumption.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Correct inference and build forecasts10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

An analyst refits the same OLS equation on the same observations using Newey–West standard errors. What happens to the OLS slope estimates?
  1. They stay the same.
  2. They move toward zero.
  3. They vary by bandwidth.
  4. They become unbiased.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A Prais–Winsten transformation uses AR coefficient 0.8. What is the multiplier for the first observation, including its intercept column?
  1. 0.2
  2. 0.36
  3. 0.8
  4. 0.6
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An analyst quasi-differences with persistence 0.7, includes an ordinary intercept instead of a transformed constant column, and obtains transformed intercept 1.8. What is the implied original intercept, and how should original-equation residuals be computed?
  1. Original intercept 1.8; subtract 1.8 plus original predictor contributions from y.
  2. Original intercept 6; subtract 6 plus original predictor contributions from y.
  3. Original intercept 0.54; subtract 0.54 plus original predictor contributions from y.
  4. Original intercept 6; use only residuals from the transformed observations.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A slope estimate is 0.48 with ordinary standard error 0.16 and HAC standard error 0.27. What is the HAC t statistic against zero?
  1. About 3.00
  2. About 0.59
  3. About 1.78
  4. About 1.30
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A quarterly model is weakly dependent and has credible contemporaneous exogeneity. HAC p-values are 0.07, 0.04 and 0.09 at bandwidths four, five and six. What is a sound report?
  1. Report only five lags because it minimizes the p-value.
  2. Replace all three with White errors because their conclusions differ.
  3. Treat five lags as proving the coefficient differs from zero.
  4. Report the selected bandwidth and the sensitivity across nearby values.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A BG test of the first four residual lags gives p = 0.24 in a model meeting the test assumptions. What is the appropriate 5% conclusion?
  1. Accept that residuals are independent at every possible lag.
  2. Do not reject the joint zero-lag-coefficient null.
  3. Reject because four tested lags exceed the 5% level.
  4. Conclude that every predictor is strictly exogenous.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A fitted monthly model is y^t=1.5+0.6yt−1, and the latest value is 5. What is the iterated two-step forecast?
  1. 4.5
  2. 3.9
  3. 4.2
  4. 5.1
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A forecaster uses y^t=2+0.4yt−1+0.5xt−1. At origin T, yT=8 and xT=6; the scenario assumes xT+1=4. What is the two-step forecast, and which input makes it conditional?
  1. 7.28; the assumed next-period x value
  2. 8.20; the observed current x value
  3. 7.28; the observed current outcome value
  4. 6.80; the assumed next-period x value
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A forecast is 20 with RMSFE 1.5 units. Assuming approximately normal forecast errors, what is the approximate 95% forecast interval?
  1. 17.06 to 22.94
  2. 18.50 to 21.50
  3. 19.25 to 20.75
  4. 14.12 to 25.88
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Two models forecast the same held-back dates. Model A has errors 2 and −2; model B has errors 1 and 1. What do RMSE and mean error show?
  1. A has lower RMSE, while B has lower absolute mean error.
  2. B has lower RMSE, while A has lower absolute mean error.
  3. Both models have the same RMSE, while A has zero mean error.
  4. Both models have zero mean error, while B has lower RMSE.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Reason through complete time-series decisions10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A positive index is multiplied by 1.01 in each of four quarters. How is the exact annual proportional increase calculated?
  1. 4(0.01)
  2. 1.014−1
  3. ln⁡(1.01)
  4. 1.014
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An FDL(2) has an impact coefficient of 2. A permanent unit rise raises the fitted outcome by 5 one period later and by 4 from the next period onward. What is the response two periods after a temporary rise of 3 units?
  1. 12 units
  2. 3 units
  3. 9 units
  4. −3 units
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A regression meets linearity, no perfect collinearity and strict exogeneity. Its errors are homoskedastic and serially uncorrelated but their distribution is unknown. What is justified in finite samples?
  1. Unbiasedness and the BLUE result, without guaranteed exact t inference.
  2. Unbiasedness and exact t inference, without a BLUE guarantee.
  3. Consistency only, with neither unbiasedness nor a BLUE guarantee.
  4. Exact t inference and the BLUE result, without unbiasedness.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A stationary AR(1) has persistence 0.6 and innovation variance 4. What are its unconditional variance and lag-two autocorrelation?
  1. 4 and 0.36
  2. 6.25 and 0.6
  3. 6.25 and 0.36
  4. 2.5 and 0.36
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A quarterly model estimated through t = 40 is y^t=50+0.4t+2Q2t+5Q3t−1Q4t. Date 40 is quarter four. What is the change in the fitted value from date 40 to date 41, and why?
  1. A rise of 0.4 points because a new year leaves the seasonal effect unchanged.
  2. A fall of 0.6 points because the quarter-four effect repeats next quarter.
  3. A rise of 1.4 points from trend growth and leaving the quarter-four effect.
  4. A rise of 2.4 points because date 41 enters the quarter-two category.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Two independent I(1) indexes produce a significant levels slope. Their first-difference regression has weak evidence of association. An analyst claims that Newey–West errors on the levels equation would establish a long-run link. How should the claim be assessed?
  1. HAC establishes a shared stochastic trend by correcting the slope covariance.
  2. HAC alone cannot establish a shared stochastic trend or validate the levels inference.
  3. Weak changes association proves that the levels slope has a causal interpretation.
  4. A significant levels slope establishes cointegration once enough observations are added.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An auxiliary regression tests four residual lags. Software keeps all 120 dates by filling initial residual lags with zeros and reports LM = 10.8. An analyst recomputes 10.44 from the same auxiliary fit. What caused the discrepancy?
  1. The analyst multiplied auxiliary fit by 116 instead of the retained 120.
  2. The analyst multiplied auxiliary fit by 120 instead of dropping four dates.
  3. The analyst multiplied auxiliary fit by 119 instead of the retained 120.
  4. The analyst multiplied auxiliary fit by 124 instead of the retained 120.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

At Newey–West bandwidth three, what Bartlett weight applies to lag two?
  1. 1/3
  2. 2/3
  3. 1/4
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Two AR candidates use the same 100 dates. AR(1) has SSR 100; AR(2) has SSR 97. An analyst wants the smaller BIC. Which order is chosen, and why?
  1. AR(2); adding the lag lowers BIC by about 0.0105.
  2. AR(1); adding the lag raises BIC by about 0.0156.
  3. AR(2); adding the lag lowers BIC by about 0.0305.
  4. AR(1); adding the lag raises BIC by about 0.0765.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A stable AR(1) has persistence 0.5 and innovation standard deviation 2. Ignoring coefficient uncertainty, a forecaster uses 2 as the two-step RMSFE. What should replace it, and what did the original calculation omit?
  1. 8; the same full-size innovation at both dates
  2. 2; the reduction from averaging the two dates
  3. 5; the propagated next-period innovation
  4. 5; the variance already expressed in outcome units
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

79 Key Terms, each with its definition

A

ADL model
An ADL model predicts an outcome using its own lags and lagged values of other variables, allowing several sources of predictive history.
Adding lagged demand to past output may improve an output forecast if that information remains useful.
AR(1) errors
AR(1) errors follow an equation in which the current regression error equals a multiple of its first lag plus a serially uncorrelated innovation.
With positive error persistence, a positive error makes another positive error more likely next period.
Asymptotic normality
Asymptotic normality means a suitably scaled estimator’s sampling distribution approaches a normal distribution as sample size grows.
Large-sample regression tests can use normal approximations without assuming normally distributed innovations.
Autocorrelation
An autocorrelation measures the correlation between values of the same series separated by a specified number of time periods.
A correlogram of monthly prices shows whether persistence remains strong at lags one through twelve.
Auxiliary regression
An auxiliary regression is an extra regression used to construct a diagnostic or estimator component beyond the main outcome equation.
The BG auxiliary regression explains residuals using original regressors together with lagged residuals.

B

Bandwidth
A HAC bandwidth sets the largest included covariance lag, balancing omitted temporal dependence against noisy distant covariance estimates.
Report a quarterly bandwidth of four and examine nearby choices before judging a borderline result.
Bartlett weights
Bartlett weights decline linearly with the covariance lag in Newey–West estimation, helping keep the resulting variance estimate nonnegative.
At bandwidth four, the lag weights are 0.8, 0.6, 0.4 and 0.2 in increasing lag order.
Base season
The base season is the omitted season against which included seasonal dummy coefficients are interpreted in a regression with an intercept.
If quarter one is omitted, the quarter-four coefficient compares quarter four with quarter one at a fixed trend.
Benchmark forecast
A benchmark forecast is a simple prediction rule used as a comparison for judging whether a more elaborate model improves accuracy.
A no-change forecast is a useful reference when evaluating the held-back errors of an AR model.
Breusch–Godfrey test
The Breusch–Godfrey test checks selected serial-correlation lags through a residual regression retaining all original regressors.
A model containing a lagged outcome can use a BG test under the null instead of classical DW inference.

C

Cochrane–Orcutt method
The Cochrane–Orcutt method fits an AR(1) error transformation that drops the first observation and estimates the unknown persistence parameter.
Dropping the initial date costs relatively more information when the available time series is short.
Cointegration
Cointegration is a relationship between I(1) series in which a suitable linear combination removes their shared stochastic trend.
A genuine shared trend is an exception to treating every strong regression of I(1) levels as spurious.
Conditional forecast
A conditional forecast predicts an outcome for a specified path of explanatory values, which may be assumptions instead of known future observations.
A demand forecast at a proposed future price answers what demand would be predicted under that price scenario.
Consistency
Consistency means an estimator approaches the true parameter as the number of observations increases under the relevant assumptions.
An AR coefficient estimate can be biased in a short sample while remaining consistent as the sample grows.
Contemporaneous effect
A contemporaneous effect is the response in the same period as an explanatory-variable change, holding other modeled influences fixed.
A current-price coefficient links this month’s price change with this month’s modeled energy use.
Contemporaneous exogeneity
Contemporaneous exogeneity requires the current error to have conditional mean zero given the current regressor vector, including any lags.
Past outcomes can be valid current regressors when they are unrelated to the current innovation.
Covariance stationarity
Covariance stationarity requires a constant mean, finite constant variance and covariances that depend only on the gap between dates.
An upward-trending mean violates covariance stationarity even if the spread around the trend is stable.

D

Detrended R-squared
Detrended R-squared measures the full regression’s explained share of outcome variation around its fitted trend instead of around a constant mean.
A high ordinary fit can fall sharply when its baseline becomes variation left after removing the trend.
Detrending
Detrending removes a fitted deterministic time path from a variable, leaving deviations used to study relationships beyond that path.
Removing linear trends from both output and investment lets their remaining fluctuations be compared.
Drift
A drift is the constant expected change per period in a random walk, adding a deterministic mean path to its accumulated random shocks.
Positive drift raises the expected level over time without making deviations from that path temporary.
Durbin–Watson bounds
Durbin–Watson bounds are lower and upper critical values that separate rejection, nonrejection and an inconclusive region in the classical test.
A statistic between the two positive-correlation bounds leaves the test inconclusive at the chosen level.
Durbin–Watson statistic
The Durbin–Watson statistic divides squared successive residual changes by squared residual levels to assess first-order serial correlation.
A value near two can coexist with dependence at lag four because the statistic targets first-order behavior.
Dynamic completeness
Dynamic completeness means additional outcome or predictor lags add no predictive information after conditioning on the included regressors.
Residual persistence can suggest that an included lag structure has left part of the conditional mean unexplained.
Dynamic multiplier
A dynamic multiplier gives the response at a particular lag to a temporary one-unit change in an explanatory variable.
A lag-two multiplier of 0.6 means a temporary unit increase affects the outcome by 0.6 two periods later.

E

Efficiency
Efficiency compares estimators’ sampling variances within a specified class under specified assumptions, such as the linear unbiased class.
Serial correlation can preserve OLS unbiasedness while allowing another linear unbiased estimator to be more precise.
Elasticity
An elasticity is the percentage response of an outcome to a 1% change in a predictor, holding other modeled influences fixed.
A static log-log price slope of −0.4 associates 1% higher price with about 0.4% lower demand.
Endogeneity
Endogeneity means a regressor is related to the regression error in a way that violates the exogeneity condition needed for the estimator.
A lagged outcome containing an error correlated with today’s error can make dynamic OLS inconsistent.
Event dummy
An event dummy is a zero-one regressor marking an event period or regime, whose coefficient captures a conditional shift in the outcome.
A strike dummy can equal one for the affected month and zero for every other observation.
Exponential trend
An exponential trend changes a positive variable by a constant proportion per period and appears as a linear trend in its logarithm.
A straight line fitted to log output represents steady proportional growth rather than steady index-point gains.

F

Feasible GLS
Feasible GLS estimates the error covariance structure from data, then applies a GLS transformation using those estimated quantities.
An AR error correction begins with OLS residuals to estimate the persistence used in quasi-differencing.
Feedback
Feedback occurs when an outcome or its shock influences future explanatory values, linking current errors with later regressors.
A firm raising next month’s staffing after unexpectedly high sales creates feedback into a future regressor.
Finite distributed lag model
A finite distributed lag model includes the current value and a finite number of past values of an explanatory variable as regressors.
A quarterly model with price and two price lags lets adjustment continue for two quarters after a change.
First difference
A first difference subtracts the previous period’s value from the current value and expresses the change in the variable’s original units.
A production index moving from 140 to 143 has a first difference of 3 index points.
Forecast error
A forecast error is the realized outcome minus its prediction, so a positive value records underprediction and a negative value overprediction.
If an index is forecast at 105 and realized at 103, its forecast error is −2 index points.
Forecast horizon
The forecast horizon is the number of time periods between the origin and the future observation being predicted.
Predicting next June from the end of March has a three-month horizon in a monthly series.
Forecast interval
A forecast interval gives a range for a future realized outcome, accounting for future innovations as well as estimation uncertainty.
A 95% interval around next quarter’s inflation forecast is wider than an interval for its conditional mean.
Forecast origin
The forecast origin is the date at which a prediction is made and the cutoff determining which observed information can enter it.
A forecast made after quarter three cannot use quarter four’s realized output as an observed input.

H

HAC standard errors
HAC standard errors estimate OLS sampling uncertainty consistently under suitable heteroskedasticity and temporal dependence in large samples.
HAC can alter a significance conclusion while leaving every fitted value and coefficient unchanged.
Half-life
A shock’s half-life is the time required for its effect to fall to half its initial size in a stable process with positive persistence.
An AR coefficient closer to one gives a longer half-life, so the series returns toward its mean more slowly.
Homoskedasticity
Homoskedasticity means the conditional variance of the regression error is constant across observations under the relevant conditioning set.
A constant innovation variance supports ordinary inference only when the other required assumptions also hold.

I

I(1) series
An I(1) series has stochastic-trend persistence in levels but becomes stationary and weakly dependent after taking its first difference.
An accumulated-innovation series can be I(1), while its period-to-period changes are I(0).
Impact propensity
The impact propensity is the coefficient on the current explanatory value in an FDL model, measuring the immediate response.
An impact propensity of 1.5 raises the fitted outcome by 1.5 units in the period of a unit increase.
Information criterion
An information criterion combines regression fit with a penalty for estimated parameters, helping choose among lag orders on a common sample.
AIC may prefer an extra lag whose modest fit gain is too small to offset BIC’s stronger penalty.
Innovation
An innovation is the unpredictable new shock entering a time-series process, relative to the information used to form its conditional mean.
An AR forecast sets future innovations to their expected value of zero because they are not yet observed.
Iterated FGLS
Iterated FGLS repeatedly updates error persistence from original-equation residuals and refits the transformed model until estimates settle.
After each transformed fit, use its latest slopes to recompute residuals in the original levels equation.

L

Lag
A lag is a variable’s value at an earlier date, with the lag number counting how many time periods separate it from the current date.
The second lag in monthly data refers to the observation two months before the current month.
Lag distribution
A lag distribution is the sequence of dynamic multipliers across included lags, showing the timing and strength of a response.
A response that peaks one quarter after a change has its largest multiplier at lag one.
Linear trend
A linear trend is a deterministic path that changes by a constant amount per period in the units of the variable being modeled.
A trend coefficient of 0.8 in an output index adds 0.8 index points to its expected level each period.
Log difference
A log difference is the change in a variable’s natural logarithm; multiplying it by 100 approximates small percentage changes.
For an output index rising from 200 to 202, log growth is close to the 1% ordinary growth rate.
Long-run propensity
The long-run propensity is the sum of the current and lag coefficients in an FDL model, giving the eventual response to a permanent unit rise.
Coefficients 1, 2 and −0.5 imply a long-run propensity of 2.5, even though the immediate effect is 1.

M

MA(1) process
An MA(1) process adds a current innovation to a fixed multiple of the previous innovation, creating dependence only one period apart.
An MA(1) can have substantial lag-one autocorrelation while having zero autocorrelation at lag two.

N

Newey–West estimator
The Newey–West estimator forms a HAC covariance estimate by adding declining-weight estimates of cross-date covariance to within-date variation.
A four-lag correction includes covariance terms at lags one through four as well as the zero-lag term.

O

Overfitting
Overfitting occurs when a model adapts to sample-specific noise, improving estimation-sample fit while harming predictions on later observations.
Extra lags can lower the in-sample SSR yet raise RMSE on the held-back end of the series.

P

Perfect collinearity
Perfect collinearity occurs when a regressor is an exact linear combination of other regressors, preventing unique slope estimation.
An intercept and a dummy for every quarter duplicate information because the quarterly dummies sum to one.
Prais–Winsten method
The Prais–Winsten method retains the initial observation by scaling its equation using the stationary AR(1) variance correction.
For an AR coefficient of 0.6, the first observation and its regressors are multiplied by 0.8.
Prewhitening
Prewhitening filters estimated dependence before a HAC calculation and adjusts afterward, making software defaults relevant to comparisons.
R’s NeweyWest function prewhitens by default, so matching bandwidths alone may not match another program.
Pseudo out-of-sample evaluation
Pseudo out-of-sample evaluation recreates earlier forecast origins and assesses predictions using only data available at each origin.
Estimate through one date, predict the next period, advance the origin and repeat without using future values.

Q

Quasi-differencing
Quasi-differencing transforms a variable by subtracting an AR coefficient times its previous value, removing correctly specified AR(1) error persistence.
Transform both the outcome and every predictor using the same estimated persistence parameter.

R

Random walk
A random walk equals its previous value plus a new innovation, so past shocks accumulate and permanently affect later levels.
A driftless random walk forecasts the latest level at every horizon because future innovations have mean zero.
Real value
A real value adjusts a nominal value for price changes by dividing by a price index and scaling to its base-period convention.
An earnings index divided by a price index and multiplied by 100 tracks purchasing power over time.
Reparameterization
A reparameterization rewrites the same regression using different coefficient definitions, allowing a desired combination to be estimated directly.
Writing one coefficient as the sum of the FDL slopes gives a direct standard error for the long-run propensity.
Residual correlogram
A residual correlogram plots sample autocorrelations of fitted regression residuals at several lags to reveal remaining temporal patterns.
A peak at lag four in quarterly residuals suggests checking for seasonal error dependence.
RMSFE
The RMSFE is the square root of expected squared forecast error, describing predictive uncertainty in the outcome’s original units.
Forecast errors measured in percentage points give an RMSFE measured in percentage points as well.

S

Seasonal adjustment
Seasonal adjustment removes estimated recurring within-year movements so changes can be studied with less influence from the calendar pattern.
Use consistently adjusted variables when comparing demand and income without an explicit seasonal component.
Seasonal difference
A seasonal difference subtracts the value one full seasonal cycle earlier, removing a stable additive pattern and measuring year-over-year change.
For monthly data, subtracting the value twelve periods earlier compares the same month in successive years.
Seasonal dummy
A seasonal dummy is a zero-one regressor for a recurring season, measuring its shift relative to an omitted base season when an intercept is used.
A third-quarter dummy equals one in every third quarter, not only in the third observation of the data.
Seasonality
Seasonality is a regular within-year pattern associated with calendars, weather or recurring activities, whose shape depends on the setting.
Repeated fourth-quarter sales peaks can require seasonal controls even when the annual trend is smooth.
Sequential exogeneity
Sequential exogeneity requires a zero conditional mean error given current and past regressors, while allowing links with future regressors.
Today’s shock may affect tomorrow’s predictor without violating a restriction on current and past predictors.
Serial correlation
Serial correlation occurs when regression errors at different dates are correlated, often because omitted shocks or influences persist.
Several consecutive positive residuals can suggest a common influence lasting across multiple periods.
Spurious regression
A spurious regression gives a misleading apparent relationship driven by unrelated time trends or persistent paths instead of a genuine link.
Independent drifting indexes can produce large slope t statistics when their levels are regressed on each other.
Stable AR(1) process
A stable AR(1) process relates a value to its first lag with a coefficient whose absolute value is below one, so shock effects decay.
With persistence 0.7, a shock’s remaining effect is multiplied by 0.7 again in each successive period.
Static model
A static model relates an outcome to explanatory variables from the same period and includes no separate lagged explanatory effects.
An annual electricity regression using only current price and income represents same-year associations.
Stochastic process
A stochastic process is a collection of random variables indexed by time; one observed time series is a realization of that process.
Two simulated series can follow the same process but show different paths because their shocks differ.
Strict exogeneity
Strict exogeneity requires the current error to have conditional mean zero given regressors from all past, present and future sample dates.
A shock that changes next period’s policy setting violates strict exogeneity even with no same-date response.
Strict stationarity
Strict stationarity means every finite joint distribution of a process is unchanged when all its dates are shifted by the same amount.
A stationary process has the same distributional pattern in any equally spaced block of observation dates.

T

Time series
A time series is a sequence of observations on a variable recorded in date order, such as a monthly production index.
A monthly energy-use series keeps its date order when you create changes and lagged values.
Trend-stationary process
A trend-stationary process has a deterministic trend plus stationary, weakly dependent deviations, so detrending reveals stable fluctuations.
A temporary production shock fades around the rising trend instead of permanently shifting the entire path.

U

Unbiasedness
Unbiasedness means the average coefficient estimate across repeated samples or process realizations equals the true coefficient.
Strictly exogenous time-series OLS can be unbiased even when residual errors are correlated across dates.

W

Weak dependence
Weak dependence means relationships between sufficiently distant observations fade quickly enough to support large-sample averaging results.
A stable AR(1) loses the influence of old shocks, allowing distant observations to add new information.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started