Introduction to Econometrics Chapt 1,2,3
Introduction to Econometrics Chapt 1,2,3
Introduction to Econometrics Chapt 1,2,3
The term "regression" was first coined by Sir Francis Galton in the late
19th century. Galton observed that the height of offspring tended to
"regress" or move closer to the average height of the population,
rather than exceeding the height of their parents.
Examples
Types of Data
Panel data: data collected over time for multiple individuals or units.
Here's an example:
Y = β₁ + β₂X + ε
where:
Y = sales of the product
β₂ = slope coefficient
Y = 100 + 0.05X + ε
Note that the PRF describes the relationship between X and Y for the
entire population of companies in the industry.
Y = β₁ + β₂X + ε
where ε is a stochastic disturbance term.
The stochastic disturbance term (ε) represents the random factors that
affect the relationship between X and Y.
Here's an explanation:
Formula
Ŷ = b₀ + b₁X
where:
Ŷ = predicted value of Y
X = independent variable
Estimation of SRF
Ŷ = 120 + 0.03X
Note that the SRF is an estimate of the PRF, and the estimated
coefficients (b₀ and b₁) may not be exactly equal to the true population
parameters (β₁ and β₂).
The relationship between the amount of rainfall (X) and the yield of
crops (Y).
The relationship between the price of a house (X) and its size (Y).
10 50
20 70
30 90
40 110
50 130
Ŷ = 20 + 2X
This SRF indicates that for every additional inch of rainfall, the crop yield
increases by 2 units, on average.
100,000 1000
150,000 1200
200,000 1500
250,000 1800
300,000 2000
Ŷ = 500 + 0.5X
This SRF indicates that for every additional dollar spent on a house, the
size of the house increases by 0.5 square feet, on average.
A 100 1000
B 200 1200
Company Advertising (X) Sales (Y)
C 300 1500
D 400 1800
E 500 2000
Y = β₁ + β₂X + ε
where:
β₂ = slope coefficient
To find the values of the parameters β₁ and β₂, we can use the method of
ordinary least squares (OLS). Here are the steps:
Step 1: Calculate the means of X and Y
Company X Y X - X̄ Y - Ȳ
C 300 1500 0 0
= 250,000 / 50,000
=5
Step 4: Calculate the intercept term β₁
β₁ = Ȳ - β₂X̄
= 1500 - 5(300)
= 1500 - 1500
=0
β₁ = 0
β₂ = 5
Y = 0 + 5X
Or simply:
Y = 5X
X̄ = (2 + 4 + 6 + 8 + 10) / 5 = 6
Ȳ = (40000 + 50000 + 60000 + 70000 + 80000) / 5 = 60000
Employee X Y X - X̄ Y - Ȳ
A 2 40000 -4 -20000
B 4 50000 -2 -10000
C 6 60000 0 0
D 8 70000 2 10000
E 10 80000 4 20000
= 120000 / 20
= 6000
b₀ = Ȳ - b₁X̄
= 60000 - 6000(6)
= 60000 - 36000
= 24000
Ŷ = b₀ + b₁X
= 24000 + 6000X
The Gauss-Markov theorem states that the OLS estimator is the best
linear unbiased estimator (BLUE) of the true parameter value.
Here's an explanation:
Interpretation of r²
0 < r² < 1 indicates that the regression model explains some, but
not all, of the variation in the dependent variable.
Example
r² = 1 - (SSE / SST)
where:
X Y
1 2
2 4
3 6
4 8
5 10
Ŷ = 1 + 1.8X
Another example:
X Y
2 3
4 5
6 7
8 9
10 11
Ŷ = 1 + 0.9X
1. Specify the model: Define the statistical model that you want to
study, including the parameters of interest.
4. Repeat the process: Repeat steps 2-3 many times (e.g. 1000
times) to generate a large number of estimates.
where:
Ŷᵢ = β₀ + β₁Xᵢ
where:
β₀ = Ȳ - β₁X̄
where:
X̄ is the mean of X
Ȳ is the mean of Y
Here's an explanation:
3A.2 Linearity and Unbiasedness Properties of Least-Squares
Estimators
Linearity Property
β̂₀ = Ȳ - β̂₁X̄
Unbiasedness Property
Assumptions
Variance of β̂₁
Var(β̂₁) = σ² / Σ(Xᵢ² - X̄ ²)
where:
Variance of β̂₀
where:
where:
Note that the standard errors of β̂₁ and β̂₀ are used to construct
confidence intervals and perform hypothesis tests.
X Y
2 4
4 6
6 8
8 10
X Y
10 12
X Y
1 3
2 5
X Y
3 7
4 9
5 11
6 13
7 15
8 17
9 19
10 21
Chapter Solutions
Step 1 of 17
Consumer Price Index measures the weighted average of prices of consumer goods and services
purchased in an economy. Table 1.1 gives data on Consumer Price index of 7 countries during period
of 1980-2005, with 100 as the base of index during 1982-84.
Step 2 of 17
a.
Inflation rate is measure of rate of increase in price level in an economy over a period of time.
To find inflation rate of current year, subtract CPI of previous year from CPI of current year, divide the
difference by CPI of previous year. And multiply the result by 100.
CPI of country U in 1980 is 82.4 and CPI in 1981 is 90.0. Inflation rate of country U in 1981 is given
by,
Step 4 of 17
b.
Plot the inflation rate of the 7 countries for each year, using Table1.2. The vertical axis shows inflation
rate and horizontal axis shows time.
Step 5 of 17
c.
The graph 1.1, which shows inflation rate of the 7 countries, can be divided into 4 periods. Separate
conclusions can be drawn for each period.
From 1981 to 1986, the inflation rate of countries is generally declining. From 1987 to 1990, inflation
rate of countries is generally rising. From 1991 to 1994, inflation rate of countries is generally
declining. And from 1995 to 2005, inflation rate of countries is generally constant.
Step 6 of 17
d.
Standard deviation can be used to measure variability in inflation rate of each country over time. It
measures the variability of data of a group from mean value of the group.
Formula of standard deviation σ is,