Docsity

Econometrics lesson note, Study notes of Introduction to Econometrics

Toggle sidebar
bg1
Econometrics: teacher's lessons, merged record Page 1
Econometrics
Complete record of what your teacher taught
Two class sessions merged into one study document, with added explanations
Source. Two auto-generated Vietnamese transcripts of your teacher's review sessions. Session 1
covers data types, simple and multiple regression, OLS, assumptions, R², adjusted R², and
hypothesis tests. Session 2 covers dummy variables, the three model problems of Chapter 5, a
worked chicken-demand essay exercise, and exam advice.
How to read this document. Plain text states what your teacher said. Blue boxes add further
explanation, with worked numbers and reasons. Yellow boxes flag places where the transcript is
garbled or where your teacher's convention differs from your study guide. Check yellow boxes
against your slides.
Exam context. Your teacher said the exam is on the 16th, with a further session planned on the
14th. Multiple-choice theory questions carry the most marks. Essay questions ask you to
interpret, calculate, and test.
Contents
Part Topic
1 Data types and measurement scales
2 Simple regression: PRF, SRF, error term, linearity, OLS
3 Properties of OLS residuals
4 Classical assumptions and the Gauss-Markov theorem
5 Sums of squares, R², multiple regression, adjusted R²
6 Hypothesis tests: t-test, F-test, equal coefficients, linear restrictions
7 Dummy variables: intercept shift, slope shift, Chow test, seasonal dummies
8 Model problems: multicollinearity, heteroscedasticity, autocorrelation
9 Worked essay exercise: chicken demand
10 Exam advice, schedule, formula sheet, and checklist
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Econometrics lesson note and more Study notes Introduction to Econometrics in PDF only on Docsity!

Econometrics

Complete record of what your teacher taught

Two class sessions merged into one study document, with added explanations

Source. Two auto-generated Vietnamese transcripts of your teacher's review sessions. Session 1 covers data types, simple and multiple regression, OLS, assumptions, R², adjusted R², and hypothesis tests. Session 2 covers dummy variables, the three model problems of Chapter 5, a worked chicken-demand essay exercise, and exam advice.

How to read this document. Plain text states what your teacher said. Blue boxes add further explanation, with worked numbers and reasons. Yellow boxes flag places where the transcript is garbled or where your teacher's convention differs from your study guide. Check yellow boxes against your slides.

Exam context. Your teacher said the exam is on the 16th, with a further session planned on the 14th. Multiple-choice theory questions carry the most marks. Essay questions ask you to interpret, calculate, and test.

Contents

Part Topic

1 Data types and measurement scales

2 Simple regression: PRF, SRF, error term, linearity, OLS

3 Properties of OLS residuals

4 Classical assumptions and the Gauss-Markov theorem

5 Sums of squares, R², multiple regression, adjusted R²

6 Hypothesis tests: t-test, F-test, equal coefficients, linear restrictions

7 Dummy variables: intercept shift, slope shift, Chow test, seasonal dummies

8 Model problems: multicollinearity, heteroscedasticity, autocorrelation

9 Worked essay exercise: chicken demand

10 Exam advice, schedule, formula sheet, and checklist

Part 1. Data types and measurement scales

Three data types

Economics uses three main data types.

Type Your teacher's definition Example

Cross-sectional Collects one or more variables at the same point in time. Many variables are allowed, but the time point is one.

Income, age, and education of 500 households in 2025.

Time series Collects variables across time. The same variables stay in place from period to period.

Five variables recorded every month: January, February, March, and so on.

Panel Time series plus cross-sectional. Both properties combine.

Tracking several countries over many years.

Further explanation In a time series you follow one unit through time. In cross-sectional data you compare many units at once. Panel data follows many units through time, so each unit appears in several periods. Why this matters later: autocorrelation (Part 8) appears mostly in time series, because today's value links to yesterday's. Heteroscedasticity appears mostly in cross-sectional data, because units differ in size.

Four measurement scales

From strongest to weakest: ratio, interval, ordinal, nominal. Your teacher said ratio equals the three weaker scales added together plus one more property, the true (absolute) zero.

