Textbook: Methods of Multivariate Analysis 2nd edition, by Alvin C. Rencher

Size: px
Start display at page:

Download "Textbook: Methods of Multivariate Analysis 2nd edition, by Alvin C. Rencher"

Transcription

1 Lecturer: James Degnan Office: SMLC 342 Office hours: MW 1:00-3:00 or by appointment Please include STAT476 or STAT576 in the subject line of the to make sure I don t overlook your . Textbook: Methods of Multivariate Analysis 2nd edition, by Alvin C. Rencher Assessment: Grading will be based homework (roughly 4 assignments in the semester) (30%), two in-class tests (20% each), and a final exam (30%). SAS Programming January 16, / 43

2 We will mostly use R for computing, but may also consider SAS depending on student interest. Solutions to homework can be done in any software package, but it will be easier for me to grade and give partial credit for homework done in R and SAS. Homework For turning in computer-based homework, turn in all computer code used as an appendix only. Do not include computer code as part of your solutions. Figures and tables can be generated from computer output, but solutions must be discussed separately from the output, and the results in the Figures and Tables should be cited in the homework solutions. This will be discussed further in class. Late homework will be penalized 10% per day. All homework must be printed (not ed) and turned in either in class or to my office. Sliding homework under my door is fine. SAS Programming January 16, / 43

3 Topics We ll cover mostly topics from the listed book. Some examples include Reviews of matrix algebra mostly as needed Multivariate distributions, joint PDFs and CDFs, multivariate normal Hotelling s T 2 MANOVA (multivariate ANOVA) MANCOVA (multivariate ANCOVA) Multivariate regression Correlation analysis Cluster Analysis Principal Components Analysis (PCA) Multdimensional Scaling (MDS) Factor Analysis SAS Programming January 16, / 43

4 What does multivariate statistics refer to? How is multivariate analysis different from say, multiple regression? Many statistical models are of the form Response = Predictors + error where the Response is a single (i.e., univariate) random variable and the Predictors consist of multiple variables. Typically the predictors are treated as non-random. This is especially clear in designed experiements, where the predictors are controlled by the experimenter, and the only thing random is the response. SAS Programming January 16, / 43

5 What does multivariate statistics refer to? Often, however, there are covariates among the predictors which are not directly in the experimenter s control. In analysis of variance, you might have multiple treatment groups, such as patients being assigned placebo versus various drugs. The response might be, say total cholesterol level. Covariates might include things like sex and age of the patients in the study, which are not under the experimenter s control, and would lead to an analysis of covariance (ANCOVA). Usually in a model like this, even though the covariates are not controlled, a linear model treats the response as random, but not the predictors, including sex and age of the patients. SAS Programming January 16, / 43

6 What does multivariate statistics refer to? In the previous example, the total cholesterol level was the variable of interest, and understanding variation in cholesterol requires accounting for effects in the covariates, but otherwise the covariates are not of interest. In multivariate techniques, we are usually interested two or more random variables and understanding how they co-vary, their joint distribution, and possibly how they are related to predictors and covariates that are not directly of interest. To take the cholesterol example, we might distinguish between good cholesterol (high density lipoprotein, or HDL), and bad cholesterol (low density lipoprotein, or LDL). If both of these are measured simultaneously, we might want a model that predicts both values as a function of the predictors. SAS Programming January 16, / 43

7 What does multivariate statistics refer to? To continue the cholesterol example, we might have LDL and HDL both as response variables, so that the model looks like this: (HDL,LDL) = Drug + Dose + Age + Sex + error Alternatively, consider this model LDL = HDL + Drug + Dose + Age + Sex + error The first model is multivariate, while the second is not using this terminology, even though both models use the same variables. SAS Programming January 16, / 43

8 What does multivariate statistics refer to? In many statistics problems, multiple measuresments are made on individuals and a somewhat arbitrary decision is made regarding which is the response (and therefore treated randomly) and which are the predictors (treated nonrandomly). In simple linear regression, we think of the x values as nonrandom and the y values as random, but for many examples, particularly in observational data as opposed to designed experiments, both variables are equally random. Historically, regression was invented by Francis Galton (cousin of Charles Darwin of Origin of Species fame) in England. He coined the term regression in analyzing data on heights of parents compared to sons. SAS Programming January 16, / 43

9 Regression of Son s height s on parent s heights SAS Programming January 16, / 43

10 Considering the two heights in a multivariate way, we instead think about the joint distribution of the two variables and consider them both random. SAS Programming January 16, / 43 What does multivariate statistics refer to? In the case of parent s heights versus son s heights, it seems silly to think of one person s height as random while another person s height is nonrandom. On the other hand, it might make more sense to think of parent s heights as predicting their children s heights rather than children s heights as predicting their parents heights. Other examples might be more symmetric, such as heights of husbands versus heights of wives (Galton also analyzes this case, using a 3x3 contingency table with heights classified as Tall, Medium, and Short). A regression here needs to make an arbitrary decision about which of the husband or the wife is considered the random response. Generally, a regression of the husbands heights on the wive s heights will lead to a different trendline than a regression of the wives heights on the husbands heights.

