Documente Academic
Documente Profesional
Documente Cultură
Statistical Analysis
Chang xinfeng
Department of statistics
What Is Multivariate Analysis?
controllable factors
input output
Process
uncontrollable factors
Why to Learn Multivariate Analysis?
Principal Components
8
Major Uses of Multivariate Analysis
9
What is a Multivariate Data Set?
10
Example
x1
X x2
x
3
11
Example
xi1
175
X i xi 2 25.5
x 27.0
i 3
12
Definitions of Matrix and Vector
A matrix is two-dimensional array of numbers of
formulas.
A vector is a matrix with either only one column
or only one row.
A column vector has only one column.
A row vector has only one row.
13
Definitions of Matrix and Vector
14
Definitions of Matrix and Vector
15
Example
Example 2 A selection of four receipts from a university bookstore
was obtained in order to investigate the nature of book sales. Each re
ceipt provided, among other things, the number of books sold and the
total amount of each sale. Let the first variable be total dollar sales an
d the second variable be number of books sold. Then we can regard t
he corresponding numbers on the receipts as four measurements on t
wo variables. Suppose the data, in tabular form, are
16
A data matrix
42 4
52 5
X
48 4
58 3
17
The Data Matrix in Multivariate Problems
18
Example
19
Example
41 26
39 26
53 21
X
67 33
61 27
67 29
xi1
xi
xi 2
21
Note
Considering data in the form of matrix facilitates the
exposition of the subject matter and allows numerical
calculations to be performed in an orderly and efficient
manner.
23
Transpose of a Matrix
24
Symmetric Matrices
25
Symmetric Matrices
26
Adding Two Matrices
27
Multiplying a Matrix by a Scalar
28
Multiplication of Matrices
29
Multiplication of Matrices
30
Multiplication of Matrices
31
Multiplication of Matrices
32
The Identity Matrix
1 0 0
I 0 1 0
0 0 1
33
Matrix Inverse
34
Matrix Inverse
a11 a12
For A
a21 a22
the inverse is
1 1 a22 a12
A
a11a22 a12 a21 a21 a11
35
Matrix Inverse
10 6
For A
8 5
the inverse is
1 1 5 6 1 5 6 2.5 3
A
10 5 6 8 8 10 2 8 10
4 5
36
Matrix Inverse
37
Orthogonal matrix
38
Determinant
39
Eigenvalues and eigenvectors
A I 0
Definition:
The corresponding eigenvectors e1, e2, ...,ep are obtained
by solving the expression below:
( A j I )e j 0
40
Eigenvalues and eigenvectors
e j e j 1
41
Eigenvalues and eigenvectors
1 5
A
5 1
42
Eigenvalues and eigenvectors
1 5 1 0
A I 0
5 1 0 1
1 5
(1 )(1 ) (5) (5) 0
5 1
43
Eigenvalues and eigenvectors
1 6 2 4
( A j I )e j 0
44
Eigenvalues and eigenvectors
1 j 5 e j1 0
5 1 j e j 2 0
e e 1
2
j1
2
j2
we get
1 1
2 2
e1 e2
1 1
2
2
45
Eigenvalues and eigenvectors
46
Homework
P103:
2.2 2.3 2.5 2.8 2.9 (a) 2.24
47