Scale Meaning Your teacher's examples

Ratio Has equal intervals, order, and labels, plus a true zero. A value of zero means none of the quantity.

Zero dollars means no money. Zero weight means no weight.

Interval Equal intervals between values, but no absolute zero.

Temperature. The gap from 10°C to 20°C equals the gap from 20°C to 30°C.

Ordinal Ranking. Order matters a great deal. Grades A, B, C, D, E. Income bracket high or low.

Nominal Categories with no numbers and no order. Gender, male or female. Marital status, married or single.

Further explanation Quick test. Ask: does a ratio of two values make sense? 40 kg is twice 20 kg, so weight is ratio. 20°C is not twice as hot as 10°C, because zero degrees Celsius is not an absence of heat, so temperature is interval. Ask next: does order matter? Grades yes, gender no. Last, ask: are there only labels? Then the scale is nominal. Dummy variables (Part 7) turn nominal and ordinal information into 0/1 numbers so a regression accepts them.

Part 2. Simple regression

Population regression function (PRF)

The PRF describes how the average (conditional mean) of the dependent variable varies with a given value of X.

E(Y | Xi) = β 1 + β 2 Xi

The slope equals the covariance of X and Y divided by the variance of X.

Further explanation Why square the residuals? Positive and negative gaps would cancel without squaring. Squaring also punishes large misses more than small ones. Worked example (working hours X versus income Y, n = 10). Given ΣX = 80, ΣY = 96, ΣX^2 = 668, ΣXY = 789. Then X̄ = 8 and Ȳ = 9.6. Sxy = 789 − 10(8)(9.6) = 21. Sxx = 668 − 10(8^2 ) = 28. β-hat 2 = 21/28 = 0.75. β-hat 1 = 9.6 − 0.75(8) = 3.6. Fitted line: Ŷ = 3.6 + 0.75X. One extra hour of work goes with 0.75 more units of income. Check: at X = 8 the line gives 3.6 + 6 = 9.6 = Ȳ, so the line passes through (X̄, Ȳ), as property 4 in Part 3 says.

Part 3. Properties of OLS residuals

1 The sum (and so the mean) of the residuals is zero: Σûi = 0.

2 The sample covariance between X and the residuals is zero.

3 The sample covariance between the fitted values Ŷ and the residuals is zero.

4 The regression line always passes through the sample centroid, the point (X̄, Ȳ).

5 The mean of the fitted values equals the mean of the actual values: mean(Ŷ) = Ȳ.

Further explanation These hold by construction, for any dataset, because the OLS formulas force them. They are algebra, not assumptions. Property 2 means the residuals contain no leftover linear information about X. If they did, you could improve the line.

Part 4. Classical assumptions and Gauss-Markov

Your teacher introduced the classical linear regression model (CLRM). The assumptions make the OLS estimators have desirable statistical properties. He said slides disagree on the count, with eight on your lecturer's slide, seven elsewhere, and nine in some sources. He listed the following.

No .

Assumption Meaning in plain words

1 Linear in parameters Betas enter as simple multipliers.

2 X is fixed (non-stochastic) in repeated sampling

You choose the X values. They are not random draws.

3 The error has zero mean given X: E(u | X) = 0 Errors average out to zero at every X.

4 X is uncorrelated with the error: Cov(X, u) = 0 Explanatory variables are determined independently of the error.

5 No autocorrelation (serial independence): Cov(ui, uj) = 0

The error of one observation does not depend on the error of another.

6 Homoscedasticity: Var(u | X) = σ^2 Same error variance at every X.

7 Number of observations exceeds number of parameters

More data points than unknowns.

8 X varies: Var(X) > 0 X values cannot all be identical.

9 Correct model specification and no perfect multicollinearity

Right variables and form. No X is an exact linear function of the other X variables.

Further detail on each assumption

Assumption 3 and the intercept trick. Your teacher's example: suppose the error has a mean of 10. Subtract 10 from the error so its mean becomes zero, then add 10 to the intercept so the equation stays the same. The intercept absorbs any constant average error. This is why a nonzero constant mean in u causes no harm as long as the model has an intercept.

