1Cross-sectional data
Data on multiple entities at one point in time; example: income of 100 households in 2026.
2Time-series data
Data on one entity across multiple time periods; example: monthly U.S. unemployment.
3Panel data (longitudinal data)
Data tracking multiple entities across multiple time periods; example: annual sales for 30 firms over 8 years.
4Random variable
A numerical summary of a random outcome, such as earnings of recent college graduates.
5Population mean
The average of a variable across the entire population.
6Sample mean
The average of observations in a sample; used to estimate the population mean.
7Standard error
A measure of the sampling uncertainty or precision of an estimate; a smaller standard error generally means greater precision.
8Null hypothesis (H0)
The baseline claim being tested, often that a coefficient or autocorrelation equals zero.
9Alternative hypothesis (H1 or Ha)
The competing claim against the null hypothesis.
10P-value
Assuming the null hypothesis is true, the probability of observing a result at least as extreme as the sample result.
115% hypothesis-testing rule
If p-value < 0.05, reject H0 at the 5% significance level. If p-value >= 0.05, fail to reject H0.
12Fail to reject H0
There is insufficient evidence to reject the null hypothesis; this does not prove the null hypothesis is true.
13T-statistic
An estimate measured in standard-error units; for testing whether a coefficient is zero, t = estimated coefficient / standard error.
14Confidence interval
A range of plausible values for a population parameter at a specified confidence level.
15Correlation
Measures the strength and direction of the linear relationship between two variables.
16Positive correlation
Correlation coefficient r > 0; variables tend to move in the same direction.
17Negative correlation
Correlation coefficient r < 0; variables tend to move in opposite directions.
18Strong linear correlation
A correlation close to +1 or -1 indicates a strong linear relationship; a correlation near 0 indicates a weak linear relationship.
19Correlation does not imply causation
Two variables may move together without one causing the other.
20Simple linear regression
A model with one dependent variable and one explanatory variable.
21Dependent variable
The outcome being explained or forecast; in the R formula y ~ x, y is the dependent variable.
22Explanatory variable
A variable used to explain variation in the dependent variable; in y ~ x, x is the explanatory variable.
23Intercept
The predicted value of y when x = 0 in a linear regression.
24Slope coefficient
The estimated change in predicted y associated with a one-unit increase in x in simple linear regression.
25Ordinary Least Squares (OLS)
Estimates regression coefficients by minimizing the sum of squared residuals.
26Residual
Actual value minus fitted value: e = y - y_hat.
27R-squared (R²)
Measures how well the regression line fits the data; in standard OLS regression with an intercept, it ranges from 0 to 1.
28Multiple regression
Regression that uses more than one explanatory variable to explain a dependent variable.
29What does read.table() do in R?
Imports a dataset into a data frame.
30What does sapply() do in R?
Applies a function, such as mean or standard deviation, across multiple elements or columns.
31What does summary(data) do in R?
Provides descriptive summaries, including minimum, quartiles, median, mean, and maximum for numeric data.
32What does plot() do in R?
Creates a plot, such as a scatterplot or time-series plot, depending on the inputs.
33What does title() do in R?
Adds a title to the current plot.
34What does cor(x, y) do in R?
Calculates the sample correlation between x and y.
35What does lm(y ~ x) do in R?
Fits an OLS linear regression with y as the dependent variable and x as the explanatory variable.
36What does summary(model) do after lm() in R?
Displays regression output such as estimated coefficients, standard errors, t-statistics, p-values, and R-squared.
37What does abline(model) do in R?
Adds a fitted regression line from a model to the current plot.
38What is a trend in a time series?
A long-term systematic change or directional movement that does not appear to be periodic.
39What is seasonal variation?
A repeating pattern linked to a fixed natural period, such as months, quarters, or days of the week.
40What is cyclical variation?
Repeating fluctuations that do not correspond to a fixed calendar period, such as economic business cycles.
41What is the random or error component?
The irregular, unsystematic remainder after trend and seasonality are removed.
42Deterministic trend
A trend that follows a predictable path over time.
43Stochastic or random trend
A trend whose trajectory changes unpredictably over time.
44How do you distinguish seasonal from cyclical variation?
Seasonality repeats at a fixed period on the calendar; cycles recur without a fixed calendar period.
45Additive decomposition model
x_t = m_t + s_t + z_t. Observed series = trend + seasonal component + random component.
46When should you use additive decomposition?
When the magnitude of seasonal variation does not depend on the trend level and stays roughly constant.
47Multiplicative decomposition model
x_t = m_t * s_t * z_t. Observed series = trend * seasonal component * random component.
48When should you use multiplicative decomposition?
When seasonal variation grows or shrinks proportionally with the trend level.
49Additive vs. multiplicative decomposition
Additive combines components by addition; multiplicative combines them by multiplication. Constant seasonal size suggests additive; proportional seasonal size suggests multiplicative.
50Additive seasonal adjustment
Subtract the estimated seasonal component: adjusted value = observed value - estimated seasonal component.
51Multiplicative seasonal adjustment
Divide by the estimated seasonal factor: adjusted value = observed value / estimated seasonal factor.
52Additive seasonal adjustment example
Observed value = 150 and seasonal component = 20. Adjusted value = 150 - 20 = 130.
53Multiplicative seasonal adjustment example
Observed value = 150 and seasonal factor = 1.20. Adjusted value = 150 / 1.20 = 125.
54What is a moving average used for in time series?
Smoothing short-term fluctuations to estimate the underlying trend.
55Why is a centered moving average used?
To align a moving-average trend estimate with the appropriate time period, especially when the moving-average window has an even number of observations.
56Monthly centered moving average formula
m_hat_t = [0.5*x_(t-6) + x_(t-5) + ... + x_t + ... + x_(t+5) + 0.5*x_(t+6)] / 12.
57Weights in a monthly centered moving average
The two endpoint observations each receive weight 1/24; each interior observation receives weight 1/12. The weights sum to 1.
58Why center a 12-month moving average?
A 12-month average falls halfway between months; averaging two overlapping 12-month averages aligns the estimate with an integer month.
59What does ts() do in R?
Creates a time-series object.
60How do you set monthly frequency in R?
Use frequency = 12 when creating a monthly ts object.
61How do you set quarterly frequency in R?
Use frequency = 4 when creating a quarterly ts object.
62What do class(x), start(x), end(x), and frequency(x) do?
Inspect the object type, start period, end period, and observations per cycle of a time series.
63What does aggregate() do in R for time series?
Aggregates data to a coarser frequency, such as converting monthly data to annual data.
64What does boxplot(x ~ cycle(x)) do in R?
Compares the distribution of observations across seasonal positions, such as months, to help identify seasonal peaks and troughs.
65What does decompose(x, type = 'additive') do?
Performs additive time-series decomposition into trend, seasonal, and random components.
66What does decompose(x, type = 'mult') do?
Performs multiplicative time-series decomposition into trend, seasonal, and random components.
67What does ts.intersect() do?
Combines time series while keeping only dates for which all series have observations.
68What does ts.union() do?
Combines time series while keeping all dates and filling unavailable observations with NA.
69Forecast horizon
The number of time periods ahead being forecast.
70How does forecast accuracy usually change with forecast horizon?
Short-term forecasts are generally more accurate than long-term forecasts.
71What conditions tend to help forecasting?
Understanding the causes of the variable, having substantial relevant data, and forecasting a variable that is not strongly affected by the forecast itself.
72What is a leading variable?
A related variable whose changes reliably precede changes in the target by one or more time periods.
73What makes a leading variable useful?
A long lead time and a close relationship with the target series.
74What is an associated variable?
A related variable that moves contemporaneously with the target but is easier or faster to forecast.
75Stationary in the mean
The mean of the time series remains constant over time.
76Stationary in the variance
The variance of the time series remains constant over time.
77Stationarity in mean vs. variance
Mean stationarity means the average does not change over time; variance stationarity means the variability does not change over time.
78Autocorrelation (serial correlation)
The correlation of a variable with itself at different points in time, separated by a lag.
79Lag
The number of time steps separating two observations.
80Autocorrelation function (ACF)
Measures autocorrelation at different lags of a time series.
81Correlogram
A plot of sample autocorrelation against lag; the x-axis is lag and the y-axis is autocorrelation.
82What do the dotted lines on an ACF plot represent?
Approximate 95% confidence bounds for autocorrelation under the null of no autocorrelation at that lag.
83How do you interpret an ACF spike outside the 95% bounds?
Reject H0: rho_k = 0 at the 5% significance level for that lag.
84How does trend often appear in an ACF?
Large positive autocorrelations at early lags that decay slowly toward zero. This does not reveal whether the underlying trend is upward or downward.
85How does seasonality appear in an ACF?
Prominent spikes at multiples of the seasonal frequency; monthly annual seasonality can produce spikes at lags 12, 24, and 36.
86What is discrete white noise in an ACF?
A series whose autocorrelation spikes at nonzero lags stay within the 95% confidence bounds, indicating no detected serial dependence.
87How does the study guide assess overall autocorrelation using an ACF?
Reject the null of no autocorrelation across the series if more than 5% of the spikes fall outside the confidence interval.
88What does acf(x) do in R?
Plots or computes the sample autocorrelation function for a time series.
89What does acf(x, na.action = na.pass) do?
Computes the ACF while allowing missing values to pass through, such as in some decomposition residual series.
90What does ccf(x, y) do in R?
Plots the cross-correlation function between two series across positive and negative lags.
91What does ts.plot() do in R?
Plots multiple time series on the same axes.
92What is cross-correlation used for?
Examining relationships between two time series at different relative lags, including whether one series may lead the other.
93Why can autocorrelation be a problem for OLS residuals?
OLS commonly assumes residuals are uncorrelated; remaining serial correlation can violate this assumption and make prediction intervals larger.
94Does removing trend and seasonality guarantee uncorrelated residuals?
No. Residuals may still have autocorrelation after detrending and seasonal adjustment.
95What is an exponentially weighted moving average (EWMA)?
A smoothing method that assigns greater weight to recent observations and exponentially decreasing weights to older observations.
96Simple exponential smoothing formula
a_t = alpha*x_t + (1 - alpha)*a_(t-1).
97What is alpha in simple exponential smoothing?
The smoothing parameter, where 0 < alpha < 1, that controls the weight placed on the latest observation.
98What happens when alpha is close to 1?
The newest observation receives most of the weight; smoothing is low and the estimate responds quickly.
99What happens when alpha is close to 0?
The previous smoothed level receives most of the weight; smoothing is high and the estimate responds slowly.
100How do older observations receive weight in EWMA?
Their weights decrease exponentially as their lag increases.
101EWMA back-substitution formula
a_t = alpha*x_t + alpha*(1-alpha)*x_(t-1) + alpha*(1-alpha)^2*x_(t-2) + ...
102Simple exponential smoothing forecast formula
x_hat_(n+k|n) = a_n for every horizon k >= 1; the forecast is flat at the latest smoothed level.
103How is alpha selected in the study guide?
Choose alpha to minimize the sum of squared one-step prediction errors (SS1PE).
104SS1PE formula
SS1PE = sum of (x_t - a_(t-1))^2 over the observations used for one-step predictions.
105EWMA calculation example
alpha = 0.30, x_t = 120, and a_(t-1) = 100. Then a_t = 0.30*120 + 0.70*100 = 36 + 70 = 106.
106If the latest EWMA level is 106, what is the 4-step forecast under simple exponential smoothing?
106, because simple exponential smoothing produces a flat forecast for every future horizon.
107What is the Holt-Winters method?
An extension of exponential smoothing that models level, trend, and seasonality, allowing these components to change over time.
108What does the level a_t represent in Holt-Winters?
The estimated underlying level of the series; in the additive formulation, it is seasonally adjusted.
109What does the trend b_t represent in Holt-Winters?
The estimated slope, or change in the underlying level from one period to the next.
110What does the seasonal factor s_t represent in Holt-Winters?
The estimated seasonal effect for a particular seasonal position.
111What does alpha control in Holt-Winters?
Smoothing of the level.
112What does beta control in Holt-Winters?
Smoothing of the trend or slope.
113What does gamma control in Holt-Winters?
Smoothing of the seasonal component.
114Additive Holt-Winters level equation
a_t = alpha*(x_t - s_(t-p)) + (1-alpha)*(a_(t-1) + b_(t-1)).
115Additive Holt-Winters trend equation
b_t = beta*(a_t - a_(t-1)) + (1-beta)*b_(t-1).
116Additive Holt-Winters seasonal equation
s_t = gamma*(x_t - a_t) + (1-gamma)*s_(t-p).
117Additive Holt-Winters forecast equation
x_hat_(n+k|n) = a_n + k*b_n + s_(n+k-p).
118When should additive Holt-Winters be used?
When the seasonal effect is approximately constant in size as the series level changes.
119Multiplicative Holt-Winters level equation
a_t = alpha*(x_t / s_(t-p)) + (1-alpha)*(a_(t-1) + b_(t-1)).
120Multiplicative Holt-Winters trend equation
b_t = beta*(a_t - a_(t-1)) + (1-beta)*b_(t-1).
121Multiplicative Holt-Winters seasonal equation
s_t = gamma*(x_t / a_t) + (1-gamma)*s_(t-p).
122Multiplicative Holt-Winters forecast equation
x_hat_(n+k|n) = (a_n + k*b_n)*s_(n+k-p).
123When should multiplicative Holt-Winters be used?
When seasonal variation grows or shrinks proportionally with the series level.
124Additive vs. multiplicative Holt-Winters
Additive forecasts add the seasonal effect; multiplicative forecasts multiply by the seasonal factor. Use additive for roughly constant seasonal size and multiplicative for proportional seasonal size.
125Holt-Winters numerical forecast example: additive
a_n = 100, b_n = 5, k = 2, and seasonal effect = 12. Forecast = 100 + 2*5 + 12 = 122.
126Holt-Winters numerical forecast example: multiplicative
a_n = 100, b_n = 5, k = 2, and seasonal factor = 1.20. Forecast = (100 + 2*5)*1.20 = 132.
127What does HoltWinters(x, beta = FALSE, gamma = FALSE) do in R?
Fits simple exponential smoothing by disabling trend and seasonal smoothing in the HoltWinters function.
128What does HoltWinters(x) do in R?
Fits an additive Holt-Winters model with trend and seasonality.
129What does HoltWinters(x, seasonal = 'mult') do in R?
Fits a multiplicative Holt-Winters model.
130What does predict(HWmodel, n.ahead = h) do in R?
Generates h-step-ahead forecasts from a fitted Holt-Winters model.
131What is discrete white noise?
A sequence of independent, identically distributed random variables with mean zero, constant variance sigma squared, and zero autocorrelation at all nonzero lags.
132What does IID mean?
Independent and identically distributed: observations are independent and share the same probability distribution.
133What are the key properties of discrete white noise?
Mean zero, constant variance, and zero autocorrelation at all nonzero lags; the study guide also specifies independent, identically distributed observations.
134Random walk model
x_t = x_(t-1) + w_t, where w_t is a white-noise shock.
135What does a random walk mean in plain language?
The current value equals the previous value plus a new unpredictable shock.
136Random walk after back-substitution
x_t = w_t + w_(t-1) + w_(t-2) + ... plus the initial value as appropriate; the level accumulates past shocks.
137Backward shift operator
B*x_t = x_(t-1); it represents a one-period lag.
138Random walk using the backward shift operator
x_t = B*x_t + w_t.
139Is a random walk stationary?
Generally no. The random-walk level is nonstationary in mean and variance according to the study guide.
140First difference of a time series
Delta x_t = x_t - x_(t-1); it measures the change from one period to the next.
141First difference of a random walk
Delta x_t = x_t - x_(t-1) = w_t; the first difference equals the random-walk shock.
142What happens when you first-difference a random walk?
If its shocks are white noise, the differenced series is white noise and is stationary.
143Random walk with drift
x_t = x_(t-1) + delta + w_t, where delta is the constant drift term.
144White noise vs. random walk
White noise fluctuates around its mean without serial dependence; a random walk accumulates shocks, so its level is generally nonstationary.
145Random walk vs. deterministic trend
A deterministic trend follows a predictable path; a random walk has a stochastic trend that changes unpredictably due to shocks.
146What does it mean if a model's residuals look random?
The model may have captured systematic patterns such as trend and seasonality, but the residual ACF should also be checked for remaining autocorrelation.