Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
y
of Variance and
Design of Experiments
Experiments--I
MODULE - I
LECTURE - 1
2
We need some basic knowledge to understand the topics in analysis of variance.
Vectors
A vector Y is an ordered n-tuple of real numbers. A vector can be expressed as row vector or a column vector as
y1
y
Y = 2
#
yn
and
x1
y1
z1
x2
y2
z
X=
, Y=
, Z = 2
#
#
#
xn
yn
zn
then
x1 + y2
ky1
x2 + y2
k 2
ky
X +Y =
, kY =
#
xn + yn
kyn
3
X + (Y + Z ) = ( X + Y ) + Z
X '(Y + Z ) = X ' Y + X ' Z
k ( X ' Y ) = ( kX ) ' Y = X '( kY )
k ( X + Y ) = kX + kY
X ' Y = x1 y1 + x2 y2 + ... + xn yn
where k is a scalar.
Orthogonal
g
vectors
Two vectors X and Y are said to be orthogonal if X ' Y = Y ' X = 0.
The null vector is orthogonal to every vector X and is the only such vector.
Linear combination
if x1 , x2 ,..., xm are m vectors of same order and k1 , k2 ,..., km are scalars, Then
m
t = ki xi
i =1
4
Linear independence
If X 1 , X 2 ,..., X m are m vectors then they are said to be linearly independent if there exist scalars k1 , k 2 ,..., k m
such that
m
k X
i =1
kx
i =1
be linearly dependent
dependent.
5
Linear function
Let K = (k1 , k 2 ,..., k m ) ' be a m 1 vector of scalars and X = ( x1 , x2 ,..., xm ) be a m 1 vector of variables, then
K 'Y =
i =1
k i y i is called a linear function or linear form. The vector K is called the coefficient vector.
For example,
example mean of x1 , x2 ,..., xm can be expressed as
x1
x
1 m
1
1
x = xi = (1,1,...,1) 2 = 1'm X
# m
m i =1
m
xm
'
where 1m is a m 1 vector of all elements unity.
Contrast
The linear function K ' X =
k x
i =1
i i
k
i =1
= 0.
x1 x2 , 2 x1 3 x2 + x3 ,
are contrasts.
x
x1
x2 + 3
2
3
m
1 m
xi .
m i =1
Matrix
A matrix is a rectangular array of real numbers. For example,
a11
a21
#
am1
a22 ... a2 n
#
#
am 2 ... amn
7
If A and B are matrices of order m n then
A( B + C ) = AB + AC.
If the orders of matrices A is m x n, B is n x p and C is p x q then
( AB )C = A( BC ).
If A is the matrix of order m x n then
I m A = AI n = A.
Trace of a matrix
The trace of n x n matrix A, denoted as tr(A) or trace(A) is defined to be the sum of all the diagonal elements of A,
i.e., tr ( A) =
a .
i =1
ii
tr ( AB ) = tr ( BA).
tr ( A) = tr ( P 1 AP ).
)
If P is an orthogonal matrix than tr ( A) = tr ( P ' AP ).
If A and B are n x n matrices, a and b are scalars then
tr ( aA + bB ) = a tr ( A) + b tr ( B )
If A is a m x n matrix, then
n
and
tr ( A ') = trA
Rank
a o
of a matrix
at
The rank of a matrix A of m n is the number of linearly independent rows in A.
Let B be another matrix of order n q.
10
Inverse of matrix
The inverse of a square matrix A of order m, is a square matrix of order m, denoted as
( AB) 1 = B 1 A1.
Idempotent matrix
A square matrix A is called idempotent if A2 = AA = A.
If A is an n n idempotent matrix with rank ( A) = r n. Then
the eigenvalues of A are 1 or 0.
trace ( A ) = rank ( A ) = r .
If A is of full rank n, then A = I n .
If A and B are idempotent and AB = BA, then AB is also idempotent.
If A is idempotent then (I A) is also idempotent and A(I - A) = (I - A) A = 0.