ECONMID

146 flashcardsby Dara
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

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