## Linear Regression Fundamentals
Ordinary Least Squares (OLS) is a method to estimate the linear relationship between a dependent variable (Y) and one or more independent variables (X) by minimizing the sum of squared residuals. Key outputs include regression coefficients (betas), which quantify the effect of X on Y, their standard errors, R-squared (the proportion of Y's variance explained by the model), and adjusted R-squared (which penalizes for adding irrelevant variables). The F-statistic tests the overall significance of the regression model, while t-statistics test the significance of individual coefficients.
## OLS Assumption Violations
Violations of OLS assumptions can lead to unreliable inferences:
- Heteroskedasticity: The variance of the error term is not constant across observations. This results in inefficient OLS estimators and biased standard errors, invalidating hypothesis tests. It can be detected by tests like White's or Breusch-Pagan, and corrected using robust standard errors (e.g., White's).
- Autocorrelation (Serial Correlation): Error terms are correlated across observations, common in time series data. This leads to inefficient OLS estimators and biased standard errors. Detected by the Durbin-Watson test (for AR(1)) or Ljung-Box test. Solutions include Generalized Least Squares (GLS) or modeling the error term (e.g., ARMA errors).
- Multicollinearity: High correlation between independent variables. It inflates standard errors, making individual coefficients imprecise and difficult to interpret, but does not bias OLS estimators. Detected by high Variance Inflation Factor (VIF).
## Time Series Analysis
Stationarity is a critical property for many time series models; a stationary series has a constant mean, variance, and autocorrelation structure over time. Non-stationary series often require differencing to become stationary (e.g., in ARIMA models). The Augmented Dickey-Fuller (ADF) test is used to check for unit roots, which indicate non-stationarity.
- Autoregressive (AR) models: Yt is a function of its own past values.
- Moving Average (MA) models: Yt is a function of past error terms.
- ARMA (p,q) models: Combine AR(p) and MA(q) components.
- ARIMA (p,d,q) models: Include an "integrated" (I) component, meaning the series has been differenced 'd' times.
## Volatility Modeling
Generalized Autoregressive Conditional Heteroskedasticity (GARCH) models are specifically designed to model and forecast time-varying volatility, a common feature in financial returns known as volatility clustering (large changes tend to be followed by large changes). A GARCH(1,1) model, for instance, specifies that current conditional variance depends on past squared errors and past conditional variances.
What is the primary objective of Ordinary Least Squares (OLS) regression?
To estimate the linear relationship between a dependent variable and independent variables by minimizing the sum of squared residuals.
tap to reveal
What is the impact of heteroskedasticity on OLS estimators and their standard errors?
OLS estimators remain unbiased but become inefficient; standard errors are biased, leading to incorrect hypothesis tests.
tap to reveal
How is autocorrelation typically detected in time series regression?
Using the Durbin-Watson test (for AR(1)) or the Ljung-Box test (for higher orders).
tap to reveal
What does a high R-squared indicate, and what is a common limitation?
A high R-squared indicates that the model explains a large proportion of the dependent variable's variance. A limitation is that it can be inflated by adding irrelevant variables.
tap to reveal
What are the key characteristics of a stationary time series?
A stationary time series has a constant mean, constant variance, and constant autocorrelation structure over time.
tap to reveal
What is a unit root, and which test is commonly used to detect it?
A unit root indicates a non-stationary time series where current values depend heavily on past values. The Augmented Dickey-Fuller (ADF) test is commonly used.
tap to reveal
What phenomenon does a GARCH model primarily address in financial time series?
Volatility clustering, where periods of high volatility tend to be followed by high volatility, and vice versa.
tap to reveal
When is an ARIMA(p,d,q) model used instead of an ARMA(p,q) model?
ARIMA is used when the time series is non-stationary and requires differencing ('d' times) to achieve stationarity before applying ARMA components.
tap to reveal