Assumption 4. Observed values of an explanatory variable must be determined independently of the error term. If X moves together with u, OLS credits X with an effect really belonging to something hidden in u. Your study guide ties this to omitted-variable bias.

Assumption 5. Observations must be drawn independently. Example of a violation: the error in observation 2 depends on the error in observation 1. Your teacher promised extra material on what happens to estimators when each assumption fails.

Assumption 6. The error comes from the same probability distribution with constant variance across every X. If the variance changes with X, you have heteroscedasticity (Part 8).

Assumption 7 and sample size. Observations must exceed estimated parameters. Your teacher added practical advice: with fewer than 10 variables, 10 observations satisfy the rule, but you should take many more, such as 100 or 200. Aim for five to ten times the number of variables. Larger samples make the estimates and tests meaningful.

Assumption 8. If every observation of X is 1, X has no variation, and no slope is estimable. Your teacher's example: 50 observations all returning the value 1.

Assumption 9. Specification bias means a wrong variable set or wrong form. Perfect multicollinearity means a variable has an exact linear relationship with the others.

Gauss-Markov theorem

Under the assumptions, the OLS estimator is BLUE : Best Linear Unbiased Estimator.

  • Linear : the estimator is a linear function of Y.
  • Unbiased : E(β-hat 1 ) = β 1 and E(β-hat 2 ) = β 2. On average over repeated samples, the estimate equals the truth.
  • Best : smallest variance among all linear unbiased estimators.

When an assumption is violated, the estimators stop being BLUE. You must make sure the assumptions hold so OLS keeps this status.

Further explanation Your study guide adds precision. Gauss-Markov does not require normal errors. Normality matters for exact small-sample t and F tests. If perfect multicollinearity exists, OLS cannot be computed at all, so Gauss-Markov fails. Unbiased and best are different ideas. Two archers both hit the bullseye on average (both unbiased), but the one with the tighter cluster is better (smaller variance). OLS is the tightest cluster among linear unbiased estimators.

Part 5. Sums of squares, R², multiple regression,

adjusted R²

Decomposition

TSS = ESS + RSS Σ(Yi − Ȳ)^2 = Σ(Ŷi − Ȳ)^2 + Σûi^2

TSS is total variation of Y around its mean. ESS is the part the regression explains. RSS is the part left unexplained.

The t-test

t = (β-hat − hypothesized value) / se(β-hat) ~ t(n − k)

Degrees of freedom equal n − k, with k the number of parameters. Use the t-test to decide whether a coefficient is greater than 0, equal to 0, different from 0, less than 0, and so on. Tests come in right-tail, left-tail, or two-tail form.

Decision rules.

  • Two-tail, H 1 : β ≠ value. Reject H 0 if |t| > t(α/2, n − k).
  • Right-tail, H 1 : β > value. Reject if t > t(α, n − k).
  • Left-tail, H 1 : β < value. Reject if t < −t(α, n − k).
  • p-value rule: reject H 0 when p < α. A smaller p-value means a more significant coefficient.

Further explanation Test of zero is the default in computer output: t = coefficient divided by its standard error. Large |t| (above about 2 for moderate samples) signals significance. Sign trap: with H 1 : β > 1 and a negative computed t, you cannot reject H 0 , however large |t| is. The sign must match the tail.

The F-test for overall significance

The F-test checks whether all slope coefficients are zero at the same time.

  • H 0 : β 2 = β 3 = ... = βk = 0 (every slope zero).
  • H 1 : at least one β is not zero.

F = [ESS / (k − 1)] / [RSS / (n − k)] = [R^2 / (k − 1)] / [(1 − R^2 ) / (n − k)] ~ F(k − 1, n − k)

Decision rule: reject H 0 if the computed F exceeds the critical value F(α; k − 1, n − k). Your teacher called this the test of overall significance of the multiple regression.

