week10 - Analysis of Variance in Matrix form The ANOVA...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
STA302/1001 - week 10 1 Analysis of Variance in Matrix form The ANOVA table sums of squares, SSTO, SSR and SSE can all be expressed in matrix form as follows….
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
STA302/1001 - week 10 2 Multiple Regression A multiple regression model is a model that has more than one explanatory variable in it. Some of the reasons to use multiple regression models are: Often multiple X ’s arise naturally from a study. We want to control for some X ’s Want to fit a polynomial Compare regression lines for two or more groups
Background image of page 2
STA302/1001 - week 10 3 Multiple Linear Regression Model In a multiple linear regression model there are p predictor variables. The model is This model is linear in the β ’s. The variables may be non-linear, e.g., log( X 1 ), X 1 * X 2 etc. We need to estimate p +1 β ’s and σ 2 . There are p +2 parameters in this model and so we need at least that many observations to be able to estimate them, i.e., need n > p +2. n i X X X Y i p i p i i i ..., , 1 , 2 2 1 1 0 = + + + + + = ε β
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
STA302/1001 - week 10 4 Multiple Regression Model in Matrix Form In matrix notation the multiple regression model is: Y=Xβ + ε where Note, Y and ε are vectors, β is a vector and X is a matrix. The matrix X is called the ‘design matrix’. The Gauss-Markov assumptions are: E ( ε | X ) = 0 , Var( ε | X ) = σ 2 I . These result in E ( Y | X ) = 0 , Var( Y | X ) = σ 2 I . The Least-Square estimate of β is = = = = p n n p p p n n X X X X X X Y Y Y 1 2 21 1 11 1 0 2 1 2 1 1 1 1 , , , X Y β ε ( 29 . ' ' 1 Y X X X b - = 1 × n ( 29 1 1 × + p ( 29 1 + × p n
Background image of page 4
5 Estimate of σ 2 The estimate of σ 2 is: It has n-p -1 degrees of freedom because… Claim: s 2 is unbiased estimator of σ 2 . Proof:
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 07/15/2011.

Page1 / 18

week10 - Analysis of Variance in Matrix form The ANOVA...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online