11 Why use multivariate statistics? Apart from the example just given, a justifcation for multivariate techniques in statistics is that we can sometimes get more information from the joint distribution of random variables than by looking at marginal distributions (i.e., the distribution of Y given different levels of X ). Multivariate techniques can be more computationally intensive than univariate techniques, and often matrix methods are used. Techniques such as computing the inverse of a matrix, eigenvalues and eigenvectors, the determinant of a matrix, and singular value decompositions often arise. If data is high-dimensional (lots of variables), it might be particularly difficult to use multivariate techniques. We will often look at cases with fairly low dimensionality. Later in the course, we will also consider methods of dimension reduction. While much of statistics is oriented around statistical inference, a lot of multivariate techniques are concerned with visualization and gaining qualitative insights into data. Consequently, a number of multivariate techniques are descriptive and exploratory rather than inferential. SAS Programming January 16, / 43

12 Matrix review: notation A note on notation. A common convention in statistics is to use upper case Roman letters for random variables and lower case Roman letters for values of random variables (i.e., X versus x in the expression P(X = x)). A very strong convention in mathematics is to use upper case letters for matrices. Depending on the book, the two most common conventions are to either use upper case, (mostly) Roman, bold, nonitalic letters (e.g., A) or to use upper case, (mostly) Roman, italic, nonbold letters (e.g., A). If bold characters are used for matrices, then lower case, bold, nonitalic letters are typically used for vectors (e.g., y). The mathematical convention seems to be the stronger, and in multivariate settings, there is often no notational difference between random and nonrandom objects. SAS Programming January 16, / 43

13 Matrix review: notation Our textbook uses bold, nonitalic letters for matrices and vectors, whether they are random or not, and that is the convention I will follow also. Note that Christensen s books use nonbold, italic characters for matrices and vectors. Greek letters are also sometimes used for vectors to indicate a parameter that is also a vector, such as µ versus µ. SAS Programming January 16, / 43

14 Matrix review Note that chapter 2 of the book has a fairly thorough matrix review which I am following. As an undergraduate, I took Math 321 at UNM rather than Math 314. I found that Math 321 didn t prepare me very well for the matrix algebra needed in statistics in graduate school, although it was good preparation for some other concepts like linear spaces and vector spaces needed for Advanced Linear Models. At some point in grad school, I picked up the textbook being used for Math 314 to give me more practice with more matrix manipuation (as opposed to proofs) and for certain concepts like eigenvectors and eigenvalues. SAS Programming January 16, / 43

15 Matrix review A matrix is a rectangular array of numbers with n rows and p columns. These variables are often used in statistics with n representing the sample size and p the number of parameters (for example, in a regression problem). We index a matrix A by elements a ij where 1 i n and 1 j p. Often we write A = (a ij ) to emphasize the notation. We can think of a column vector as an n 1 matrix and a row vector as a 1 p matrix. If something is written as a vector without specifying whether it is a column vector or row vector, the default assumption is that it is a column vector unless the context requires it to be a row vector. SAS Programming January 16, / 43

16 Matrix review: Transpose A column vector would be written as (for example) x 1 x = x 2 x 3 Just as matrix elements can be indexed by subscripts (and using a nonbold character), so can vectors, such as if x 3 referring to the third element of a vector. The transpose of a matrix or a vector is written with an apostraphe, such as x = (x 1 x 2 x 3 ), x = (x 1 x 2 x 3 ) The transpose of a matrix changes an n p matrix into a p n matrix. If B = A, then b ji = a ij for all 1 i n and 1 j p. SAS Programming January 16, / 43

17 Matrix review: special matrices The transpose of a matrix changes the first column of the old matrix to be the first row of the new matrix, and generally the ith row of the first matrix to be the ith column of the second matrix. Note that (A ) = A. A matrix is square if n = p. A square matrix A is symmetric if and only if a ij = a ji for all i and j. Similarly, A is symmetric if and only if A = A. SAS Programming January 16, / 43

18 Matrix review The diagonal of a square matrix refers to the elements a ii, 1 i n. A diagonal matrix, often written D has 0s for all nondiagonal entries. That is, if D is diagonal, then d ij = 0 for i j. A special function called diag() is used to deal with diagonal matrices. For example, diag(1, 2, 4) = You can also use diag to set all nondiagonal entries to 0. E.g., diag = SAS Programming January 16, / 43

19 Matrix review: special matrices The identiy matrix I plays a role similar to the number 1 in arithmetic and is a square, diagonal matrix with 1s on the diagonal. For any n p matrix A, we have I n n A = A and AI p p. A vector of 1s is denote by j and a matrix of all 1s is denoted by J. The dimension might be clear from context or you can write things like I n n and J 3 3 to help keep track of the dimension. A matrix of 0s is denoted by O. A square matrix is upper triangular if all entries below the diagonal are 0, i.e. if a ij = 0 for i > j. Zeroes on the diagonal are ok. A square matrix is lower triangular if all entries above the diagonal are 0. SAS Programming January 16, / 43

20 Matrix review: matrix operations The most important operations are addition (and substraction), matrix multiplication, and scalar multiplication. If two matrices A and B have the same dimension, then C = A + B is defined by c ij = a ij + b ij. Note that if two matrices, A and B are identical, then a ij = b ij for each i and j, and therefore A B = 0, rather than 0. SAS Programming January 16, / 43

21 Matrix review: matrix operations To multiply two matrices A n p and B p q, the number of columns of the first matrix must equal the number of rows of the second matrix (they are called conformable). The resulting matrix C = A B is defined by c ij = p a ik b kj k=1 You can think of this as the dot product of the ith row of A with the jth column of B. The resulting matrix has dimension n q. This takes a bit of getting used to and can be slow to perform by hand. Even if the product AB is defined, then the product BA is not defined unless the number of columns of B matches the number of rows of A. For example, if A is 2 3 and B is 3 2, then AB is 2 2 and BA is 3 3. If A and B are both n n, then so is their product; however, typically AB is still not equal to BA. SAS Programming January 16, / 43