Further explanation Example: R^2 = 0.113, n = 706, k = 4. F = (0.113/3) / (0.887/702) = 0.03767/0.001264 ≈ 29.8. Critical F(3, 702) at 5 percent is about 2.6, so reject H 0. The variables are jointly significant. Why both tests exist: the t-test examines one coefficient at a time. The F-test examines all at once. They do not always agree. Under multicollinearity, the F-test rejects while every t-test fails (Part 8).

Testing whether two coefficients are equal

Question: do two variables have the same impact on Y? Hypotheses: H 0 : β 3 = β 4 against H 1 : β 3 ≠ β 4. Rewrite as H 0 : β 3 − β 4 = 0.

t = [(β-hat 3 − β-hat 4 ) − 0] / se(β-hat 3 − β-hat 4 ) se(β-hat 3 − β-hat 4 ) = √[ Var(β-hat 3 ) + Var(β-hat 4 ) − 2·Cov(β-hat 3 , β-hat 4 ) ]

Your teacher said two methods exist. The t-test is simple. The second method uses restricted versus unrestricted F-tests, but the algebra is long, so use the t-test.

Further explanation The covariance term matters. The two estimates come from one regression and usually correlate, so you cannot add the variances alone. Computer output gives the covariance (or lets you re-run the regression with a transformed variable to read the answer directly).

Testing a linear restriction

Example: do two coefficients sum to 1, H 0 : β 2 + β 3 = 1? Use a t-test, or the restricted versus unrestricted F-test. Your teacher called the F route complicated and preferred the t-test.

t = (β-hat 2 + β-hat 3 − 1) / se(β-hat 2 + β-hat 3 ) F = [(RSSr − RSSur) / m] / [RSSur / (n − k)] m = number of restrictions

Further explanation Restricted model: the model with the null hypothesis imposed. Unrestricted model: the original. A restriction always raises RSS, so the question is whether it raises RSS by a lot (reject H 0 ) or only a little (fail to reject). Part 9 gives a worked case.

Part 7. Dummy variables

Dummy variables handle qualitative information , meaning facts not measured by numbers, such as gender, marital status, and education level. A dummy is a binary indicator variable taking the values 1 and 0. You name the category coded 1. The value 0 stands for otherwise.

Intercept shift (single dummy)

Y = β 0 + δ 0 ·D + β 1 X + u

Group Dummy value Equation

Base group D = 0 Y = β 0 + β 1 X + u

Comparison group D = 1 Y = (β 0 + δ 0 ) + β 1 X + u

The two equations differ only through δ 0. This coefficient measures the difference in the average of Y between D = 1 and D = 0. The lines are parallel, with different intercepts, so people call it an intercept shift (shift in the intercept).

Further explanation Example: wage = 5 + 2.3·male + 0.8·educ. At every education level, men earn 2.3 more than women (the base). Test H 0 : δ 0 = 0 with a t-test to check whether the gap is real.

Slope shift (interaction)

Y = β 0 + β 1 X + δ 2 (D·X) + u

Group Equation

D = 0 Y = β 0 + β 1 X + u

D = 1 Y = β 0 + (β 1 + δ 2 )X + u

The coefficient δ 2 measures the difference in slope between the groups. It is called the slope differential. Your teacher listed two hypothesis tests.

1 H 0 : δ 2 = 0. Tests whether the two groups share the same slope. Use a t-test.

2 H 0 : δ 1 = δ 2 = 0 (intercept shift and slope shift both zero). Tests whether the two groups differ at all. Use an F-test.

Further explanation Intercept shift moves the line up or down. Slope shift tilts the line. A model with both lets groups differ in starting level and in the effect of X. Example: the return to education differs between men and women if δ 2 is significant.

Chow test

  • Four seasons (spring, summer, autumn, winter): include three dummies. With all four, the dummies sum to exactly 1 for every observation. The data matrix then cannot be inverted, so perfect multicollinearity appears.
  • Gender: include one dummy, for example male = 1. Zero then means female, the^ reference group. Including both male and female dummies makes male + female = 1 for all observations, which also causes multicollinearity.

