Xycoon logo
Least Squares
Home    Site Map    Site Search    Xycoon College    Free Online Software    
horizontal divider
vertical whitespace

Ordinary Least Squares for Multiple Regression

[Home] [Up] [Introduction] [Criterion] [OLS] [Assumptions] [Inference] [Multiple Regression] [MLE] [OLS]


II.II.1 OLS for Multiple Regression

The general linear statistical model can be described in matrix notation as

(II.II.1-1)

where y is a stochastic T*1 vector, X is a deterministic (exogenous) T*K matrix, b is a K*1 vector of invariant parameters to be estimated by OLS, e is a T*1 disturbance vector, T is the number of observations in the sample, and K is the number of exogenous variables used in the right hand side of the econometric equation.

It is furthermore assumed that

(II.II.1-2)

which is the equivalent matrix expression of the weak set of assumptions under section II.I.3.

The least squares estimator minimizes e'e (the sum of squared residuals).

Solving the normal equations X'Xb = X'y with respect to b yields

(II.II.1-3)

where X'X must be a non singular symmetric K*K matrix!

Obviously, the OLS estimator is unbiased

(II.II.1-4)

since E(X'e) = 0 by assumption (X is exogenous). This result can be proved quite easily. Note that if X is not exogenously given (thus stochastic) the small sample property of unbiasedness only holds if E(X'e) = 0.

Under the assumption of OLS it can be proved that the covariance matrix of the parameters is

(II.II.1-5)

The Gauss-Markov theorem states that if

(II.II.1-6)

then any other estimator

(II.II.1-7)

has a parameter covariance matrix which is at least as large as the covariance matrix of the OLS parameters

(II.II.1-8)

This important theorem therefore proves that the OLS estimator is a best linear unbiased estimator (BLUE).

If D* is a K by T matrix which is independent from y and if

(II.II.1-9)

the parameter vector is by definition a linear estimator, and if

(II.II.1-10)

then it follows that

(II.II.1-11)

Evidently, it follows from (II.II.1-11) that the parameter vector can only be unbiased if DX = 0 and if E(D*e) = 0.

Now what happens to the covariance matrix of this estimator? Obviously, we find

(II.II.1-12)

which proves the theorem (on comparing (II.II.1-12) with (II.II.1-5); Q.E.D.).

It can be proved that

(II.II.1-13)

which states that the OLS estimator of the variance is unbiased.

The operational formula for calculating the variance is

(II.II.1-14)

The prediction of y values outside the sample range is

(II.II.1-15)

which is an unbiased prediction function

(II.II.1-16)

Example of extrapolation forecast

The point forecast error can be found as

(II.II.1-17)

whereas the average forecast error is equal to

(II.II.1-18)

The degree of explanation can be measured by the determination coefficient (R-squared) or by the F-statistic which is defined as

(II.II.1-19)

and

(II.II.1-20)

and

(II.II.1-21)

where the F statistic is valid for all ß coefficients except for the constant term.

To test the significance of a subset of m parameters (out of a total number of K) the following F test is used

(II.II.1-22)

which is in fact a generalization of (II.II.1-21).

The parameter estimation of a multiple and a simple regression are related to each other. It is also possible to prove that if all explanatory variables are independent (orthogonal), there is no difference between multiple and simple regression coefficients. Assume

(II.II.1-23)

then it is easily deduced from (II.II.1-23) that any multiple regression parameter can be computed by

(II.II.1-24)

Since it is assumed that the explanatory variables are orthogonal it follows that

(II.II.1-25)

and due to the OLS assumptions we know that

(II.II.1-26)

On substituting (II.II.I-25) and (II.II.1-26) into (II.II.1-24) we obtain

(II.II.1-27)

which proves the theorem (Q.E.D.).

vertical whitespace




