Skip to main content

Econometrics: OLS estimates

 Let X and Y be column vectors and the sample has the size n:


The vector beta contains both the coefficient of X as well as the coefficient for the intercept.


This is equivalent to writing this equation:

We will assume that the expected value of the error term is 0 (this can be done by construction), and that X is uncorrelated to epsilon. Assume the following is for population data.

Let's prove that statement:

Since we know that the covariance between X and epsilon is 0, it follows that the expected value of X times the error term must also be 0.


Since we do not have access to the actual expected value of the distribution, let's use the sample data instead:

  • The hat on the covariance signifies that this is a MM estimator.

Let's use the fact that the sample mean of epsilon is also equal to 0, then:

 

Using the estimation for the covariance and that the expected value of the error term equals 0:

Then we have:


To get this result, you must use the properties of the summation operator.


So far we have found the OLS estimates for beta-0 hat, beta-1 hat. To see why this is called the ordinary least square estimates, let epsilon hat be the residual and defined as follows:


We want to minimize this argument by finding the optimal values of beta-0 hat and beta-1 hat. Take the partial derivatives with respect to beta-0 hat and beta-1 hat and set the functions to 0 and solve for them. We'll get the same result for beta-0 hat and beta-1 hat. Thus, we have minimized the squared residuals.

We finally have our OLS regression line, which is an estimate of the population regression:

  • Note that the hats on the regression parameters signify that they are estimates.

Reference: Wooldridge, Jeffrey. Introductory Econometrics, 3rd edition. Thomson South-Western (2006). p 29-38.

Comments

Popular posts from this blog

Macroeconomics: multiplier and crowding out effects

Multiplier effect: whenever   any of the components of AD increases, the increase in GDP will be greater than the initial increase in expenditures. The impact on GDP of a particular increase in spending depends on the proportion of the new income that is taken out of the system to the proportion that continues to circulate in the economy. The multiplier effect tells us the impact a particular change in one the components of AD will have on the total income (GDP).  Let k denote the spending multiplier, which is a function of MPC and MPS. The larger the marginal propensity to consume, the larger the spending multiplier. Notice that the larger the MPC, the greater the impact a particular change in the spending variables will have on the nation's GDP. The crowding out effect: If government spending increases without an increase in taxes, the government must borrow funds from the private sector to finance its deficit, thereby increasing the interest rate. This increase in interest ...

Exercise: inflation and GDP deflator

You have the following table containing information about country Y's GDP deflator, nominal, and real GDP. If the base year is 2015, fill in the blanks and then find the annual inflation rate for each year. Year  Nominal GDP  GDP Deflator  Real GDP 2015 $23,457 100 $23,457 2016 $25,752 ... $23,943 2017 $25,982 108.1 ... 2018 $26,016 ... $25,431.1 2019 $26,323 105.5 ... Solution: Year  Nominal GDP  GDP Deflator  Real GDP   Inflation rate 2015 $23,457 100 $23,457 n.a 2016 $25,752 107.6 $23,943 7.6% 2017 $25,982 108.1 $24,035.2 0.45% 2018 $26,016 102.3 $25,431.1 -5.37% 2019 $26,323 105.5 $24,950.6 3.13%  GDP deflator for the year 2018: Real GDP for the year 2017: General formula to find real GDP by re-arranging the GDP deflator formula: Notice that the sub-index i is for the year. The (annual) inflation rate is simply the growth rate of prices from a year to its previous year: Inflation rate of the year 2018: Notice that in 2018 country Y experienced...

Microeconomics: Firms and cost in the short run

In Economics, the term short run refers to a time period where at least one variable of interest does not change . In our case, the short run for a firm is when at least one input  (labor, land, capital) stays fixed. Usually land and capital are considered fixed in the short run.  If an input is fixed during a period time, no matter how much the total product a firm produces, its cost stays the same. This cost is commonly known as fixed cost (FC). Examples of fixed costs: rent, property taxes, loan payments. Labor is often considered to be a part of the  variable cost (VC) . Variable cost can be defined as the cost a firm has control over during the short run. Unlike fixed cost, variable cost increases (decreases) as a firm's total product increases (decreases). Examples of variable costs include: utility bills, wages, raw materials A firm's total cost (TC) is the sum of its variable and fixed costs. As you can see, the fixed cost...