Further explanation Symptoms (from your study guide): high R^2 and a significant F-test, but insignificant individual t-ratios and coefficient signs that look wrong. Pairwise correlations above about 0.8 and a variance inflation factor (VIF = 1/(1 − Rj^2 )) above 10 signal serious collinearity. Why the trap fails: the intercept column of ones equals the sum of the dummy columns, which is an exact linear relationship.

8.2 Heteroscedasticity

Homoscedasticity means constant (equal) variance of the error: Var(ui | Xi) = σ^2 for every value of X. This is a requirement of OLS. Heteroscedasticity means the error variance is not equal across observations: Var(ui) = σi^2. It varies with the explanatory variable, so it is a problem.

Picture. Imagine the regression line with points scattered around it. Under homoscedasticity the scatter forms a band of constant width, shaped like a rectangle, with outer boundaries parallel. Under heteroscedasticity the band widens as X grows, like a funnel or cone, and the spread of Y around the line changes. Your teacher said he would send a picture.

Causes your teacher gave

1. Wrong functional form or wrong data transformation. Example: using a linear form when a logarithmic form is correct. 2. Skewness in the distribution of an explanatory variable. Income and wealth distributions skew to one side. This makes error variance uneven. 3. Omitted important variables. The leftover variables fall into the error term. If their spread changes with X, the error variance changes with X as well. Your teacher noted other causes exist.

Further explanation Effect (from your study guide): OLS coefficients stay unbiased, but the usual standard errors become wrong, so t-tests and F-tests lose reliability. Example of the pattern: household spending. Poor households spend about the same amount, while rich households spend very different amounts. The band around the line widens with income.

Check against your slides Your teacher called homoscedasticity assumption 4 in session 2, but listed it as assumption 6 in session 1, and noted lecturer slides differ in numbering. Learn the content, not the number.

8.3 Autocorrelation (serial correlation)

The OLS standard is serial independence : the error in one observation is independent of the error in another, so Cov(ui, uj) = 0. Your teacher placed this around assumption 5. Autocorrelation violates the rule: errors correlate with each other across time.

Example. A shock occurring at time t also affects the data at time t + 1. The errors then do not stay independent.

Causes your teacher gave

