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

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...

Microeconomics: Shift in Supply

We recently talked about the factors that cause a shift in the demand. It is now time to discuss the factors that shift the supply curve which cause the equilibrium price and demand to change. Determinants of Supply: changes in supply are caused by changes in the price of inputs, the number of firms in the market, technology, changes in the price of related goods and services, and changes in expected prices. An increase (decrease) in the price of an input results in less (more) supply as per unit production costs rise (fall). More competition increases supply, and less competition leads to less supply. If a new firm enters the market for good X, then the supply of good X increases. Improvement in technology can result in an increase in the ability of producers to supply their products. For example, the invention of the printing press increased the supply of books. An increase (decrease) in the price of a related good leads to an increase (decrease) in the supply of the other...

Microeconomics: Supply

I recently talked about demand, it is time to now explain and define what supply is in a basic economic model. Supply: producer's willingness and ability to sell a good or service at various prices that exist in the market at a given time. Law of Supply: producers want to offer higher quantities for sale at higher prices. Increasing marginal cost: The cost of production increases for each additional unit produced. This is caused by two factors: As production of a good increases, firms bring factors of production that are not optimized to make the good in question.  Firms experience diminishing return when they increase production. This is mainly due to the factors of production that are fixed in the short run (i.e: machines, land, the size of the factory, etc...). Thereby, each additional worker will increase the production by successively less and less. Supply can be displayed as an upward sloping curve which illustrates the law of supply. ...