22 Matrix review: matrix operations In statistics, it is common to work with a design matrix X. Often instead of working with this matrix directly, the matrix X X is used. A useful feature of this matrix is that it is symmetric. A useful review is to give an example and try to prove the general case. As an example, in a regression problem you might have the following: ) 5 2 = ( β0 β 1 + In this problem the design matrix X is the 3 2 matrix. Part of the solution of the regression problem involves X X. We ll compute this product for this example e 1 e 2 e 3 SAS Programming January 16, / 43

23 Matrix review: matrix operations We have C = X X = ( ) SAS Programming January 16, / 43

24 Matrix review: matrix operations Thus, c 11 = = 3 c 12 = = 8 c 21 = = 8 c 22 = = 22 Finally, C = X X = ( ) SAS Programming January 16, / 43

25 Matrix review: matrix operations Something to notice about this answer is that the matrix is square and symmetric (since x 12 = x 21 ) even though X was not square. Can you show that this is true for any matrix X with any number of dimensions? SAS Programming January 16, / 43

26 Matrix review: matrix operations To show that X X is symmetric, if X is n p, then X is p n, and therefore X X is p p., so it is square. We d like to also show that for C = X X, C = C, meaning that C is symmetric. If we look at the elements of C, it is symmetric if c ij = c ji for an arbitrary choice of i and j. Let B = X so that b ij = x ji. Applying the rules for matrix multiplication, Also, c ji = c ij = n b ik x kj = k=1 n b jk x ki = k=1 Thus, C = C, so X X is symmetric. n x ki x kj k=1 n x kj x ki = c ij k=1 SAS Programming January 16, / 43

27 Matrix review: matrix operations A more general property of transposes is that for two conformable matrices, A and B, (AB) = B A Thus, (X X) = X (X ) = X X SAS Programming January 16, / 43

28 Properties of matrix multiplication Most properties of addition and multiplication carry over to matrices, with a few differences. Here are some properties: A(B + C) = AB + AC (Distributive laws) (A + B)C = AC + BC (A + B)(C + D) = AC + AD + BC + BD A(BC) = (AB)C (associativity) for vectors x, y, z (x y) (x y) = x x 2x y + y y The last property relies on the fact that for n 1 vectors, x y = y x, since these products results in single numbers (scalars). SAS Programming January 16, / 43

29 Matrix review Note that if a and b are n 1 vectors, then a b is a scalar (single number): a b = n a i b i i=1 Consequently, a b = (a b) = b a while C = ab is n n. An example is that jj = J n n The length of a vector is a a = n i=1 a2 i. SAS Programming January 16, / 43

30 The inverse of a matrix Another important concept is the inverse of a matrix. If you have a matrix equation such as A = BC You might need to solve for C in terms A and C. For matrices, division isn t defined the way it is for numbers, so we have to do something else. For the equation x = yz where the values are numbers, we normally devide both sides by y. We can think of this as multiplying both sides by the multiplicative inverse of y, which is y 1. This is the approach to take with matrices. SAS Programming January 16, / 43

31 The inverse of a matrix Suppose there is a matrix X such that XB = I, the identity matrix. Then A = BC XA = XBC XA = IC = C We say that X is an inverse of B and write X = B 1. Similar to transposes, (AB) 1 = B 1 A 1. The general idea is that the product of a matrix and it s inverse is the identity matrix with 1s on the diagonal. We won t review general methods of computing inverses by hand, which is tedious except for 2 2 matrices (which we might use later). But you should be able to compute inverses in software. SAS Programming January 16, / 43

32 Matrix operations in R You should be able to do some matrix operations in R, but you should also be to do them in some computer program. We ll go over how to do them in R. First you need to have access to R. This can be downloaded and installed for free on a personal computer, or used in some of the computer pods. You can also use R online (without downloading) at r online.php SAS Programming January 16, / 43

33 Matrix operations in R We ll practice using the regression example from before with y = (452) and predictor x = (3, 2, 3). The design matrix X also has a column of 1s. SAS Programming January 16, / 43

34 Matrix operations in R Operator or Function Description A * B Element-wise multiplication A %*% B Matrix multiplication A %o% B Outer product. AB crossprod(a,b) crossprod(a) A B and A A respectively. t(a) Transpose diag(x) Creates diagonal matrix with elements of x in the principal diag(a) Returns a vector containing the elements of the principal d diag(k) If k is a scalar, this creates a k x k identity matrix. Go solve(a, b) Returns vector x in the equation b = Ax (i.e., A-1b) solve(a) Inverse of A where A is a square matrix. ginv(a) Moore-Penrose Generalized Inverse of A. ginv(a) requires loading the MASS package. y<-eigen(a) y$val are the eigenvalues of A y$vec are the eigenvectors of A y<-svd(a) Single value decomposition of A. SAS Programming January 16, / 43

35 Back to matrix review Another bit of notation that is sometimes conventient is to use a i to denote the ith row of matrix A and b j to denote the jth column of B. Then we can write the ijth element of C = AB as a i b j. The jth column of C is Ab j, and the ith row of C is a i B. SAS Programming January 16, / 43

36 Matrix review: scalar multiplication Multiplying by a scalar results in multiplying each element by the same amount. For ca, the ijth element is ca ij. Since scalar multiplication is commutative, ca = Ac. SAS Programming January 16, / 43

37 Quadratic form A quadratic form is a product of the form y Ay = i a ii y 2 i + i j a ij y i y j A bilinear form is a product of the form x Ay = ij a ij x i y j Since these are both scalars, you can have expressions such as 1 x Ay even though an expression like 1/A is undefined. SAS Programming January 16, / 43

38 Partitioned matrices It s frequently convenient to partitition matrices, like this This can also be represented a 11 a 12 b 11 a 21 a 22 b 21 c 11 c 12 d 11 ( ) A11 A 12 A 21 A 22 where A 11 is 2 2, A 12 is 2 1, A 21 is 1 2, and A 22 is 1 1. SAS Programming January 16, / 43

39 Partitioned matrices If A and B are conformable and are both partitioned so that their partitions are conformable (i.e., A ij and B ij are conformable), then the product can be performed on the submatrices. That is C = AB will have a submatrix C ij which is defined analogously to c ij in the usual matrix multiplication. For example, (Example on board...) SAS Programming January 16, / 43

40 Rank of a matrix The rank of a matrix is the number of linearly independent columns or linearly independent rows. A set of vectors y 1,..., y k is linearly independent if c 1 y c k y k = 0 if and only if c 1 = c k = 0. In other words, if you can find constants c 1,..., c k where at least one of them is nonzero, yet the linear combination is 0, then the vectors are not linearly independent. This occurs for example if two vectors are identical, one vector is the sum of the other two, etc. In statistics, the design matrix X might not have linearly independent columns, in which case we say that X is not of full rank. This can also lead to X X not being invertible, which leads to the need for generalized inverses linear model theory. SAS Programming January 16, / 43

41 Positive definite A matrix A is positive definite if y Ay > 0 for all y 0 and positive semi-definite if y Ay 0 for all y 0. A nice thing about matrices of the form X X is that they are positive definite. To show this, let A = X X. Assume that X is n p and of full rank p < n. Then y Ay = y X Xy = (Xy) (Xy) = z z for z = Xy. (Note that if X is n p and y is p 1, then z is n 1.) Here Xy 0 because Xy is a linear combination of the columns of y, and since X is full rank, then linear combination cannot equal 0. If X is not of full rank, then X X is positive semidefinite instead since you could have Xy = 0. SAS Programming January 16, / 43

42 Cholesky decomposition Matrices like X X are often analogous to squares in algebra. If you go in the other direction, you can think of factoring a square matrix into a product of two matrices, such as A = T T, in which case T is analogous to a square root of A. This can be done using the Cholesky decomposition. SAS Programming January 16, / 43

43 Cholesky Decomposition t 11 = a 11, t 1j = a 1j t11 i 1 t ii = aii t ij = tki 2 k=1 { aij i 1 k=1 t ki t kj t ii 2 j n i < j 0 otherwise SAS Programming January 16, / 43

CS 246 Review of Linear Algebra 01/17/19

CS 246 Review of Linear Algebra 01/17/19 1 Linear algebra In this section we will discuss vectors and matrices. We denote the (i, j)th entry of a matrix A as A ij, and the ith entry of a vector as v i. 1.1 Vectors and vector operations A vector

More information

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

Properties of Matrices and Operations on Matrices

Properties of Matrices and Operations on Matrices Properties of Matrices and Operations on Matrices A common data structure for statistical analysis is a rectangular array or matris. Rows represent individual observational units, or just observations,

More information

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1 1 Rows first, columns second. Remember that. R then C. 1 A matrix is a set of real or complex numbers arranged in a rectangular array. They can be any size and shape (provided they are rectangular). A

More information

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Prof. Tesler Math 283 Fall 2016 Also see the separate version of this with Matlab and R commands. Prof. Tesler Diagonalizing

More information

Appendix A: Matrices

Appendix A: Matrices Appendix A: Matrices A matrix is a rectangular array of numbers Such arrays have rows and columns The numbers of rows and columns are referred to as the dimensions of a matrix A matrix with, say, 5 rows

More information

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Prof. Tesler Math 283 Fall 2018 Also see the separate version of this with Matlab and R commands. Prof. Tesler Diagonalizing

More information

Basic Linear Algebra in MATLAB

Basic Linear Algebra in MATLAB Basic Linear Algebra in MATLAB 9.29 Optional Lecture 2 In the last optional lecture we learned the the basic type in MATLAB is a matrix of double precision floating point numbers. You learned a number

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.7 LINEAR INDEPENDENCE LINEAR INDEPENDENCE Definition: An indexed set of vectors {v 1,, v p } in n is said to be linearly independent if the vector equation x x x

More information

This appendix provides a very basic introduction to linear algebra concepts.

This appendix provides a very basic introduction to linear algebra concepts. APPENDIX Basic Linear Algebra Concepts This appendix provides a very basic introduction to linear algebra concepts. Some of these concepts are intentionally presented here in a somewhat simplified (not

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

B553 Lecture 5: Matrix Algebra Review

B553 Lecture 5: Matrix Algebra Review B553 Lecture 5: Matrix Algebra Review Kris Hauser January 19, 2012 We have seen in prior lectures how vectors represent points in R n and gradients of functions. Matrices represent linear transformations

More information

Review of Basic Concepts in Linear Algebra

Review of Basic Concepts in Linear Algebra Review of Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University September 7, 2017 Math 565 Linear Algebra Review September 7, 2017 1 / 40 Numerical Linear Algebra

More information

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a Math 360 Linear Algebra Fall 2008 9-10-08 Class Notes Matrices As we have already seen, a matrix is a rectangular array of numbers. If a matrix A has m columns and n rows, we say that its dimensions are

More information

Stat 206: Linear algebra

Stat 206: Linear algebra Stat 206: Linear algebra James Johndrow (adapted from Iain Johnstone s notes) 2016-11-02 Vectors We have already been working with vectors, but let s review a few more concepts. The inner product of two

More information

Textbook: Survivial Analysis Techniques for Censored and Truncated Data 2nd edition, by Klein and Moeschberger

Textbook: Survivial Analysis Techniques for Censored and Truncated Data 2nd edition, by Klein and Moeschberger Lecturer: James Degnan Office: SMLC 342 Office hours: MW 12:00 1:00 or by appointment E-mail: jamdeg@unm.edu Please include STAT474 or STAT574 in the subject line of the email to make sure I don t overlook

More information

Basic Concepts in Matrix Algebra

Basic Concepts in Matrix Algebra Basic Concepts in Matrix Algebra An column array of p elements is called a vector of dimension p and is written as x p 1 = x 1 x 2. x p. The transpose of the column vector x p 1 is row vector x = [x 1

More information

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in Chapter 4 - MATRIX ALGEBRA 4.1. Matrix Operations A a 11 a 12... a 1j... a 1n a 21. a 22.... a 2j... a 2n. a i1 a i2... a ij... a in... a m1 a m2... a mj... a mn The entry in the ith row and the jth column

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) Lecture 1: Course Overview; Matrix Multiplication Xiangmin Jiao Stony Brook University Xiangmin Jiao Numerical

More information

Vectors and Matrices Statistics with Vectors and Matrices

Vectors and Matrices Statistics with Vectors and Matrices Vectors and Matrices Statistics with Vectors and Matrices Lecture 3 September 7, 005 Analysis Lecture #3-9/7/005 Slide 1 of 55 Today s Lecture Vectors and Matrices (Supplement A - augmented with SAS proc

More information

Basic Concepts in Linear Algebra

Basic Concepts in Linear Algebra Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University February 2, 2015 Grady B Wright Linear Algebra Basics February 2, 2015 1 / 39 Numerical Linear Algebra Linear

More information

Announcements Monday, October 02

Announcements Monday, October 02 Announcements Monday, October 02 Please fill out the mid-semester survey under Quizzes on Canvas WeBWorK 18, 19 are due Wednesday at 11:59pm The quiz on Friday covers 17, 18, and 19 My office is Skiles

More information

Multivariate Statistical Analysis

Multivariate Statistical Analysis Multivariate Statistical Analysis Fall 2011 C. L. Williams, Ph.D. Lecture 4 for Applied Multivariate Analysis Outline 1 Eigen values and eigen vectors Characteristic equation Some properties of eigendecompositions

More information

Linear Algebra Solutions 1

Linear Algebra Solutions 1 Math Camp 1 Do the following: Linear Algebra Solutions 1 1. Let A = and B = 3 8 5 A B = 3 5 9 A + B = 9 11 14 4 AB = 69 3 16 BA = 1 4 ( 1 3. Let v = and u = 5 uv = 13 u v = 13 v u = 13 Math Camp 1 ( 7

More information

Introduction to Matrices

Introduction to Matrices POLS 704 Introduction to Matrices Introduction to Matrices. The Cast of Characters A matrix is a rectangular array (i.e., a table) of numbers. For example, 2 3 X 4 5 6 (4 3) 7 8 9 0 0 0 Thismatrix,with4rowsand3columns,isoforder

More information

Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε,

Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε, 2. REVIEW OF LINEAR ALGEBRA 1 Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε, where Y n 1 response vector and X n p is the model matrix (or design matrix ) with one row for

More information

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Introduction Edps/Psych/Stat/ 584 Applied Multivariate Statistics Carolyn J Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN c Board of Trustees,

More information

MAT 2037 LINEAR ALGEBRA I web:

MAT 2037 LINEAR ALGEBRA I web: MAT 237 LINEAR ALGEBRA I 2625 Dokuz Eylül University, Faculty of Science, Department of Mathematics web: Instructor: Engin Mermut http://kisideuedutr/enginmermut/ HOMEWORK 2 MATRIX ALGEBRA Textbook: Linear

More information

Linear Algebra Review

Linear Algebra Review Linear Algebra Review Yang Feng http://www.stat.columbia.edu/~yangfeng Yang Feng (Columbia University) Linear Algebra Review 1 / 45 Definition of Matrix Rectangular array of elements arranged in rows and

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i ) Direct Methods for Linear Systems Chapter Direct Methods for Solving Linear Systems Per-Olof Persson persson@berkeleyedu Department of Mathematics University of California, Berkeley Math 18A Numerical

More information

Fundamentals of Engineering Analysis (650163)

Fundamentals of Engineering Analysis (650163) Philadelphia University Faculty of Engineering Communications and Electronics Engineering Fundamentals of Engineering Analysis (6563) Part Dr. Omar R Daoud Matrices: Introduction DEFINITION A matrix is

More information

Announcements Wednesday, October 10

Announcements Wednesday, October 10 Announcements Wednesday, October 10 The second midterm is on Friday, October 19 That is one week from this Friday The exam covers 35, 36, 37, 39, 41, 42, 43, 44 (through today s material) WeBWorK 42, 43

More information

2. Matrix Algebra and Random Vectors

2. Matrix Algebra and Random Vectors 2. Matrix Algebra and Random Vectors 2.1 Introduction Multivariate data can be conveniently display as array of numbers. In general, a rectangular array of numbers with, for instance, n rows and p columns

More information

Chapter 1. Matrix Algebra

Chapter 1. Matrix Algebra ST4233, Linear Models, Semester 1 2008-2009 Chapter 1. Matrix Algebra 1 Matrix and vector notation Definition 1.1 A matrix is a rectangular or square array of numbers of variables. We use uppercase boldface

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

MATH2210 Notebook 2 Spring 2018

MATH2210 Notebook 2 Spring 2018 MATH2210 Notebook 2 Spring 2018 prepared by Professor Jenny Baglivo c Copyright 2009 2018 by Jenny A. Baglivo. All Rights Reserved. 2 MATH2210 Notebook 2 3 2.1 Matrices and Their Operations................................

More information

Matrices BUSINESS MATHEMATICS

Matrices BUSINESS MATHEMATICS Matrices BUSINESS MATHEMATICS 1 CONTENTS Matrices Special matrices Operations with matrices Matrix multipication More operations with matrices Matrix transposition Symmetric matrices Old exam question

More information

Matrices. Chapter Definitions and Notations

Matrices. Chapter Definitions and Notations Chapter 3 Matrices 3. Definitions and Notations Matrices are yet another mathematical object. Learning about matrices means learning what they are, how they are represented, the types of operations which

More information

An Introduction to Matrix Algebra

An Introduction to Matrix Algebra An Introduction to Matrix Algebra EPSY 905: Fundamentals of Multivariate Modeling Online Lecture #8 EPSY 905: Matrix Algebra In This Lecture An introduction to matrix algebra Ø Scalars, vectors, and matrices

More information

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc. 2 Matrix Algebra 2.1 MATRIX OPERATIONS MATRIX OPERATIONS m n If A is an matrixthat is, a matrix with m rows and n columnsthen the scalar entry in the ith row and jth column of A is denoted by a ij and

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

. a m1 a mn. a 1 a 2 a = a n

. a m1 a mn. a 1 a 2 a = a n Biostat 140655, 2008: Matrix Algebra Review 1 Definition: An m n matrix, A m n, is a rectangular array of real numbers with m rows and n columns Element in the i th row and the j th column is denoted by

More information

Mathematics for Graphics and Vision

Mathematics for Graphics and Vision Mathematics for Graphics and Vision Steven Mills March 3, 06 Contents Introduction 5 Scalars 6. Visualising Scalars........................ 6. Operations on Scalars...................... 6.3 A Note on

More information

Notation, Matrices, and Matrix Mathematics

Notation, Matrices, and Matrix Mathematics Geographic Information Analysis, Second Edition. David O Sullivan and David J. Unwin. 010 John Wiley & Sons, Inc. Published 010 by John Wiley & Sons, Inc. Appendix A Notation, Matrices, and Matrix Mathematics

More information

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic Unit II - Matrix arithmetic matrix multiplication matrix inverses elementary matrices finding the inverse of a matrix determinants Unit II - Matrix arithmetic 1 Things we can already do with matrices equality

More information

Matrices. Chapter What is a Matrix? We review the basic matrix operations. An array of numbers a a 1n A = a m1...

Matrices. Chapter What is a Matrix? We review the basic matrix operations. An array of numbers a a 1n A = a m1... Chapter Matrices We review the basic matrix operations What is a Matrix? An array of numbers a a n A = a m a mn with m rows and n columns is a m n matrix Element a ij in located in position (i, j The elements

More information

Graduate Mathematical Economics Lecture 1

Graduate Mathematical Economics Lecture 1 Graduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 23, 2012 Outline 1 2 Course Outline ematical techniques used in graduate level economics courses Mathematics for Economists

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

Matrix & Linear Algebra

Matrix & Linear Algebra Matrix & Linear Algebra Jamie Monogan University of Georgia For more information: http://monogan.myweb.uga.edu/teaching/mm/ Jamie Monogan (UGA) Matrix & Linear Algebra 1 / 84 Vectors Vectors Vector: A

More information

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B Chapter 8 - S&B Algebraic operations Matrix: The size of a matrix is indicated by the number of its rows and the number of its columns. A matrix with k rows and n columns is called a k n matrix. The number

More information

Linear Algebra and Matrix Inversion

Linear Algebra and Matrix Inversion Jim Lambers MAT 46/56 Spring Semester 29- Lecture 2 Notes These notes correspond to Section 63 in the text Linear Algebra and Matrix Inversion Vector Spaces and Linear Transformations Matrices are much

More information

Mathematical Foundations of Applied Statistics: Matrix Algebra

Mathematical Foundations of Applied Statistics: Matrix Algebra Mathematical Foundations of Applied Statistics: Matrix Algebra Steffen Unkel Department of Medical Statistics University Medical Center Göttingen, Germany Winter term 2018/19 1/105 Literature Seber, G.

More information

Knowledge Discovery and Data Mining 1 (VO) ( )

Knowledge Discovery and Data Mining 1 (VO) ( ) Knowledge Discovery and Data Mining 1 (VO) (707.003) Review of Linear Algebra Denis Helic KTI, TU Graz Oct 9, 2014 Denis Helic (KTI, TU Graz) KDDM1 Oct 9, 2014 1 / 74 Big picture: KDDM Probability Theory

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra)

AMS526: Numerical Analysis I (Numerical Linear Algebra) AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 1: Course Overview & Matrix-Vector Multiplication Xiangmin Jiao SUNY Stony Brook Xiangmin Jiao Numerical Analysis I 1 / 20 Outline 1 Course

More information

Image Registration Lecture 2: Vectors and Matrices

Image Registration Lecture 2: Vectors and Matrices Image Registration Lecture 2: Vectors and Matrices Prof. Charlene Tsai Lecture Overview Vectors Matrices Basics Orthogonal matrices Singular Value Decomposition (SVD) 2 1 Preliminary Comments Some of this

More information

A Introduction to Matrix Algebra and the Multivariate Normal Distribution

A Introduction to Matrix Algebra and the Multivariate Normal Distribution A Introduction to Matrix Algebra and the Multivariate Normal Distribution PRE 905: Multivariate Analysis Spring 2014 Lecture 6 PRE 905: Lecture 7 Matrix Algebra and the MVN Distribution Today s Class An

More information

Dot Products, Transposes, and Orthogonal Projections

Dot Products, Transposes, and Orthogonal Projections Dot Products, Transposes, and Orthogonal Projections David Jekel November 13, 2015 Properties of Dot Products Recall that the dot product or standard inner product on R n is given by x y = x 1 y 1 + +

More information

Review of Vectors and Matrices

Review of Vectors and Matrices A P P E N D I X D Review of Vectors and Matrices D. VECTORS D.. Definition of a Vector Let p, p, Á, p n be any n real numbers and P an ordered set of these real numbers that is, P = p, p, Á, p n Then P

More information

M. Matrices and Linear Algebra

M. Matrices and Linear Algebra M. Matrices and Linear Algebra. Matrix algebra. In section D we calculated the determinants of square arrays of numbers. Such arrays are important in mathematics and its applications; they are called matrices.

More information

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation. function Matrices Calculus III Summer 2013, Session II Wednesday, July 10, 2013 Agenda function 1. 2. function function Definition An m n matrix is a rectangular array of numbers arranged in m horizontal

More information

ICS 6N Computational Linear Algebra Matrix Algebra

ICS 6N Computational Linear Algebra Matrix Algebra ICS 6N Computational Linear Algebra Matrix Algebra Xiaohui Xie University of California, Irvine xhx@uci.edu February 2, 2017 Xiaohui Xie (UCI) ICS 6N February 2, 2017 1 / 24 Matrix Consider an m n matrix

More information

3 (Maths) Linear Algebra

3 (Maths) Linear Algebra 3 (Maths) Linear Algebra References: Simon and Blume, chapters 6 to 11, 16 and 23; Pemberton and Rau, chapters 11 to 13 and 25; Sundaram, sections 1.3 and 1.5. The methods and concepts of linear algebra

More information

Phys 201. Matrices and Determinants

Phys 201. Matrices and Determinants Phys 201 Matrices and Determinants 1 1.1 Matrices 1.2 Operations of matrices 1.3 Types of matrices 1.4 Properties of matrices 1.5 Determinants 1.6 Inverse of a 3 3 matrix 2 1.1 Matrices A 2 3 7 =! " 1

More information

Matrices. 1 a a2 1 b b 2 1 c c π

Matrices. 1 a a2 1 b b 2 1 c c π Matrices 2-3-207 A matrix is a rectangular array of numbers: 2 π 4 37 42 0 3 a a2 b b 2 c c 2 Actually, the entries can be more general than numbers, but you can think of the entries as numbers to start

More information

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations. POLI 7 - Mathematical and Statistical Foundations Prof S Saiegh Fall Lecture Notes - Class 4 October 4, Linear Algebra The analysis of many models in the social sciences reduces to the study of systems

More information

Introduction to Matrix Algebra

Introduction to Matrix Algebra Introduction to Matrix Algebra August 18, 2010 1 Vectors 1.1 Notations A p-dimensional vector is p numbers put together. Written as x 1 x =. x p. When p = 1, this represents a point in the line. When p

More information

Linear Algebra Review

Linear Algebra Review Chapter 1 Linear Algebra Review It is assumed that you have had a beginning course in linear algebra, and are familiar with matrix multiplication, eigenvectors, etc I will review some of these terms here,

More information

I = i 0,

I = i 0, Special Types of Matrices Certain matrices, such as the identity matrix 0 0 0 0 0 0 I = 0 0 0, 0 0 0 have a special shape, which endows the matrix with helpful properties The identity matrix is an example

More information

Linear Algebra, Vectors and Matrices

Linear Algebra, Vectors and Matrices Linear Algebra, Vectors and Matrices Prof. Manuela Pedio 20550 Quantitative Methods for Finance August 2018 Outline of the Course Lectures 1 and 2 (3 hours, in class): Linear and non-linear functions on

More information

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices Matrices A. Fabretti Mathematics 2 A.Y. 2015/2016 Table of contents Matrix Algebra Determinant Inverse Matrix Introduction A matrix is a rectangular array of numbers. The size of a matrix is indicated

More information

The Matrix Algebra of Sample Statistics

The Matrix Algebra of Sample Statistics The Matrix Algebra of Sample Statistics James H. Steiger Department of Psychology and Human Development Vanderbilt University James H. Steiger (Vanderbilt University) The Matrix Algebra of Sample Statistics

More information

Determinants of 2 2 Matrices

Determinants of 2 2 Matrices Determinants In section 4, we discussed inverses of matrices, and in particular asked an important question: How can we tell whether or not a particular square matrix A has an inverse? We will be able

More information

An Introduction to Multivariate Methods

An Introduction to Multivariate Methods Chapter 12 An Introduction to Multivariate Methods Multivariate statistical methods are used to display, analyze, and describe data on two or more features or variables simultaneously. I will discuss multivariate

More information

Review from Bootcamp: Linear Algebra

Review from Bootcamp: Linear Algebra Review from Bootcamp: Linear Algebra D. Alex Hughes October 27, 2014 1 Properties of Estimators 2 Linear Algebra Addition and Subtraction Transpose Multiplication Cross Product Trace 3 Special Matrices

More information

Linear Algebra Review. Vectors

Linear Algebra Review. Vectors Linear Algebra Review 9/4/7 Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa (UCSD) Cogsci 8F Linear Algebra review Vectors

More information

Matrix operations Linear Algebra with Computer Science Application

Matrix operations Linear Algebra with Computer Science Application Linear Algebra with Computer Science Application February 14, 2018 1 Matrix operations 11 Matrix operations If A is an m n matrix that is, a matrix with m rows and n columns then the scalar entry in the

More information

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds These notes are meant to provide a brief introduction to the topics from Linear Algebra that will be useful in Math3315/CSE3365, Introduction

More information

EE731 Lecture Notes: Matrix Computations for Signal Processing

EE731 Lecture Notes: Matrix Computations for Signal Processing EE731 Lecture Notes: Matrix Computations for Signal Processing James P. Reilly c Department of Electrical and Computer Engineering McMaster University September 22, 2005 0 Preface This collection of ten

More information

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND First Printing, 99 Chapter LINEAR EQUATIONS Introduction to linear equations A linear equation in n unknowns x,

More information

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.] Math 43 Review Notes [Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty Dot Product If v (v, v, v 3 and w (w, w, w 3, then the

More information

Mathematics 13: Lecture 10

Mathematics 13: Lecture 10 Mathematics 13: Lecture 10 Matrices Dan Sloughter Furman University January 25, 2008 Dan Sloughter (Furman University) Mathematics 13: Lecture 10 January 25, 2008 1 / 19 Matrices Recall: A matrix is a

More information

Section 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices

Section 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices 1 Section 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices Note. In this section, we define the product

More information

3d scatterplots. You can also make 3d scatterplots, although these are less common than scatterplot matrices.

3d scatterplots. You can also make 3d scatterplots, although these are less common than scatterplot matrices. 3d scatterplots You can also make 3d scatterplots, although these are less common than scatterplot matrices. > library(scatterplot3d) > y par(mfrow=c(2,2)) > scatterplot3d(y,highlight.3d=t,angle=20)

More information

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation. 2.1 Matrices Reminder: A matrix with m rows and n columns has size m x n. (This is also sometimes referred to as the order of the matrix.) The entry in the ith row and jth column of a matrix A is denoted

More information

Matrices and Linear Algebra

Matrices and Linear Algebra Contents Quantitative methods for Economics and Business University of Ferrara Academic year 2017-2018 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2

More information

A Review of Matrix Analysis

A Review of Matrix Analysis Matrix Notation Part Matrix Operations Matrices are simply rectangular arrays of quantities Each quantity in the array is called an element of the matrix and an element can be either a numerical value

More information

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product. MATH 311-504 Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product. Determinant is a scalar assigned to each square matrix. Notation. The determinant of a matrix A = (a ij

More information

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34 Linear Algebra /34 Vectors A vector is a magnitude and a direction Magnitude = v Direction Also known as norm, length Represented by unit vectors (vectors with a length of 1 that point along distinct axes)

More information

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C = CHAPTER I BASIC NOTIONS (a) 8666 and 8833 (b) a =6,a =4 will work in the first case, but there are no possible such weightings to produce the second case, since Student and Student 3 have to end up with

More information

Differential Equations

Differential Equations This document was written and copyrighted by Paul Dawkins. Use of this document and its online version is governed by the Terms and Conditions of Use located at. The online version of this document is

More information

LS.1 Review of Linear Algebra

LS.1 Review of Linear Algebra LS. LINEAR SYSTEMS LS.1 Review of Linear Algebra In these notes, we will investigate a way of handling a linear system of ODE s directly, instead of using elimination to reduce it to a single higher-order

More information

1 Matrices and Systems of Linear Equations. a 1n a 2n

1 Matrices and Systems of Linear Equations. a 1n a 2n March 31, 2013 16-1 16. Systems of Linear Equations 1 Matrices and Systems of Linear Equations An m n matrix is an array A = (a ij ) of the form a 11 a 21 a m1 a 1n a 2n... a mn where each a ij is a real

More information

Lecture 13: Simple Linear Regression in Matrix Format

Lecture 13: Simple Linear Regression in Matrix Format See updates and corrections at http://www.stat.cmu.edu/~cshalizi/mreg/ Lecture 13: Simple Linear Regression in Matrix Format 36-401, Section B, Fall 2015 13 October 2015 Contents 1 Least Squares in Matrix

More information

Stat 206: Sampling theory, sample moments, mahalanobis

Stat 206: Sampling theory, sample moments, mahalanobis Stat 206: Sampling theory, sample moments, mahalanobis topology James Johndrow (adapted from Iain Johnstone s notes) 2016-11-02 Notation My notation is different from the book s. This is partly because

More information

1300 Linear Algebra and Vector Geometry

1300 Linear Algebra and Vector Geometry 1300 Linear Algebra and Vector Geometry R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca May-June 2017 Introduction: linear equations Read 1.1 (in the text that is!) Go to course, class webpages.

More information

Math Linear Algebra Final Exam Review Sheet

Math Linear Algebra Final Exam Review Sheet Math 15-1 Linear Algebra Final Exam Review Sheet Vector Operations Vector addition is a component-wise operation. Two vectors v and w may be added together as long as they contain the same number n of

More information

Undergraduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1 Undergraduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 15, 2014 Outline 1 Courses Description and Requirement 2 Course Outline ematical techniques used in economics courses

More information