Simultaneous Equations & Time Series
- #econometrics
- #simultaneous-equations
- #time-series
- #serial-correlation
- #distributed-lag
- #autoregression
- #seasonality
- #supply-and-demand
Simultaneous Equations & Time Series
Part of: Econometrics Lecture 06 — Applied Econometrics, Dr. Aluma Dembo Key concepts: Simultaneous Equations Model, Serial Correlation, Time Series, Distributed Lag Model, Autoregressive Model, Static Model, Strict Exogeneity, Seasonality, HAC Standard Errors
Part 1: Simultaneous Equations Models
The Fulton Fish Market Problem
Graddy (1995) studied the wholesale market for whiting fish at the Fulton Fish Market in New York (Dec 1991 – May 1992). The goal: estimate supply and demand elasticities — how sensitive quantity is to price on each side of the market.
The model has two equations:
- = price elasticity of supply (how much more fish gets brought if price rises)
- = price elasticity of demand (how much less fish gets bought if price rises — expected negative)
- At equilibrium:
The supply/demand logicThink of the supply and demand curves as fixed relationships between price and quantity. What we observe in the data is the equilibrium point where those curves cross. Over time, these curves shift due to weather (supply shifts) and day of the week (demand shifts) — and those shifts trace out different equilibrium points.
Why OLS Fails: Endogeneity in Simultaneous Systems
The central problem: price is endogenous in both equations.
Here's why: if there's a random shock to supply ( changes), the supply curve shifts, the equilibrium moves, and so price changes. This means . Similarly, a demand shock shifts the demand curve and changes equilibrium price, so .
In other words, price and quantity are determined together — they're jointly endogenous. Running OLS on either equation treats price as exogenous, which it isn't.
The identification problemWhen you observe price and quantity over time, you're watching equilibrium points shift around. Those shifts could be driven by supply changes or demand changes — and without extra information, you can't tell which curve you're tracing. This is the classic "identification problem" in supply/demand estimation.
Supply shifts (weather) → supply curve moves → new equilibrium (P,Q)
Demand shifts (day of week) → demand curve moves → new equilibrium (P,Q)
IV Solution: Using Curve Shifters as Instruments
The fix: use variables that shift one curve as instruments for price. This traces out the other curve.
Identifying the Demand Curve
To estimate the demand elasticity, we need exogenous variation in price that's not caused by demand. Weather (affecting supply only) gives us exactly this.
First stage — instrument for equilibrium quantity using weather:
Second stage — demand equation using predicted quantity:
Why does this work?
- Weather affects supply (rougher seas = fewer fish) → shifts the supply curve → price changes for supply-side reasons
- Weather has no direct effect on demand (consumers don't care about sea conditions)
- So weather is a valid instrument for price in the demand equation
The logic in plain EnglishOn stormy days, fewer fish make it to market. Supply drops, price rises. This price variation is purely supply-driven — it's not because consumers suddenly want more fish. So by looking at how quantity demanded responds to these supply-driven price changes, we can estimate the demand elasticity. That's what IV achieves.
| Instrument | Shifts | Valid for identifying |
|---|---|---|
| Weather (windspeed, wave height) | Supply curve | Demand equation |
| Day of week | Demand curve | Supply equation |
type: supply-shift-identification
Why a shifter "traces out" the other curveHold demand fixed (green) and let weather push the supply curve (blue) in and out. Each storm or calm day produces a new equilibrium where the curves cross — and those red dots line up exactly along the demand curve. That's the whole trick: weather varies price for supply-side reasons only, so watching how quantity responds to those price moves reveals the demand elasticity. Without a shifter you'd just see a scatter of dots and couldn't tell which curve you were looking at.
Part 2: Serial Correlation in Time Series
What is Serial Correlation?
Serial correlation (also called autocorrelation) is when residuals at different time periods are correlated with each other:
In the fish market example: after running the IV model, plotting residuals over time reveals a pattern — today's residual is related to yesterday's residual. This violates Assumption TS.4 (no serial correlation).
type: serial-correlation
Two views of the same problemOn the left, the residuals don't bounce randomly around zero — they drift in long runs above and below the line (a positive shock today tends to persist tomorrow). On the right, regressing on gives a clear positive slope (), so we reject . The coefficients stay consistent, but the naive standard errors are too small — which is exactly what HAC (Newey-West) errors repair.
Why would errors be serially correlated?In time series, many things that affect your outcome today also affect it tomorrow. If today's fish price is unexpectedly high due to some unobserved factor (e.g. a food festival this week), that effect often carries over into tomorrow's price. The error term "remembers" the past.
Why is this a problem?
| Impact | What happens |
|---|---|
| Unbiasedness | OLS estimators remain unbiased (if exogeneity holds) |
| Consistency | Estimators remain consistent under weak exogeneity |
| Efficiency | OLS is no longer efficient — it's not BLUE |
| Standard errors | Usual standard errors are wrong — hypothesis tests are invalid even in large samples |
Serial correlation invalidates your t-testsEven if your coefficients are right in large samples, the standard errors you compute assuming no serial correlation are biased downward — making your estimates look more significant than they are. This is why you can't just ignore it.
Fix: HAC Standard Errors (Newey-West)
Use Heteroskedasticity and Autocorrelation Consistent (HAC) standard errors. The most common are Newey-West standard errors.
- The coefficient estimates don't change — only the standard errors are recalculated
- HAC standard errors are typically larger than naive OLS standard errors (correct widening of confidence intervals)
- p-values increase → some previously significant results may no longer be significant
Testing for Serial Correlation
Run a regression of residuals on their own lag:
Test against .
- If you reject : evidence of serial correlation → use HAC standard errors.
Part 3: Time Series Models
What is a Time Series?
A time series is a sequence of random variables indexed by time: .
- What you observe is one realisation (one possible sequence of outcomes) from an underlying stochastic process
- The "population" is all possible sequences the process could have generated
- The key feature: ordering matters — the past can influence the future, but not vice versa
Why is time series different from cross-section?With cross-sectional data (e.g. 1,000 people), observations are typically independent. With time series, observations are correlated over time — what happened last quarter shapes what happens this quarter. This requires adapting our assumptions.
The Static Model
The static model assumes affects immediately and only in the same time period. No lag effects — whatever is now is what determines now.
Example — Static Phillips Curve:
The idea: higher unemployment today → lower inflation today (firms compete harder for workers, wage pressure drops, prices follow).
Assumptions for OLS with Time Series
In time series, the standard OLS assumptions are modified. The key change is to exogeneity.
TS.2: Strict Exogeneity (stronger than before)
where is all explanatory variables across all time periods (past, present, and future).
Compare with the standard cross-section assumption (contemporaneous exogeneity):
Strict exogeneity is a strong demandStrict exogeneity requires that is uncorrelated with for all — even future values of . This fails when:
- is a lagged dependent variable (e.g. — obviously correlated with which affects )
- reacts to past values of (feedback loops — e.g. central banks adjust interest rates in response to past inflation)
| Assumption | What it requires | Gives you |
|---|---|---|
| Contemporaneous exogeneity (A2) | Consistency | |
| Strict exogeneity (TS.2) | Unbiasedness |
Additional time series assumptions:
- TS.3 Homoskedasticity: (constant variance across time)
- TS.4 No serial correlation: for all
- TS.5 Normality:
Under A1 + TS.2–TS.4: OLS gives correct standard errors and valid /-tests. Under A1 + TS.2–TS.5: OLS is normally distributed; and statistics have exact distributions.
Distributed Lag (DL) Models
What if in period affects not just now, but also in future periods?
This is a Distributed Lag model with lags. The static model is the special case where .
Interpreting the coefficients:
- = the impact effect — how much changes in period if increases by 1 in period
- = the -period lag effect — how much changes in period due to a one-time increase in at period
- = the long-run multiplier — the total cumulative effect of a permanent one-unit increase in
Dynamic Phillips CurveIf unemployment increases by 1pp this period:
- Inflation falls by this period
- Inflation falls by an additional next period
- Total effect over two periods:
In the fish market example: — unemployment is highly autocorrelated (persistent), so the static model understates the full effect.
Multicollinearity in DL modelsLagged values of the same variable tend to be highly correlated with each other. This inflates standard errors and makes it hard to identify individual coefficients precisely. The long-run total may be well-identified even when individual lags are not.
Autoregressive (AR) Models
What if past values of itself help predict current ?
AR(1) model:
AR(q) model:
Why AR models matterMany economic series are persistent — GDP this quarter is very similar to GDP last quarter, exchange rates tomorrow look like exchange rates today. AR models capture this persistence directly. They're the backbone of most macroeconomic forecasting.
A critical limitation: strict exogeneity cannot hold
In an AR(1): is the regressor, and it's correlated with (because is partly determined by ). So — strict exogeneity is violated by construction.
This means:
- ✅ AR models are consistent (under weak exogeneity / contemporaneous exogeneity, which does hold)
- ❌ AR models are necessarily biased in finite samples
Weak vs. strict exogeneity in AR modelsWeak exogeneity () can plausibly hold — knowing last period's shouldn't help predict this period's error. That's enough for consistency. Strict exogeneity would require to be uncorrelated with future — impossible if depends on .
Combining AR and DL: The ADL Model
The most general and flexible time series model:
This is an Autoregressive Distributed Lag (ADL) model. It allows for:
- Inertia in (AR terms)
- Lagged effects of (DL terms)
- Other controls
Predicting Global Temperature from CO2Temperature is persistent (AR terms capture momentum) but also responds to CO2 with a distributed lag effect. ADL handles both.
Seasonality
Many time series exhibit seasonality — predictable, regular patterns tied to the calendar.
Examples:
- Construction activity peaks in summer (weather-dependent)
- Cheese sales spike around Shavuot
- "Matzo" Google searches spike every Passover
Handling seasonality: seasonal dummy variables
For monthly data (January as the reference/control group):
For quarterly data (Q4 as reference):
- Each seasonal dummy captures how much higher/lower the outcome is in that month/quarter compared to the reference period, holding everything else constant.
- The reference category (excluded dummy) is absorbed into .
Seasonally adjusted dataSome macroeconomic data from statistical agencies (e.g. GDP, unemployment) are already "seasonally adjusted" — the seasonal patterns have been removed before you receive the data. Check your data source: if it's already seasonally adjusted, don't add seasonal dummies again.
Summary: Time Series Model Types
| Model | Formula | When to use |
|---|---|---|
| Static | affects instantly, no carry-over | |
| Distributed Lag (DL) | has lagged effects on | |
| Autoregressive (AR) | 's own past predicts its future | |
| ADL | Combines AR + DL | General purpose — both inertia and lagged effects |
Summary
- Simultaneous equations models create endogeneity because price and quantity are jointly determined. OLS on either equation is biased.
- IV solves identification: use supply shifters (weather) to identify demand, and demand shifters (day of week) to identify supply.
- Serial correlation means residuals are correlated over time — this leaves coefficients consistent but makes standard errors wrong. Fix with HAC (Newey-West) standard errors.
- Strict exogeneity (TS.2) requires the error to be uncorrelated with at all time periods — past, present, and future. Contemporaneous exogeneity (A2) only requires independence at the same period.
- Distributed lag models let affect over multiple periods. Each is the effect of at time on at time .
- AR models include lagged as a regressor — consistent but necessarily biased in finite samples.
- Seasonality is handled with dummy variables for each month or quarter (minus one for the reference category).
Related Notes
- Previous: Lec_05-Sample Selection & Heckman Correction — selection bias, Heckman two-step
- Hub: Econometrics
- Key IV concepts: Instrumental Variables, Endogeneity, Two Stage Least Squares
- Key time series concepts: Serial Correlation, Distributed Lag Model, Autoregressive Model, Strict Exogeneity, HAC Standard Errors, Seasonality
- Methods: Static Model, Simultaneous Equations Model