1. Time series data. Variables such as GDP, CPI, output, and employment follow the business cycle. Recoveries and recessions last through many quarters or years. An early value influences later ones, so errors across observations are not independent. This is why autocorrelation shows up mostly in time series. 2. Wrong functional form. Example: turning a nonlinear relationship into a linear one. Residuals then lie in runs (long stretches above, then below) around the fitted line. 3. Wider phenomena. Your teacher told you to read about one more, which the transcript renders as 'cop phenomenon.' It is probably the cobweb phenomenon (supply responding to last period's price). He asked you to look it up on your own.

Further explanation Durbin-Watson statistic (study guide): d near 2 means no autocorrelation, d near 0 means strong positive autocorrelation, d near 4 means strong negative autocorrelation. Positive autocorrelation, where a high error follows a high error, is the most common form in economics.

8.4 Detection and remedies: how deep to study

Your teacher said each of the lecturer's four classes received different instructions. He is unsure whether detection will appear on the exam, and he called the methods complex. His advice:

  • Skim the detection tests. Learn which test belongs to which problem.
  • Do not memorize the mechanics or the logic behind each test.
  • Expect multiple-choice questions like: 'My regression has heteroscedasticity. Which test should I use?' with four test names. You pick the correct name.
  • Expect no question handing you data and asking you to run a test.

Further explanation Test names by problem (from your study guide). Multicollinearity: pairwise correlations, VIF. Heteroscedasticity: Park, Glejser, Breusch-Pagan, White. Autocorrelation: Durbin-Watson. Study these names and the problem each one targets. Common remedies: more data or dropping a variable for multicollinearity, robust standard errors or weighted least squares for heteroscedasticity, and GLS or Newey-West standard errors for autocorrelation.

Part 9. Worked essay exercise: chicken demand

Your teacher solved the exercise from the lecturer. He said the lecturer's exams look like this one, and it is the essay part. Y is per capita chicken consumption. X 2 is real disposable income per capita. X 3 is the price of chicken. Model 1 is a log-log model, and it is the unrestricted model.

Question 1. Interpret the coefficients

Income, ln X 2 , coefficient 0.3426.

  • Because both sides are in logs, the coefficient is an elasticity. A 1% rise in real income raises chicken consumption by about 0.3426%, holding prices and other variables constant.
  • This is the^ income elasticity. It is positive and below 1, so chicken is a^ normal good , and demand is income inelastic.
  • The t-statistic is 4.11 and the p-value is about 0.01, below 0.05, so the coefficient is significant.

Price of chicken, ln X 3 , coefficient −0.5046.

3 The sign is wrong. The composite price represents a substitute price, so its effect on chicken consumption should be positive.

4 The principle of parsimony prefers the simpler model with fewer variables. The extra variable adds complexity and no explanation.

Your teacher added a rule: higher adjusted R^2 signals a better model, but only if the gain is meaningful. A tiny rise is still useless.

Further explanation Plain R^2 rises when you add a variable even if the variable is irrelevant. This is why adjusted R^2 , significance, expected sign, and parsimony make the case, not R^2 alone. Use all four whenever an essay asks you to compare models.

Part 10. Exam advice, schedule, formulas, and

checklist

What your teacher said about the exam

  • Exam day: the 16th. A further session is planned on the 14th with more essay practice and an AI-generated practice exam.
  • Multiple-choice theory carries the most marks.^ Study from the test bank. Your teacher said this part earns or loses the most points.
  • Essays^ follow the chicken exercise pattern: interpret coefficients, calculate, t-test, F-test, and compare models. These are the easiest marks. Memorize the t, F, R^2 , and adjusted R^2 formulas.
  • Do not study detection tests for the three problems in depth (Part 8.4). Know test names and the problem each addresses.
  • The lecturer does not intend to make the essays hard. Success depends on studying and understanding.
  • Your teacher said the courses continue later with accounting, then panel data.

Formula sheet

Item Formula

OLS slope β-hat 2 = Sxy/Sxx = (ΣXY − n·X̄·Ȳ) / (ΣX^2 − n·X̄^2 )

OLS intercept β-hat 1 = Ȳ − β-hat 2 ·X̄

Residual û = Y − Ŷ

Decomposition TSS = ESS + RSS

R^2 ESS/TSS = 1 − RSS/TSS

Adjusted R^2 1 − (1 − R^2 )(n − 1)/(n − k), k = parameters

t-statistic (β-hat − hypothesized) / se(β-hat), df = n − k

F overall [ESS/(k − 1)] / [RSS/(n − k)] = [R^2 /(k − 1)] / [(1 − R^2 )/(n − k)]

F restricted vs unrestricted [(RSSr − RSSur)/m] / [RSSur/(n − k)]

Equal coefficients t = (β-hat 3 − β-hat 4 ) / se(β-hat 3 − β-hat 4 )

Variance of a difference Var(β-hat 3 ) + Var(β-hat 4 ) − 2·Cov(β-hat 3 , β-hat 4 )

Chow test [(RSSpooled − RSS 1 − RSS 2 )/k] / [(RSS 1 + RSS 2 )/(n − 2k)]

Dummy rule m categories need m − 1 dummies

Last-minute checklist

  • Explain linear in parameters with one example and one counterexample.
  • State the PRF, the SRF, and the meaning of û.
  • Compute β-hat 1 and β-hat 2 from sums.
  • List the five residual properties.
  • List the classical assumptions and say what BLUE means.
  • Compute R (^2). Explain why adjusted R (^2) exists.
  • Run a t-test with the correct tail and the correct degrees of freedom.
  • Run an F-test for overall significance and a restricted versus unrestricted F-test.
  • Test equality of two coefficients.
  • Explain intercept shift and slope shift, and the m − 1 dummy rule.
  • State the cause of each problem: multicollinearity, heteroscedasticity, autocorrelation.
  • Interpret a log-log coefficient as an elasticity, with 'holding other variables constant.'
  • Compare two models using adjusted R

(^2) , significance, sign, and parsimony.