














































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































Lecture chapters 1 to 5, dummy variables, a formula book with worked numbers, three solved exam papers, the teacher’s exam advice, and a 130-question practice bank in one document.
How to use this guide
Read each part in order the first time. Every part opens with a short In plain words box, then gives the full detail. Green boxes are worked examples, red boxes are exam traps, gold boxes are corrections or things to watch. Before the exam, go straight to Parts 7 to 10.
Notation: β ˆ 2 is the estimate from your sample and β 2 is the true value. Yˆ is a fitted value and uˆ a residual. k counts parameters including the intercept unless stated.
FOUNDATIONS OF ECONOMETRICS 1
PART 1
In plain words Economic theory tells you the direction of an effect (more income means more spending). It almost never tells you how big. Econometrics is the toolkit that puts a number on the effect, using real data, and then tells you how much to trust that number.
Economic theory suggests relationships and signs. It rarely gives the size of a causal effect. Econometrics combines economic theory, mathematics and statistical inference to measure those effects. Goldberger (1964) defines it as the social science that applies these tools to economic phenomena.
Typical questions:
In this course you learn to estimate causal effects from observational data, to focus on applica- tions, to read and judge other people’s regression work, and to run regressions on real data in Stata or EViews.
The running example is Keynes’s consumption theory: people spend more when income rises, but by less than the rise in income.
2 Econometrics · Learning Guide
Step What you do Keynes consumption example
1 State the theory or hy- pothesis
Consumption rises with income, by less than the rise in income (marginal propensity to consume below 1) 2 Write the mathemati- cal model
Y = β 1 + β 2 X with 0 < β 2 < 1
3 Write the econometric model (add an error u)
Y = β 1 + β 2 X + u
4 Collect data Specify the model first, then collect data 5 Estimate the parame- ters
Ordinary least squares (OLS)
6 Test hypotheses t and F tests 7 Forecast or predict Predict Y for a given X 8 Use for policy Use the fitted model for control or policy
Exam trap The first step is to specify the econometric model, not to collect data. This is a repeated exam question.
Type Definition Example
Cross-sectional Many units at one point in time Income, age and education of 500 households in 2025
Time series One unit over many periods GDP of a country over 10 years
Pooled cross-section Independent cross-sections from different periods, new units each time
Two annual household surveys with different households
Panel (longitudinal) The same units followed across periods
Several countries over many years
Link to later chapters Autocorrelation appears mostly in time series, because today is linked to yesterday. Heteroscedasticity appears mostly in cross-sectional data, because units differ in size.
4 Econometrics · Learning Guide
Deterministic form Stochastic form
Population (PRF) E(Y | Xi) = β 1 + β 2 Xi Yi = β 1 + β 2 Xi + ui
Sample (SRF) Yˆi = β ˆ 1 + β ˆ 2 Xi Yi = β ˆ 1 + β ˆ 2 Xi + uˆi, so ˆui = Yi − Yˆi
0 1 2 3 4 5 6
0
2
4
6
X
Y
Observed Yi Fitted line ˆY = 2.2 + 0.6X
The dashed segments are the residuals uˆi = Yi − Yˆi. OLS chooses the line that makes the sum of their squares smallest (data from Worked Example 3).
Linear regression means linear in the parameters. The variables themselves may enter at any power or inside a log.
Equation Linear regression? Reason
Y = β 1 + β 2 X^2 + u Yes β 2 multiplies X^2
Y = β 1 + β 2 ln X + u Yes ln X is just a transformed variable
Y = β 1 + β 2 (1/X) + u Yes Parameters enter as multipliers
ln Y = a + β 2 ln X + u Yes The log-log model
Y = β 1 + X β^2 + u No Parameter sits in the exponent
Y = 1/( β 0 + β 1 X) + u No Parameters sit inside a reciprocal
SIMPLE LINEAR REGRESSION 5
OLS minimises the residual sum of squares:
min RSS = (^) ∑ uˆ^2 i = (^) ∑
Yi − β ˆ 1 − β ˆ 2 Xi
Setting the partial derivatives to zero gives the normal equations
∑ Y^ =^ n^ β ˆ 1 +^ β ˆ 2 ∑ X,^ ∑ XY^ =^ β ˆ 1 ∑ X^ +^ β ˆ 2 ∑ X^2.
Solving them gives the two estimators you must know by heart:
β ˆ 2 = Sxy Sxx
XY − n X¯ Y¯ ∑ X^2 −^ n^ X¯^2
Cov(X, Y) Var(X)
, β ˆ 1 = Y¯ − β ˆ 2 X¯
where the shorthand sums are
Sxy = (^) ∑(X − X¯)(Y − Y¯), Sxx = (^) ∑(X − X¯)^2 , Syy = (^) ∑(Y − Y¯)^2.
For regression through the origin (no intercept) the slope is ˆ β 2 =
Worked example 1: working hours ( X ) and income ( Y ), n = 10 Given ∑ X = 80, ∑ Y = 96, ∑ X^2 = 668, ∑ Y^2 = 952, ∑ XY = 789. So ¯X = 8 and ¯Y = 9.6.
Sxx = 668 − 10 ( 8 )^2 = 28, Sxy = 789 − 10 ( 8 )(9.6) = 21, Syy = 952 − 10 (9.6)^2 = 30.4,
β ˆ 2 = 21 28 = 0.75, β ˆ 1 = 9.6 − 0.75( 8 ) = 3.6.
SRF: Yˆ = 3.6 + 0.75X. Meaning: one more working hour goes with about 0.75 dollars more income. Fit and precision:
S^2 xy Sxx Syy
RSS = Syy −
S^2 xy Sxx
= 30.4 − 15.75 = 14.65, σ ˆ^2 =
se( β ˆ 2 ) =
r
28
= 0.256, t =
These match the EViews output (p = 0.0189).
Worked example 2: rice price ( X ) and rice demand ( Y ), n = 6 Given (^) ∑ X = 24, (^) ∑ Y = 36, (^) ∑ XY = 111, (^) ∑ X^2 = 120, so ¯X = 4, ¯Y = 6.
Sxy = 111 − 6 ( 4 )( 6 ) = −33, Sxx = 120 − 6 ( 16 ) = 24,
β ˆ 2 = −^33 24
= −1.375, β ˆ 1 = 6 + 1.375( 4 ) = 11.5.
SIMPLE LINEAR REGRESSION 7
Assumption Meaning If violated
Linear in parameters Betas enter as multipliers Wrong model X fixed in repeated samples
Analysis is conditional on X Endogeneity concerns
E(u | X) = 0 and Cov(X, u) = 0
Errors average zero at every X; X independent of u
Omitted variable or wrong form: OLS biased and inconsistent Var(u | X) = σ^2 Homoscedasticity Heteroscedasticity: OLS not efficient Cov(ui, uj) = 0 No autocorrelation Autocorrelation: OLS not efficient n larger than number of parameters
Enough data Cannot estimate
Var(X) > 0 X must vary No slope can be estimated Correct specification Right variables and form Specification bias No perfect multi- collinearity
No X is an exact linear function of the others
OLS cannot be computed
Gauss–Markov theorem. Under these assumptions OLS is BLUE : L inear (a linear function of Y), U nbiased (E( β ˆ 2 ) = β 2 ), B est (smallest variance among linear unbiased estimators).
Normality is not part of BLUE Normality of u is not needed for BLUE. It is needed only for exact small-sample t and F tests. If u is normal, then β ˆ 1 and β ˆ 2 are normal and Y is normal with mean β 1 + β 2 X and variance σ^2.
Intercept trick: if u has a nonzero constant mean, the intercept absorbs it. Rule of thumb for sample size: at least 50, or 10 times the number of regressors.
σ ˆ^2 =
n − k
, se( β ˆ 2 ) = σ ˆ √ Sxx
The square root σ ˆ is the standard error of the regression (Root MSE in Stata). In simple regression k = 2, so the degrees of freedom are n − 2.
Total variation splits into an explained part and an unexplained part.
ESS (explained) (^) RSS
TSS (total variation of Y)
8 Econometrics · Learning Guide
PART 3
In plain words Multiple regression lets you ask: “what does x 2 do to y if everything else stays fixed?” Each slope is a partial effect. That is why you must write “holding other variables constant” in every interpretation.
In simple regression the key assumption (all other factors are uncorrelated with x) is often unrealistic. Multiple regression allows ceteris paribus statements, explains more variation in y, and fits general forms such as consumption on income and income squared.
Yi = β 1 + β 2 X 2 i + β 3 X 3 i + · · · + β k Xki + ui
Each slope is a partial effect : the change in mean Y for a one-unit rise in that X, holding all other X constant.
When simple and multiple slopes are equal The simple slope of y on x 2 equals the multiple slope only if (1) the partial effect of x 3 on y is zero in the sample, or (2) x 2 and x 3 are uncorrelated in the sample.
Minimise (^) ∑(Y − β ˆ 1 − β ˆ 2 X 2 − β ˆ 3 X 3 )^2. Work in deviations from means: y = Y − Y¯, x 2 = X 2 − X¯ 2 , x 3 = X 3 − X¯ 3.
10 Econometrics · Learning Guide
versions give the same answer. Follow the exam paper.
Worked example college GPA ( n = 141 , k = 3 ) R^2 = 0.1764, so hsGPA and ACT explain about 17.6% of the variation in college GPA.
which matches the Stata output.
Worked example dropping a weak variable R^2 = 0.60, n = 30, k = 4 gives ¯R^2 = 0.554. Add a useless variable (k = 5, R^2 = 0.601):
It falls, so drop the variable.
PART 4
In plain words Inference answers one question: “Is this estimate far enough from the claimed value that it can’t be blamed on sampling luck?” The t-test checks one coefficient, the F-test checks several at once, and the choice of functional form decides what the coefficient means in words.
t =
β^ ˆj − β ∗ j se( β ˆj)
∼ t(n−k)
Test H 0 H 1 Reject H 0 if
Two-tail β j = value β j ̸= value |t| > t α /2, n−k
Right-tail β j ≤ value β j > value t > t α , n−k
Left-tail β j ≥ value β j < value t < −t α , n−k
STATISTICAL INFERENCE AND FUNCTIONAL FORMS 11
−t α /2 0 t α /
reject reject
fail to reject
t
Two-tail test at 5%: the shaded tails hold 2.5% each. If your t lands there, reject H 0.
Sign trap Labour force data: ˆ β 2 = 0.656, se = 0.1961, H 0 : β 2 = 1, H 1 : β 2 > 1.
t =
A right-tail test needs a positive t, so you can never reject H 0 , whatever the size of |t|.
Worked example college GPA H 0 : β 2 = 0 for hsGPA: t = 0.4534 / 0.0958 = 4.73. The critical value t1%, 138 df ≈ 2.61. Since 4.73 > 2.61, reject H 0 at 1%: hsGPA affects colGPA, ACT held constant. ACT: t = 0.87, p = 0.383. Fail to reject: ACT is not significant.
H 0 : β 2 = β 3 = · · · = 0 (all slopes zero). H 1 : at least one slope is not zero. This also tests the significance of R^2.
ESS/(k − 1 ) RSS/(n − k)
R^2 /(k − 1 ) ( 1 − R^2 )/(n − k) ∼ F(k−1, n−k)
Worked example overall F
GPA: F =
= 14.78 against F0.05(2, 138) = 3.06. Reject H 0.
STATISTICAL INFERENCE AND FUNCTIONAL FORMS 13
For a sum, H 0 : β 2 + β 3 = 1 (constant returns to scale in Cobb–Douglas):
t = β ˆ 2 + β ˆ 3 − 1 se( β ˆ 2 + β ˆ 3 )
, se( β ˆ 2 + β ˆ 3 ) =
q Var( β ˆ 2 ) + Var( β ˆ 3 ) + 2 Cov( β ˆ 2 , ˆ β 3 )
Worked example wage: H 0 : β exper = β tenure se of the difference = 0.029635, t = −4.958, critical t0.025,522 ≈ 1.96. Reject H 0 : the two effects differ. Stata’s F = 24.58 = (−4.958)^2 , critical F(1, 522) = 3.85. Reject.
Worked example Cobb–Douglas, Mexico 1955–1974 ( n = 20 )
ln^ \ GDP = −1.6524 + 0.3397 ln L + 0.8460 ln K, RSSUR = 0.0136. The sum of elasticities is 1.1857. Restricted form (substitute β 2 = 1 − β 3 ): ln(GDP/L) = β 0 + β 3 ln(K/L), with RSSR = 0.0166.
Fail to reject constant returns to scale.
H 0 : one regression fits both groups.
(RSSR − RSSUR)/k RSSUR/(n 1 + n 2 − 2 k)
, RSSUR = RSS 1 + RSS 2 , RSSR = pooled RSS
Steps: estimate the pooled model, estimate each sub-period model, compute F, and reject stability if F exceeds the critical value.
Worked example US savings and income, 1970– Period 1: RSS 1 = 1785.03 (df 10). Period 2: RSS 2 = 10005.22 (df 12). Pooled RSS = 23248.30, so RSSUR = 11790.25.
Reject: the savings–income relation changed structurally.
14 Econometrics · Learning Guide
The form of the model decides how you say the coefficient in words.
Form Model Meaning of β 2
Linear Y = β 1 + β 2 X One more unit of X changes Y by β 2 units
Log-log ln Y = β 1 + β 2 ln X A 1% rise in X changes Y by β 2 %. This is an elasticity
Log-lin (growth) ln Y = β 1 + β 2 X One more unit of X changes Y by 100 β 2 percent
Lin-log Y = β 1 + β 2 ln X A 1% rise in X changes Y by β 2 /100 units
Quadratic Y = β 1 + β 2 X + β 3 X^2 Marginal effect = β 2 + 2 β 3 X; turning point X∗^ = − β 2 /( 2 β 3 )
Interaction Y = · · · + β 4 (X 2 X 3 ) Effect of X 2 is β 2 + β 4 X 3
Reciprocal Y = β 1 + β 2 (1/X) Effect shrinks as X grows
Worked example quadratic Y = 2 + 4 X − 0.2X^2. Marginal effect = 4 − 0.4X, which is 2 at X = 5 and 0 at X = 10 (the turning point).
0 2 4 6 8 10 12 14 16 18 20
0
10
20
turning point X∗^ = 10
X
Y
4.6.1 Choosing between linear and log-linear: the MWD test
16 Econometrics · Learning Guide
Consequences
Worked example consumption on income and wealth Both variables together explain about 96% of the variation in consumption. Neither slope is individually significant and wealth has the wrong sign, yet H 0 : β 2 = β 3 = 0 is rejected (F = 92.40). When collinearity is high, individual t-tests are unreliable.
Detection
Method Rule
High R^2 , low t-ratios R^2 > 0.8, F significant, few significant t
Pairwise correlations Above 0.8 is a warning. Sufficient but not necessary with 3 or more regressors
Auxiliary regressions Regress each X on the others. A significant F signals collinearity
VIF =
1 − R^2 j
VIF above 10 (R^2 j > 0.9) is serious. VIF = 5 at R^2 j = 0.
Tolerance =
R^2 j
Below 0.1 is serious. Equals 0 under perfect collinearity
Remedies
Homoscedasticity: Var(ui | Xi) = σ^2 for all X. Heteroscedasticity: Var(ui) = σ^2 i. The scatter forms a funnel instead of a band of constant width.
DIAGNOSING MODEL PROBLEMS 17
X
Y
Homoscedastic: constant band
X
Y
Heteroscedastic: funnel
Causes
Consequences
OLS stays unbiased and consistent but is no longer BLUE. The usual variance formulas are wrong, so t, F and confidence intervals lose reliability.
Detection tests (know the names and what each regresses)
Test Auxiliary regression Statistic and rule
Graph Plot residuals or squared resid- uals against X or fitted Y
A funnel pattern signals the problem
Park ln( uˆ^2 ) on ln X t-test on the slope. H 0 : slope = 0 (homoscedastic) Glejser | uˆ| on X,
√ X, 1 /X and similar t-test on the slope. H 0 : slope = 0 Breusch–Pagan– Godfrey
pi = uˆ^2 / ˆu^2 on the Z variables (usually the X)
ESS/2 ∼ χ^2 with k − 1 df
White (general) uˆ^2 on X, X^2 and cross-products n · R^2 ∼ χ^2. Reject if above the critical value
Worked example White test Two regressors. The auxiliary regression has X 1 , X 2 , X^21 , X^22 and X 1 X 2 , so 5 df. With n = 100 and auxiliary R^2 = 0.15:
nR^2 = 100 (0.15) = 15 > χ^2 0.05( 5 ) = 11.07.
Reject homoscedasticity.