1.09k likes | 1.23k Views
Stats 443.3 & 851.3. Linear Models. Instructor:. W.H.Laverty. Office:. 235 McLean Hall. Phone:. 966-6096. Lectures:. M W F 9:30am - 10:20am Geol 269 Lab 2:30pm – 3:30 pm Tuesday. Evaluation:. Assignments, Term tests - 40% Final Examination - 60%.
E N D
Stats 443.3 & 851.3 Linear Models
Instructor: W.H.Laverty Office: 235 McLean Hall Phone: 966-6096 Lectures: M W F 9:30am - 10:20am Geol 269 Lab 2:30pm – 3:30 pm Tuesday Evaluation: Assignments, Term tests - 40%Final Examination - 60%
Independent variables Dependent Variables Categorical Continuous Continuous & Categorical Categorical Multiway frequency Analysis (Log Linear Model) Discriminant Analysis Discriminant Analysis Continuous ANOVA (single dep var) MANOVA (Mult dep var) MULTIPLE REGRESSION (single dep variable) MULTIVARIATE MULTIPLE REGRESSION (multiple dependent variable) ANACOVA (single dep var) MANACOVA (Mult dep var) Continuous & Categorical ?? ?? ?? A chart illustrating Statistical Procedures
A Review of Linear Algebra With some Additions
Matrix Algebra Definition An n × m matrix, A, is a rectangular array of elements n = # of columns m = # of rows dimensions = n × m
Definition A vector, v,of dimension n is an n × 1matrix rectangular array of elements vectors will be column vectors (they may also be row vectors)
A vector, v,of dimension n can be thought a point in n dimensional space
v3 v2 v1
Matrix Operations Addition Let A = (aij) and B = (bij) denote two n × m matrices Then the sum, A + B, is the matrix The dimensions of A and B are required to be bothn × m.
Scalar Multiplication Let A = (aij) denote an n × m matrix and let c be any scalar. Then cA is the matrix
Addition for vectors v3 v2 v1
Scalar Multiplication for vectors v3 v2 v1
Matrix multiplication Let A = (aij) denote an n × m matrix and B = (bjl) denote an m × k matrix Then the n × k matrixC = (cil) where is called the product of A and B and is denoted by A∙B
In the case that A = (aij) is an n × m matrix and B = v = (vj) is an m × 1vector Then w =A∙v = (wi) where is an n × 1vector w3 v3 w2 v2 w1 v1
Definition An n × n identity matrix, I, is the square matrix Note: • AI = A • IA = A.
Definition (The inverse of an n × n matrix) Let Adenote the n × n matrix Let Bdenote an n × n matrix such that AB = BA = I, If the matrix B exists then A is called invertibleAlso B is called the inverse of A and is denoted by A-1
Note: Let A and B be two matrices whose inverse exists. Let C = AB. Then the inverse of the matrix C exists and C-1 = B-1A-1. Proof C[B-1A-1] = [AB][B-1A-1] = A[BB-1]A-1 = A[I]A-1 = AA-1=I
The Woodbury Theorem where the inverses
Proof: Let Then all we need to show is that H(A + BCD) = (A + BCD) H = I.
The Woodbury theorem can be used to find the inverse of some pattern matrices: Example: Find the inverse of the n × n matrix
where hence and
Thus Now using the Woodbury theorem
and This verifies that we have calculated the inverse
Block Matrices Let the n × m matrix be partitioned into sub-matrices A11, A12, A21, A22, Similarly partition the m × k matrix
The Inverse of Blocked Matrices Let the n × n matrix be partitioned into sub-matrices A11, A12, A21, A22, Similarly partition the n × n matrix Suppose that B = A-1
Hence From (1) From (3)
Hence or using the Woodbury Theorem Similarly
From and similarly
Summarizing Let Suppose that A-1 = B then
Example Let Find A-1 = B
The transpose of a matrix Consider the n × m matrix, A then the m × n matrix, (also denoted by AT) is called the transpose of A
Symmetric Matrices • An n × n matrix, A, is said to be symmetric if Note:
The trace and the determinant of a square matrix Let A denote then n × n matrix Then