Home
Up
Introduction
Criterion
OLS
Assumptions
Inference
Multiple Regression
MLE
OLS
horizontal divider
NEWS FEED from BBC News : Statistical Research
Heavy drinkers 'lie to doctors'Almost two in five people who drink to excess lie to their doctor about how much alcohol they really consume, says a survey.
UK net immigration up to 237,000Net immigration to the UK increased by 46,000 in 2007 to 237,000, according to official statistics.
UK migration: What the figures meanWhat do the 2007 figures tell us about migration and population in the UK?
Tech that trumps traffic tanglesThe location data of satellite navigation systems looks set to improve traffic monitoring and town planning.
EU thumbs-up for 'Polish plumber'Eastern and Central European workers have not distorted labour markets in older EU member states, a new EU report says.
Are we negative about our children?The divide between older and younger generations has sparked a debate about the behaviour of young people in society.
Surviving the property turmoilAs Britain's housing market crisis continues, the downturn is taking its toll on the once-booming rental market on both landlord and tenants alike.
Practice News Day around the UKSchools across the UK are taking part in a practice News Day on 13 November 2008 in preparation for the UK-wide event in March.
'Love handles' risk early deathCarrying extra fat around your middle increases your risk of early death, even if your overall weight is normal, say researchers.
Further jobless increase expectedA rise in UK unemployment expected in official figures later could take the jobless total to its highest level for a decade.
Family suicides on rise in TaiwanAs Taiwan's financial gloom deepens, experts fear the trend for parents taking their lives and that of their children will rise further.
Premature births 'are increasing'There has been a dramatic rise in the number of babies being born prematurely in England, a charity has warned.
Drug 'tricks body to lose weight'Scientists say they have found a drug that can trick the body into burning off fat even when continuing on a high-fat diet.
As it happened: The US votesKeep up with the drama of US election day on 4 November on the BBC News website.
Forces mental illness figures outFigures show nearly 4,000 new cases of mental health disorder were diagnosed among armed forces personnel last year.
Q&A: Alcohol and pregnancyA new study is published, showing children born to women who drink a small amount of alcohol during pregnancy are not at increased risk of behavioural problems.
Tsunami in 2004 'not the first'Research on sediments on Indian Ocean shores reveals centuries-old evidence of large tsunami in the region.
Civil service absence off targetSickness absence levels in Northern Ireland's civil service are still not meeting government targets, statistics show.
Parties chase Asia-Pacific voteVoters in the Asian American and Pacific Islander communities could could play pivotal roles in key election states, Rajesh Mirchandani reports.
The UK is on recession watchBBC economics editor Hugh Pym explains why we are probably in a recession, even though official data has yet to show it.
horizontal divider

© 2000-2008 - Office for Research, Development, and Education (called ORDE) - All rights reserved. This website is published by ORDE and owned by Resa R&D. This includes: html content, graphical illustrations (gif, jpg, and png files), computer software, online or electronic documentation, associated media, and printed materials. All Photographs (jpg files) are the property of Corel Corporation, Microsoft and their licensors. ORDE has acquired a non-transferable license to use these pictures in this website.
The free use of the scientific content in this website is granted for non commercial use only. In any case, the source (url) should always be clearly displayed. Under no circumstances are you allowed to reproduce, copy or redistribute the design, layout, or any content of this website (for commercial use) including any materials contained herein without the express written permission of ORDE.

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. ORDE uses reasonable efforts to include accurate and timely information and periodically updates the information without notice. However, ORDE makes no warranties or representations as to the accuracy or completeness of such information, and it assumes no liability or responsibility for errors or omissions in the content of this web site. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall ORDE be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.

Contributions and Scientific Research: Prof. Dr. E. Borghers, Prof. Dr. P. Wessa
Please, cite this website when used in publications: Xycoon (or Authors), Statistics - Econometrics - Forecasting (Title), Office for Research Development and Education (Publisher), http://www.xycoon.com/ (URL), (access or printout date).
Facilities, development, and design: Office for Research, Development, and Education

Comments, Feedback, Bugs, Errors | Privacy Policy Web Awards