SP Anova Lect 3
SP Anova Lect 3
SP Anova Lect 3
Experiments
General Linear Hypothesis and Analysis of Variance
:::
Lecture 3
Regression and Analysis of Variance Models
Shalabh
Department of Mathematics and Statistics
Indian Institute of Technology Kanpur
Var (Yi ) 2 .
2
Regression model for the general linear hypothesis:
E ( i ) 0 V ar ( i ) 2
and Cov ( i , j ) 0(i j ).
3
Regression model for the general linear hypothesis:
4
Regression model for the general linear hypothesis:
5
Regression model for the general linear hypothesis:
In the context of analysis of variance and design of experiments,
the matrix X is termed as the design matrix;
unknown 1 , 2 ,..., p are termed as effects,
the covariates X 1 , X 2 ,..., X p , are counter variables or indicator
variables where xij counts the number of times the effect j
occurs in the ith observation xi .
xij mostly takes the values 1 or 0 but not always.
The value xij = 1 indicates the presence of effect j in xi and xij
= 0 indicates the absence of effect j in xi.
6
Regression model for the general linear hypothesis:
Note that in the linear regression model, the covariates are usually
continuous variables.
When some of the covariates are counter variables, and rest are
continuous variables, then the model is called a mixed model and
is used in the analysis of covariance.
7
Relationship between the regression and ANOVA models:
The same linear model is used in the linear regression analysis as
well as in the analysis of variance.
Y 0 X 1 1 X 2 2 ... X p p
8
Relationship between the regression and ANOVA models:
In the case of analysis of variance model,
• the one‐way classification considers only one covariate,
• two‐way classification model considers two covariates,
• three‐way classification model considers three covariates and
so on.
9
Relationship between the regression and ANOVA models:
If and denote the effects associated with the covariates
X, Z and W which are the counter variables, then in
One‐way model: Y X
Two‐way model: Y X Z
10
Relationship between the regression and ANOVA models:
Consider an example of agricultural yield. The study variable
denotes the yield which depends on various covariates X1,X2,…,Xp .
11
Relationship between the regression and ANOVA models:
Now consider the case of one‐way model and try to understand
its interpretation in terms of the multiple regression model.
12
Relationship between the regression and ANOVA models:
The linear model now can be expressed as
Y 0 1 X 1 2 X 2 ... p X p
by defining
and so on.
14
Relationship between the regression and ANOVA models:
and so on.
15