Introduction to Computational Finance and Financial Econometrics Matrix Algebra Review

Size: px
Start display at page:

Download "Introduction to Computational Finance and Financial Econometrics Matrix Algebra Review"

Transcription

1 You can t see this text! Introduction to Computational Finance and Financial Econometrics Matrix Algebra Review Eric Zivot Spring 2015 Eric Zivot (Copyright 2015) Matrix Algebra Review 1 / 54

2 Outline 1 Matrices and Vectors Basic Matrix Operations Addition and subtraction Scalar multiplication Matrix multiplication The Identity Matrix Matrix inverse Systems of linear equations Representing summation using matrix notation Portfolio math with matrix algebra Bivariate normal distribution Derivatives of simple matrix functions Eric Zivot (Copyright 2015) Matrix Algebra Review 2 / 54

3 Matrices and vectors Matrix A = (n m) a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm Vector Square matrix : n = m x = (n 1) x 1 x 2 n = # of rows, m = # of columns. x n Eric Zivot (Copyright 2015) Matrix Algebra Review 3 / 54

4 Remarks R is a matrix oriented programming language Excel can handle matrices and vectors in formulas and some functions Excel has special functions for working with matrices. There are called array functions. Must use: <ctrl>-<shift>-<enter> to evaluate array function Eric Zivot (Copyright 2015) Matrix Algebra Review 4 / 54

5 Transpose of a Matrix Interchange rows and columns of a matrix: A = transpose of A (m n) (n m) Example, A = x = , x =, A = Eric Zivot (Copyright 2015) Matrix Algebra Review 5 / 54

6 Computational tools R function t(a) Excel function TRANSPOSE(matrix) <ctrl>-<shift>-<enter> Eric Zivot (Copyright 2015) Matrix Algebra Review 6 / 54

7 Symmetric Matrix A square matrix A is symmetric if: A = A Example, 1 2 A = 2 1, A = Remark: Covariance and correlation matrices are symmetric. Eric Zivot (Copyright 2015) Matrix Algebra Review 7 / 54

8 Outline 1 Matrices and Vectors Basic Matrix Operations Addition and subtraction Scalar multiplication Matrix multiplication The Identity Matrix Matrix inverse Systems of linear equations Representing summation using matrix notation Portfolio math with matrix algebra Bivariate normal distribution Derivatives of simple matrix functions Eric Zivot (Copyright 2015) Matrix Algebra Review 8 / 54

9 Addition and Subtraction (element-by-element) = = = = Eric Zivot (Copyright 2015) Matrix Algebra Review 9 / 54

10 Scalar Multiplication (element-by-element) c = 2 = scalar A = 2 A = ( 1) = Eric Zivot (Copyright 2015) Matrix Algebra Review 10 / 54

11 Matrix Multiplication (not element-by-element) A = (3 2) a 11 a 12 a 21 a 22 a 31 a 32, B = (2 3) b11 b 12 b 13 b 21 b 22 b 23 Note: A and B are comformable matrices: # of columns in A = # of rows in B: A B (3 2) (2 3) = a 11 b 11 + a 12 b 21 a 11 b 12 + a 12 b 22 a 11 b 13 + a 12 b 23 a 21 b 11 + a 22 b 21 a 21 b 12 + a 22 b 22 a 21 b 13 + a 22 b 23 a 31 b 11 + a 32 b 21 a 31 b 12 + a 32 b 22 a 31 b 13 + a 32 b 23 Remark: In general, A B B A Eric Zivot (Copyright 2015) Matrix Algebra Review 11 / 54

12 Example A = A B = R operator A%*%B Excel function , B = MMULT(matrix1, matrix2) <ctrl>-<shift>-<enter> = Eric Zivot (Copyright 2015) Matrix Algebra Review 12 / 54

13 Identity Matrix The n dimensional identity matrix has all diagonal elements equal to 1, and all off diagonal elements equal to 0. Example, 1 0 I 2 = 0 1 Remark: The identity matrix plays the roll of 1 in matrix algebra, 1 0 a11 a 12 I 2 A = 0 1 a 21 a 22 = = A a a a a 22 = a11 a 12 a 21 a 22 Eric Zivot (Copyright 2015) Matrix Algebra Review 13 / 54

14 Identity Matrix cont. Similarly, a11 a 12 A I 2 = a 21 a 22 a11 a 12 = a 21 a = A R function diag(n) creates n dimensional identity matrix. Eric Zivot (Copyright 2015) Matrix Algebra Review 14 / 54

15 Matrix Inverse Let A (n n) = square matrix. A 1 = inverse of A satisfies: A 1 A=I n AA 1 =I n Remark: A 1 is similar to the inverse of a number: a = 2, a 1 = 1 2 a a 1 = = 1 a 1 a = = 1 Eric Zivot (Copyright 2015) Matrix Algebra Review 15 / 54

16 Computational tools R function solve(a) Excel function MINVERSE(matrix) <ctrl>-<shift>-<enter> Eric Zivot (Copyright 2015) Matrix Algebra Review 16 / 54

17 Representing Systems of Linear Equations Using Matrix Algebra Consider the system of two linear equations x + y = 1 2x y = 1 The equations represent two straight lines which intersect at the point: x = 2 3, y = 1 3 Eric Zivot (Copyright 2015) Matrix Algebra Review 17 / 54

18 Representing Systems of Linear Equations Using Matrix Algebra cont. Matrix algebra representation: 1 1 x 1 = 2 1 y 1 or, A z = b where, A = , z = x y and b = 1 1. Eric Zivot (Copyright 2015) Matrix Algebra Review 18 / 54

19 Representing Systems of Linear Equations Using Matrix Algebra cont. We can solve for z by multiplying both sides by A 1 : A 1 A z = A 1 b = I z = A 1 b = z = A 1 b or, x y = Remark: As long as we can determine the elements in A 1, we can solve for the values of x and y in the vector z. Since the system of linear equations has a solution as long as the two lines intersect, we can determine the elements in A 1 provided the two lines are not parallel. Eric Zivot (Copyright 2015) Matrix Algebra Review 19 / 54

20 Matrix Inverse (2 2 case) There are general numerical algorithms for finding the elements of A 1 and programs like Excel and R have these algorithms available. However, if A is a (2 2) matrix then there is a simple formula for A 1. Let, a11 a 12 A =. a 21 a 22 Then, where, A 1 = 1 a22 a 12 det(a) a 21 a 11 det(a) = a 11 a 22 a 21 a Eric Zivot (Copyright 2015) Matrix Algebra Review 20 / 54

21 Matrix Inverse (2 2 case) cont. Let s apply the above rule to find the inverse of A in our example: A = = Notice that, A 1 A = = Eric Zivot (Copyright 2015) Matrix Algebra Review 21 / 54

22 Matrix Inverse (2 2 case) cont. Our solution for z is then, z = A 1 b = = = x y so that x = 2 3 and y = 1 3. Eric Zivot (Copyright 2015) Matrix Algebra Review 22 / 54

23 Representing Systems of Linear Equations Using Matrix Algebra cont. In general, if we have n linear equations in n unknown variables we may write the system of equations as: a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2. =. a n1 x 1 + a n2 x a nn x n = b n which we may then express in matrix form as: a 11 a 12 a 1n b 1 a 21 a 22 a 2n x 1 x 2... = b 2. a n1 a n2 a nn x n Eric Zivot (Copyright 2015) Matrix Algebra Review 23 / 54 b n

24 Representing Systems of Linear Equations Using Matrix Algebra cont. or, A (n n) x = (n 1) b. (n 1) The solution to the system of equations is given by: x = A 1 b where A 1 A = I and I is the (n n) identity matrix. If the number of equations is greater than two, then we generally use numerical algorithms to find the elements in A 1. Eric Zivot (Copyright 2015) Matrix Algebra Review 24 / 54

25 Outline 1 Matrices and Vectors Basic Matrix Operations Addition and subtraction Scalar multiplication Matrix multiplication The Identity Matrix Matrix inverse Systems of linear equations Representing summation using matrix notation Portfolio math with matrix algebra Bivariate normal distribution Derivatives of simple matrix functions Eric Zivot (Copyright 2015) Matrix Algebra Review 25 / 54

26 Representing Summation Using Matrix Notation n x i = x 1 + x x n i=1 x = (n 1) x 1 x 2., 1 = (n 1) x n Eric Zivot (Copyright 2015) Matrix Algebra Review 26 / 54

27 Representing Summation Using Matrix Notation cont. Then, ( x 1 = ) x 1 x 2 x n n = x 1 + x x n = x i i=1 Eric Zivot (Copyright 2015) Matrix Algebra Review 27 / 54

28 Representing Summation Using Matrix Notation cont. Equivalently, ( 1 x = x 1 x 2 ). x n n = x 1 + x x n = x i i=1 Eric Zivot (Copyright 2015) Matrix Algebra Review 28 / 54

29 Representing Summation Using Matrix Notation cont. Sum of Squares: n x 2 i = x x x 2 n i=1 ( ) x x = x 1 x 2 x n x 1 x 2. x n n = x x x 2 n = x 2 i i=1 Eric Zivot (Copyright 2015) Matrix Algebra Review 29 / 54

30 Representing Summation Using Matrix Notation cont. Sums of cross products: n x i y i = x 1 y 1 + x 2 y x n y n i=1 ( ) x y = x 1 x 2 x n y 1 y 2. y n n = x 1 y 1 + x 2 y x n y n = x i y i i=1 = y x Eric Zivot (Copyright 2015) Matrix Algebra Review 30 / 54

31 Computational tools R function t(x)%*%y, t(y)%*%x crossprod(x,y) Excel function MMULT(TRANSPOSE(x),y) MMULT(TRANSPOSE(y),x) <ctrl>-<shift>-<enter> Eric Zivot (Copyright 2015) Matrix Algebra Review 31 / 54

32 Outline 1 Matrices and Vectors Basic Matrix Operations Addition and subtraction Scalar multiplication Matrix multiplication The Identity Matrix Matrix inverse Systems of linear equations Representing summation using matrix notation Portfolio math with matrix algebra Bivariate normal distribution Derivatives of simple matrix functions Eric Zivot (Copyright 2015) Matrix Algebra Review 32 / 54

33 Portfolio Math with Matrix Algebra Three Risky Asset Example: Let R i denote the return on asset i = A, B, C and assume that R A, R B and R C are jointly normally distributed with means, variances and covariances: µ i = ER i, σ 2 i = var(r i ), cov(r i, R j ) = σ ij Portfolio x : x i = share of wealth in asset i x A + x B + x C = 1 Portfolio return: R p,x = x A R A + x B R B + x C R C. Eric Zivot (Copyright 2015) Matrix Algebra Review 33 / 54

34 Portfolio Math with Matrix Algebra cont. Portfolio expected return: µ p,x = ER p,x = x A µ A + x B µ B + x C µ C Portfolio variance: σ 2 p,x = var(r p,x ) = x 2 Aσ 2 A + x 2 Bσ 2 B + x 2 Cσ 2 C + 2x A x B σ AB + 2x A x C σ AC + 2x B x C σ BC Portfolio distribution: R p,x N(µ p,x, σ 2 p,x) Eric Zivot (Copyright 2015) Matrix Algebra Review 34 / 54

35 Portfolio Math with Matrix Algebra cont. Matrix algebra representation: R A µ A R = R B, µ = µ B R C µ C x = x A x B x C, Σ = Portfolio weights sum to 1: x 1 = x A x B x C ) = x A + x B + x C = 1, 1 = σa 2 σ AB σ AC σ AB σb 2 σ BC σ AC σ BC σc Eric Zivot (Copyright 2015) Matrix Algebra Review 35 / 54

36 Digression on Covariance Matrix Using matrix algebra, the variance-covariance matrix of the N 1 return vector R is defined as: var(r) N N = cov(r) = E(R µ)(r µ) = Σ Because R has N elements, Σ is the N N matrix: σ 2 1 σ 12 σ 1n σ 12 σ 2 2 σ 2n Σ = σ 1n σ 2n σn 2 Eric Zivot (Copyright 2015) Matrix Algebra Review 36 / 54

37 Digression on Covariance Matrix cont. For the case N = 2, we have: ( ) E(R µ) (R µ ) R1 µ 1 = E (R 1 µ 1, R 2 µ 2 ) R 2 µ 2 = E = = ( (R1 µ 1 ) 2 (R 1 µ 1 )(R 2 µ 2 ) (R 2 µ 2 )(R 1 µ 1 ) (R 2 µ 2 ) 2 ( E(R1 µ 1 ) 2 E(R 1 µ 1 )(R 2 µ 2 ) E(R 2 µ 2 )(R 1 µ 1 ) E(R 2 µ 2 ) 2 ( var(r1 ) cov(r 1, R 2 ) cov(r 2, R 1 ) var(r 2 ) ) = ( σ 2 1 σ 12 σ 12 σ 2 2 ) ) ) = Σ. Eric Zivot (Copyright 2015) Matrix Algebra Review 37 / 54

38 Portfolio Math with Matrix Algebra cont. Portfolio return: R p,x = x R = ( x A x B x C ) = x A R A + x B R B + x C R C = R x Portfolio expected return: µ p,x = x µ = ( x A x B x X ) = x A µ A + x B µ B + x C µ C = µ x R A R B R C Eric Zivot (Copyright 2015) Matrix Algebra Review 38 / 54 µ A µ B µ C

39 Computational tools Excel formula MMULT(transpose(xvec),muvec) <ctrl>-<shift>-<enter> R formula crossprod(x,mu) t(x)%*%mu Eric Zivot (Copyright 2015) Matrix Algebra Review 39 / 54

40 Portfolio Math with Matrix Algebra cont. Portfolio variance: σ 2 p,x = var(x R) = E ( x R x µ ) 2 = E ( x (R µ) ) 2 = Ex (R µ)x (R µ) = Ex (R µ)(r µ) x = = x E(R µ)(r µ) x = x Σx = ( x A x B x C ) σa 2 σ AB σ AC σ AB σb 2 σ BC σ AC σ BC σc 2 x A x B x C = x 2 Aσ 2 A + x 2 Bσ 2 B + x 2 Cσ 2 C + 2x A x B σ AB + 2x A x C σ AC + 2x B x C σ BC Eric Zivot (Copyright 2015) Matrix Algebra Review 40 / 54

41 Computational tools Excel formulas MMULT(TRANSPOSE(xvec),MMULT(sigma,xvec)) MMULT(MMULT(TRANSPOSE(xvec),sigma),xvec) <ctrl>-<shift>-<enter> Note: x Σx = (x Σ) x = x (Σx) R formulas t(x)%*%sigma%*%x Portfolio distribution R p,x N(µ p,x, σp,x) 2 Eric Zivot (Copyright 2015) Matrix Algebra Review 41 / 54

42 Covariance Between 2 Portfolio Returns 2 portfolios: x = x A x B x C, y = x 1 = 1, y 1 = 1 Portfolio returns: R p,x = x R R p,y = y R Covariance: cov(r p,x, R p,y ) = x Σy = y Σx y A y B y C Eric Zivot (Copyright 2015) Matrix Algebra Review 42 / 54

43 Covariance Between 2 Portfolio Returns cont. Derivation: cov(r p,x, R p,y ) = cov(x R, y R) = E(x R x µ)(y R y µ) = Ex (R µ)y (R µ) = Ex (R µ)(r µ) y = x E(R µ)(r µ) y = x Σy Eric Zivot (Copyright 2015) Matrix Algebra Review 43 / 54

44 Computational tools Excel formula MMULT(TRANSPOSE(xvec),MMULT(sigma,yvec)) MMULT(TRANSPOSE(yvec),MMULT(sigma,xvec)) <ctrl>-<shift>-<enter> R formula t(x)%*%sigma%*%y Eric Zivot (Copyright 2015) Matrix Algebra Review 44 / 54

45 Outline 1 Matrices and Vectors Basic Matrix Operations Addition and subtraction Scalar multiplication Matrix multiplication The Identity Matrix Matrix inverse Systems of linear equations Representing summation using matrix notation Portfolio math with matrix algebra Bivariate normal distribution Derivatives of simple matrix functions Eric Zivot (Copyright 2015) Matrix Algebra Review 45 / 54

46 Bivariate Normal Distribution Let X and Y be distributed bivariate normal. The joint pdf is given by: 1 f(x, y) = 2πσ X σ Y 1 ρ 2 XY { (x ) 1 2 ( ) µx y 2 µy exp 2(1 ρ 2 XY ) + 2ρ XY (x µ X )(y µ σ X σ Y σ X σ Y where EX = µ X, EY = µ Y, sd(x) = σ X, sd(y ) = σ Y, and ρ XY = cor(x, Y ). Eric Zivot (Copyright 2015) Matrix Algebra Review 46 / 54

47 Bivariate Normal Distribution Let X and Y be distributed bivariate normal. The joint pdf is given by: f(x, y) = 1 2πσ X σ Y 1 ρ 2 XY { ( ) 1 exp x µx 2 ( ) } 2(1 ρ 2 XY ) σ X + y µy 2 σ Y 2ρ XY (x µ X )(y µ Y ) σ X σ Y where EX = µ X, EY = µ Y, sd(x) = σ X, sd(y ) = σ Y, and ρ XY = cor(x, Y ). Eric Zivot (Copyright 2015) Matrix Algebra Review 47 / 54

48 Bivariate Normal Distribution cont. Define X = ( X Y ), x = ( x y ), µ = ( µx µ Y ) ( σ 2, Σ = X σ XY σ XY σy 2 ) Then the bivariate normal distribution can be compactly expressed as: where, f(x) = 1 2π det(σ) 1/2 e 1 2 (x µ) Σ 1 (x µ) det(σ) = σ 2 Xσ 2 Y σ 2 XY = σ 2 Xσ 2 Y σ 2 Xσ 2 Y ρ 2 XY = σ 2 Xσ 2 Y (1 ρ 2 XY ). We use the shorthand notation: X N(µ, Σ) Eric Zivot (Copyright 2015) Matrix Algebra Review 48 / 54

49 Outline 1 Matrices and Vectors Basic Matrix Operations Addition and subtraction Scalar multiplication Matrix multiplication The Identity Matrix Matrix inverse Systems of linear equations Representing summation using matrix notation Portfolio math with matrix algebra Bivariate normal distribution Derivatives of simple matrix functions Eric Zivot (Copyright 2015) Matrix Algebra Review 49 / 54

50 Derivatives of Simple Matrix Functions Result: Let A be an n n symmetric matrix, and let x and y be an n 1 vectors. Then, x x y = x Ax= x x Ax = x 1 x y. x n x y x 1 (Ax). x n (Ax) x 1 x Ax. x n x Ax = y, = A, = 2Ax. Eric Zivot (Copyright 2015) Matrix Algebra Review 50 / 54

51 Example We will demonstrate these results with simple examples. Let, ( ) ( ) ( ) a b x1 y1 A =, x =, y = b c For the first result we have, x y = x 1 y 1 + x 2 y 2. x 2 y 2 Then, x x y = ( x 1 x y x 2 x y ) = ( x 1 (x 1 y 1 + x 2 y 2 ) x 2 (x 1 y 1 + x 2 y 2 ) ) = ( y1 y 2 ) = y. Eric Zivot (Copyright 2015) Matrix Algebra Review 51 / 54

52 Example cont. Next, consider the second result. Note that, ( ) ( ) ( ) a b x1 ax1 + bx 2 Ax = = b c x 2 bx 1 + cx 2 and, (Ax) = (ax 1 + bx 2, bx 1 + cx 2 ) Then, ( x Ax= x 1 (ax 1 + bx 2, bx 1 + cx 2 ) x 2 (ax 1 + bx 2, bx 1 + cx 2 ) ) ( a b = b c ) = A Eric Zivot (Copyright 2015) Matrix Algebra Review 52 / 54

53 Example cont. Finally, consider the third result. We have, ( ) ( ) ( ) x a b x1 Ax = x 1 x 2 = ax bx 1 x 2 + cx 2 b c 2. x 2 Then, ( ( x x Ax= x 1 ax bx 1 x 2 + cx 2 ) ) ( 2 2ax1 + 2bx ( x 2 ax bx 1 x 2 + cx 2 ) 2 = 2 2bx 1 + 2cx 2 ( ) ( ) a b x1 = 2 = 2Ax. b c x 2 ) Eric Zivot (Copyright 2015) Matrix Algebra Review 53 / 54

54 You can t see this text! faculty.washington.edu/ezivot/ Eric Zivot (Copyright 2015) Matrix Algebra Review 54 / 54

Econ 424 Review of Matrix Algebra

Econ 424 Review of Matrix Algebra Econ 424 Review of Matrix Algebra Eric Zivot January 22, 205 Matrices and Vectors Matrix 2 A = 2 22 2 ( )...... 2 = of rows, = of columns Square matrix : = Vector x ( ) = 2. Remarks R is a matrix oriented

More information

Introduction to Computational Finance and Financial Econometrics Probability Review - Part 2

Introduction to Computational Finance and Financial Econometrics Probability Review - Part 2 You can t see this text! Introduction to Computational Finance and Financial Econometrics Probability Review - Part 2 Eric Zivot Spring 2015 Eric Zivot (Copyright 2015) Probability Review - Part 2 1 /

More information

Introduction to Computational Finance and Financial Econometrics Probability Theory Review: Part 2

Introduction to Computational Finance and Financial Econometrics Probability Theory Review: Part 2 Introduction to Computational Finance and Financial Econometrics Probability Theory Review: Part 2 Eric Zivot July 7, 2014 Bivariate Probability Distribution Example - Two discrete rv s and Bivariate pdf

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

Covariance. Lecture 20: Covariance / Correlation & General Bivariate Normal. Covariance, cont. Properties of Covariance

Covariance. Lecture 20: Covariance / Correlation & General Bivariate Normal. Covariance, cont. Properties of Covariance Covariance Lecture 0: Covariance / Correlation & General Bivariate Normal Sta30 / Mth 30 We have previously discussed Covariance in relation to the variance of the sum of two random variables Review Lecture

More information

Chapter 5 continued. Chapter 5 sections

Chapter 5 continued. Chapter 5 sections Chapter 5 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions

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

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved. 7.5 Operations with Matrices Copyright Cengage Learning. All rights reserved. What You Should Learn Decide whether two matrices are equal. Add and subtract matrices and multiply matrices by scalars. Multiply

More information

Multivariate Gaussian Distribution. Auxiliary notes for Time Series Analysis SF2943. Spring 2013

Multivariate Gaussian Distribution. Auxiliary notes for Time Series Analysis SF2943. Spring 2013 Multivariate Gaussian Distribution Auxiliary notes for Time Series Analysis SF2943 Spring 203 Timo Koski Department of Mathematics KTH Royal Institute of Technology, Stockholm 2 Chapter Gaussian Vectors.

More information

Introduction to Normal Distribution

Introduction to Normal Distribution Introduction to Normal Distribution Nathaniel E. Helwig Assistant Professor of Psychology and Statistics University of Minnesota (Twin Cities) Updated 17-Jan-2017 Nathaniel E. Helwig (U of Minnesota) Introduction

More information

UCSD ECE153 Handout #34 Prof. Young-Han Kim Tuesday, May 27, Solutions to Homework Set #6 (Prepared by TA Fatemeh Arbabjolfaei)

UCSD ECE153 Handout #34 Prof. Young-Han Kim Tuesday, May 27, Solutions to Homework Set #6 (Prepared by TA Fatemeh Arbabjolfaei) UCSD ECE53 Handout #34 Prof Young-Han Kim Tuesday, May 7, 04 Solutions to Homework Set #6 (Prepared by TA Fatemeh Arbabjolfaei) Linear estimator Consider a channel with the observation Y XZ, where the

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

Joint Distributions. (a) Scalar multiplication: k = c d. (b) Product of two matrices: c d. (c) The transpose of a matrix:

Joint Distributions. (a) Scalar multiplication: k = c d. (b) Product of two matrices: c d. (c) The transpose of a matrix: Joint Distributions Joint Distributions A bivariate normal distribution generalizes the concept of normal distribution to bivariate random variables It requires a matrix formulation of quadratic forms,

More information

[POLS 8500] Review of Linear Algebra, Probability and Information Theory

[POLS 8500] Review of Linear Algebra, Probability and Information Theory [POLS 8500] Review of Linear Algebra, Probability and Information Theory Professor Jason Anastasopoulos ljanastas@uga.edu January 12, 2017 For today... Basic linear algebra. Basic probability. Programming

More information

A Probability Review

A Probability Review A Probability Review Outline: A probability review Shorthand notation: RV stands for random variable EE 527, Detection and Estimation Theory, # 0b 1 A Probability Review Reading: Go over handouts 2 5 in

More information

Continuous Random Variables

Continuous Random Variables 1 / 24 Continuous Random Variables Saravanan Vijayakumaran sarva@ee.iitb.ac.in Department of Electrical Engineering Indian Institute of Technology Bombay February 27, 2013 2 / 24 Continuous Random Variables

More information

Notes on Random Vectors and Multivariate Normal

Notes on Random Vectors and Multivariate Normal MATH 590 Spring 06 Notes on Random Vectors and Multivariate Normal Properties of Random Vectors If X,, X n are random variables, then X = X,, X n ) is a random vector, with the cumulative distribution

More information

Let X and Y denote two random variables. The joint distribution of these random

Let X and Y denote two random variables. The joint distribution of these random EE385 Class Notes 9/7/0 John Stensby Chapter 3: Multiple Random Variables Let X and Y denote two random variables. The joint distribution of these random variables is defined as F XY(x,y) = [X x,y y] P.

More information

7.6 The Inverse of a Square Matrix

7.6 The Inverse of a Square Matrix 7.6 The Inverse of a Square Matrix Copyright Cengage Learning. All rights reserved. What You Should Learn Verify that two matrices are inverses of each other. Use Gauss-Jordan elimination to find inverses

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

Exam 2. Jeremy Morris. March 23, 2006

Exam 2. Jeremy Morris. March 23, 2006 Exam Jeremy Morris March 3, 006 4. Consider a bivariate normal population with µ 0, µ, σ, σ and ρ.5. a Write out the bivariate normal density. The multivariate normal density is defined by the following

More information

x. Figure 1: Examples of univariate Gaussian pdfs N (x; µ, σ 2 ).

x. Figure 1: Examples of univariate Gaussian pdfs N (x; µ, σ 2 ). .8.6 µ =, σ = 1 µ = 1, σ = 1 / µ =, σ =.. 3 1 1 3 x Figure 1: Examples of univariate Gaussian pdfs N (x; µ, σ ). The Gaussian distribution Probably the most-important distribution in all of statistics

More information

MA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems

MA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems MA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems Review of Basic Probability The fundamentals, random variables, probability distributions Probability mass/density functions

More information

Multivariate Distributions

Multivariate Distributions IEOR E4602: Quantitative Risk Management Spring 2016 c 2016 by Martin Haugh Multivariate Distributions We will study multivariate distributions in these notes, focusing 1 in particular on multivariate

More information

Elements of Probability Theory

Elements of Probability Theory Short Guides to Microeconometrics Fall 2016 Kurt Schmidheiny Unversität Basel Elements of Probability Theory Contents 1 Random Variables and Distributions 2 1.1 Univariate Random Variables and Distributions......

More information

Lecture Notes on the Gaussian Distribution

Lecture Notes on the Gaussian Distribution Lecture Notes on the Gaussian Distribution Hairong Qi The Gaussian distribution is also referred to as the normal distribution or the bell curve distribution for its bell-shaped density curve. There s

More information

TAMS39 Lecture 2 Multivariate normal distribution

TAMS39 Lecture 2 Multivariate normal distribution TAMS39 Lecture 2 Multivariate normal distribution Martin Singull Department of Mathematics Mathematical Statistics Linköping University, Sweden Content Lecture Random vectors Multivariate normal distribution

More information

EEL 5544 Noise in Linear Systems Lecture 30. X (s) = E [ e sx] f X (x)e sx dx. Moments can be found from the Laplace transform as

EEL 5544 Noise in Linear Systems Lecture 30. X (s) = E [ e sx] f X (x)e sx dx. Moments can be found from the Laplace transform as L30-1 EEL 5544 Noise in Linear Systems Lecture 30 OTHER TRANSFORMS For a continuous, nonnegative RV X, the Laplace transform of X is X (s) = E [ e sx] = 0 f X (x)e sx dx. For a nonnegative RV, the Laplace

More information

Math 4377/6308 Advanced Linear Algebra

Math 4377/6308 Advanced Linear Algebra 1.3 Subspaces Math 4377/6308 Advanced Linear Algebra 1.3 Subspaces Jiwen He Department of Mathematics, University of Houston jiwenhe@math.uh.edu math.uh.edu/ jiwenhe/math4377 Jiwen He, University of Houston

More information

Chapter 1 Vector Spaces

Chapter 1 Vector Spaces Chapter 1 Vector Spaces Per-Olof Persson persson@berkeley.edu Department of Mathematics University of California, Berkeley Math 110 Linear Algebra Vector Spaces Definition A vector space V over a field

More information

Bivariate distributions

Bivariate distributions Bivariate distributions 3 th October 017 lecture based on Hogg Tanis Zimmerman: Probability and Statistical Inference (9th ed.) Bivariate Distributions of the Discrete Type The Correlation Coefficient

More information

18 Bivariate normal distribution I

18 Bivariate normal distribution I 8 Bivariate normal distribution I 8 Example Imagine firing arrows at a target Hopefully they will fall close to the target centre As we fire more arrows we find a high density near the centre and fewer

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

Introduction to Probability and Stocastic Processes - Part I

Introduction to Probability and Stocastic Processes - Part I Introduction to Probability and Stocastic Processes - Part I Lecture 2 Henrik Vie Christensen vie@control.auc.dk Department of Control Engineering Institute of Electronic Systems Aalborg University Denmark

More information

Multiple Random Variables

Multiple Random Variables Multiple Random Variables This Version: July 30, 2015 Multiple Random Variables 2 Now we consider models with more than one r.v. These are called multivariate models For instance: height and weight An

More information

Joint Gaussian Graphical Model Review Series I

Joint Gaussian Graphical Model Review Series I Joint Gaussian Graphical Model Review Series I Probability Foundations Beilun Wang Advisor: Yanjun Qi 1 Department of Computer Science, University of Virginia http://jointggm.org/ June 23rd, 2017 Beilun

More information

matrix-free Elements of Probability Theory 1 Random Variables and Distributions Contents Elements of Probability Theory 2

matrix-free Elements of Probability Theory 1 Random Variables and Distributions Contents Elements of Probability Theory 2 Short Guides to Microeconometrics Fall 2018 Kurt Schmidheiny Unversität Basel Elements of Probability Theory 2 1 Random Variables and Distributions Contents Elements of Probability Theory matrix-free 1

More information

Today. Probability and Statistics. Linear Algebra. Calculus. Naïve Bayes Classification. Matrix Multiplication Matrix Inversion

Today. Probability and Statistics. Linear Algebra. Calculus. Naïve Bayes Classification. Matrix Multiplication Matrix Inversion Today Probability and Statistics Naïve Bayes Classification Linear Algebra Matrix Multiplication Matrix Inversion Calculus Vector Calculus Optimization Lagrange Multipliers 1 Classical Artificial Intelligence

More information

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero. Finite Mathematics Chapter 2 Section 2.1 Systems of Linear Equations: An Introduction Systems of Equations Recall that a system of two linear equations in two variables may be written in the general form

More information

MSc Quantitative Techniques Mathematics Weeks 1 and 2

MSc Quantitative Techniques Mathematics Weeks 1 and 2 MSc Quantitative Techniques Mathematics Weeks 1 and 2 DEPARTMENT OF ECONOMICS, MATHEMATICS AND STATISTICS LONDON WC1E 7HX September 2017 For MSc Programmes in Economics and Finance Who is this course for?

More information

Principal Components Theory Notes

Principal Components Theory Notes Principal Components Theory Notes Charles J. Geyer August 29, 2007 1 Introduction These are class notes for Stat 5601 (nonparametrics) taught at the University of Minnesota, Spring 2006. This not a theory

More information

Multivariate Random Variable

Multivariate Random Variable Multivariate Random Variable Author: Author: Andrés Hincapié and Linyi Cao This Version: August 7, 2016 Multivariate Random Variable 3 Now we consider models with more than one r.v. These are called multivariate

More information

Math 313 Chapter 1 Review

Math 313 Chapter 1 Review Math 313 Chapter 1 Review Howard Anton, 9th Edition May 2010 Do NOT write on me! Contents 1 1.1 Introduction to Systems of Linear Equations 2 2 1.2 Gaussian Elimination 3 3 1.3 Matrices and Matrix Operations

More information

3. Probability and Statistics

3. Probability and Statistics FE661 - Statistical Methods for Financial Engineering 3. Probability and Statistics Jitkomut Songsiri definitions, probability measures conditional expectations correlation and covariance some important

More information

ECE 541 Stochastic Signals and Systems Problem Set 9 Solutions

ECE 541 Stochastic Signals and Systems Problem Set 9 Solutions ECE 541 Stochastic Signals and Systems Problem Set 9 Solutions Problem Solutions : Yates and Goodman, 9.5.3 9.1.4 9.2.2 9.2.6 9.3.2 9.4.2 9.4.6 9.4.7 and Problem 9.1.4 Solution The joint PDF of X and Y

More information

Lecture 11. Multivariate Normal theory

Lecture 11. Multivariate Normal theory 10. Lecture 11. Multivariate Normal theory Lecture 11. Multivariate Normal theory 1 (1 1) 11. Multivariate Normal theory 11.1. Properties of means and covariances of vectors Properties of means and covariances

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

Math 4377/6308 Advanced Linear Algebra

Math 4377/6308 Advanced Linear Algebra 2.3 Composition Math 4377/6308 Advanced Linear Algebra 2.3 Composition of Linear Transformations Jiwen He Department of Mathematics, University of Houston jiwenhe@math.uh.edu math.uh.edu/ jiwenhe/math4377

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

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

MSc Quantitative Techniques Mathematics Weeks 1 and 2

MSc Quantitative Techniques Mathematics Weeks 1 and 2 MSc Quantitative Techniques Mathematics Weeks 1 and 2 DEPARTMENT OF ECONOMICS, MATHEMATICS AND STATISTICS LONDON WC1E 7HX September 2014 MSc Economics / Finance / Financial Economics / Financial Risk Management

More information

Two hours. Statistical Tables to be provided THE UNIVERSITY OF MANCHESTER. 14 January :45 11:45

Two hours. Statistical Tables to be provided THE UNIVERSITY OF MANCHESTER. 14 January :45 11:45 Two hours Statistical Tables to be provided THE UNIVERSITY OF MANCHESTER PROBABILITY 2 14 January 2015 09:45 11:45 Answer ALL four questions in Section A (40 marks in total) and TWO of the THREE questions

More information

Statistics, Data Analysis, and Simulation SS 2015

Statistics, Data Analysis, and Simulation SS 2015 Statistics, Data Analysis, and Simulation SS 2015 08.128.730 Statistik, Datenanalyse und Simulation Dr. Michael O. Distler Mainz, 27. April 2015 Dr. Michael O. Distler

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 Linear Combinations of Variables Edps/Soc 584 and Psych 594 Applied Multivariate Statistics Carolyn J Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN

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

Notes on Random Variables, Expectations, Probability Densities, and Martingales

Notes on Random Variables, Expectations, Probability Densities, and Martingales Eco 315.2 Spring 2006 C.Sims Notes on Random Variables, Expectations, Probability Densities, and Martingales Includes Exercise Due Tuesday, April 4. For many or most of you, parts of these notes will be

More information

Machine Learning for Large-Scale Data Analysis and Decision Making A. Week #1

Machine Learning for Large-Scale Data Analysis and Decision Making A. Week #1 Machine Learning for Large-Scale Data Analysis and Decision Making 80-629-17A Week #1 Today Introduction to machine learning The course (syllabus) Math review (probability + linear algebra) The future

More information

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0. Matrices Operations Linear Algebra Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0 The rectangular array 1 2 1 4 3 4 2 6 1 3 2 1 in which the

More information

ECON 3150/4150, Spring term Lecture 6

ECON 3150/4150, Spring term Lecture 6 ECON 3150/4150, Spring term 2013. Lecture 6 Review of theoretical statistics for econometric modelling (II) Ragnar Nymoen University of Oslo 31 January 2013 1 / 25 References to Lecture 3 and 6 Lecture

More information

Matrix Arithmetic. j=1

Matrix Arithmetic. j=1 An m n matrix is an array A = Matrix Arithmetic a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn of real numbers a ij An m n matrix has m rows and n columns a ij is the entry in the i-th row and j-th column

More information

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages: CS100: DISCRETE STRUCTURES Lecture 3 Matrices Ch 3 Pages: 246-262 Matrices 2 Introduction DEFINITION 1: A matrix is a rectangular array of numbers. A matrix with m rows and n columns is called an m x n

More information

STT 843 Key to Homework 1 Spring 2018

STT 843 Key to Homework 1 Spring 2018 STT 843 Key to Homework Spring 208 Due date: Feb 4, 208 42 (a Because σ = 2, σ 22 = and ρ 2 = 05, we have σ 2 = ρ 2 σ σ22 = 2/2 Then, the mean and covariance of the bivariate normal is µ = ( 0 2 and Σ

More information

MATRICES. a m,1 a m,n A =

MATRICES. a m,1 a m,n A = MATRICES Matrices are rectangular arrays of real or complex numbers With them, we define arithmetic operations that are generalizations of those for real and complex numbers The general form a matrix of

More information

18.440: Lecture 26 Conditional expectation

18.440: Lecture 26 Conditional expectation 18.440: Lecture 26 Conditional expectation Scott Sheffield MIT 1 Outline Conditional probability distributions Conditional expectation Interpretation and examples 2 Outline Conditional probability distributions

More information

The Multivariate Normal Distribution. In this case according to our theorem

The Multivariate Normal Distribution. In this case according to our theorem The Multivariate Normal Distribution Defn: Z R 1 N(0, 1) iff f Z (z) = 1 2π e z2 /2. Defn: Z R p MV N p (0, I) if and only if Z = (Z 1,..., Z p ) T with the Z i independent and each Z i N(0, 1). In this

More information

COMPUTING AND DATA ANALYSIS WITH EXCEL. Matrix manipulation and systems of linear equations

COMPUTING AND DATA ANALYSIS WITH EXCEL. Matrix manipulation and systems of linear equations COMPUTING AND DATA ANALYSIS WITH EXCEL Matrix manipulation and systems of linear equations Outline 1 Matrices Addition Subtraction Excel functions that return more than one cell Solving systems of linear

More information

STA 256: Statistics and Probability I

STA 256: Statistics and Probability I Al Nosedal. University of Toronto. Fall 2017 My momma always said: Life was like a box of chocolates. You never know what you re gonna get. Forrest Gump. There are situations where one might be interested

More information

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections ) c Dr. Igor Zelenko, Fall 2017 1 10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections 7.2-7.4) 1. When each of the functions F 1, F 2,..., F n in right-hand side

More information

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants. MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants. Elementary matrices Theorem 1 Any elementary row operation σ on matrices with n rows can be simulated as left multiplication

More information

Statistics STAT:5100 (22S:193), Fall Sample Final Exam B

Statistics STAT:5100 (22S:193), Fall Sample Final Exam B Statistics STAT:5 (22S:93), Fall 25 Sample Final Exam B Please write your answers in the exam books provided.. Let X, Y, and Y 2 be independent random variables with X N(µ X, σ 2 X ) and Y i N(µ Y, σ 2

More information

More than one variable

More than one variable Chapter More than one variable.1 Bivariate discrete distributions Suppose that the r.v. s X and Y are discrete and take on the values x j and y j, j 1, respectively. Then the joint p.d.f. of X and Y, to

More information

MA 575 Linear Models: Cedric E. Ginestet, Boston University Revision: Probability and Linear Algebra Week 1, Lecture 2

MA 575 Linear Models: Cedric E. Ginestet, Boston University Revision: Probability and Linear Algebra Week 1, Lecture 2 MA 575 Linear Models: Cedric E Ginestet, Boston University Revision: Probability and Linear Algebra Week 1, Lecture 2 1 Revision: Probability Theory 11 Random Variables A real-valued random variable is

More information

Topic 7 - Matrix Approach to Simple Linear Regression. Outline. Matrix. Matrix. Review of Matrices. Regression model in matrix form

Topic 7 - Matrix Approach to Simple Linear Regression. Outline. Matrix. Matrix. Review of Matrices. Regression model in matrix form Topic 7 - Matrix Approach to Simple Linear Regression Review of Matrices Outline Regression model in matrix form - Fall 03 Calculations using matrices Topic 7 Matrix Collection of elements arranged in

More information

Random Variables and Their Distributions

Random Variables and Their Distributions Chapter 3 Random Variables and Their Distributions A random variable (r.v.) is a function that assigns one and only one numerical value to each simple event in an experiment. We will denote r.vs by capital

More information

Chapter 5. Chapter 5 sections

Chapter 5. Chapter 5 sections 1 / 43 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions

More information

Statistical Pattern Recognition

Statistical Pattern Recognition Statistical Pattern Recognition A Brief Mathematical Review Hamid R. Rabiee Jafar Muhammadi, Ali Jalali, Alireza Ghasemi Spring 2012 http://ce.sharif.edu/courses/90-91/2/ce725-1/ Agenda Probability theory

More information

Delta Method. Example : Method of Moments for Exponential Distribution. f(x; λ) = λe λx I(x > 0)

Delta Method. Example : Method of Moments for Exponential Distribution. f(x; λ) = λe λx I(x > 0) Delta Method Often estimators are functions of other random variables, for example in the method of moments. These functions of random variables can sometimes inherit a normal approximation from the underlying

More information

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text.

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text. TEST #3 STA 536 December, 00 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. You will have access to a copy

More information

Lecture 2: Review of Probability

Lecture 2: Review of Probability Lecture 2: Review of Probability Zheng Tian Contents 1 Random Variables and Probability Distributions 2 1.1 Defining probabilities and random variables..................... 2 1.2 Probability distributions................................

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

Introduction Eigen Values and Eigen Vectors An Application Matrix Calculus Optimal Portfolio. Portfolios. Christopher Ting.

Introduction Eigen Values and Eigen Vectors An Application Matrix Calculus Optimal Portfolio. Portfolios. Christopher Ting. Portfolios Christopher Ting Christopher Ting http://www.mysmu.edu/faculty/christophert/ : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036 November 4, 2016 Christopher Ting QF 101 Week 12 November 4,

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

Section 8.1. Vector Notation

Section 8.1. Vector Notation Section 8.1 Vector Notation Definition 8.1 Random Vector A random vector is a column vector X = [ X 1 ]. X n Each Xi is a random variable. Definition 8.2 Vector Sample Value A sample value of a random

More information

MAS223 Statistical Inference and Modelling Exercises

MAS223 Statistical Inference and Modelling Exercises MAS223 Statistical Inference and Modelling Exercises The exercises are grouped into sections, corresponding to chapters of the lecture notes Within each section exercises are divided into warm-up questions,

More information

Random Vectors, Random Matrices, and Matrix Expected Value

Random Vectors, Random Matrices, and Matrix Expected Value Random Vectors, Random Matrices, and Matrix Expected Value James H. Steiger Department of Psychology and Human Development Vanderbilt University James H. Steiger (Vanderbilt University) 1 / 16 Random Vectors,

More information

SIMG-713 Homework 5 Solutions

SIMG-713 Homework 5 Solutions SIMG-73 Homework 5 Solutions Spring 00. Potons strike a detector at an average rate of λ potons per second. Te detector produces an output wit probability β wenever it is struck by a poton. Compute te

More information

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes Determinants 7.3 Introduction Among other uses, determinants allow us to determine whether a system of linear equations has a unique solution or not. The evaluation of a determinant is a key skill in engineering

More information

1: PROBABILITY REVIEW

1: PROBABILITY REVIEW 1: PROBABILITY REVIEW Marek Rutkowski School of Mathematics and Statistics University of Sydney Semester 2, 2016 M. Rutkowski (USydney) Slides 1: Probability Review 1 / 56 Outline We will review the following

More information

Random Variables. Random variables. A numerically valued map X of an outcome ω from a sample space Ω to the real line R

Random Variables. Random variables. A numerically valued map X of an outcome ω from a sample space Ω to the real line R In probabilistic models, a random variable is a variable whose possible values are numerical outcomes of a random phenomenon. As a function or a map, it maps from an element (or an outcome) of a sample

More information

Math 3191 Applied Linear Algebra

Math 3191 Applied Linear Algebra Math 191 Applied Linear Algebra Lecture 8: Inverse of a Matrix Stephen Billups University of Colorado at Denver Math 191Applied Linear Algebra p.1/0 Announcements We will not make it to section. tonight,

More information

The Multivariate Gaussian Distribution

The Multivariate Gaussian Distribution The Multivariate Gaussian Distribution Chuong B. Do October, 8 A vector-valued random variable X = T X X n is said to have a multivariate normal or Gaussian) distribution with mean µ R n and covariance

More information

TOPIC III LINEAR ALGEBRA

TOPIC III LINEAR ALGEBRA [1] Linear Equations TOPIC III LINEAR ALGEBRA (1) Case of Two Endogenous Variables 1) Linear vs. Nonlinear Equations Linear equation: ax + by = c, where a, b and c are constants. 2 Nonlinear equation:

More information

Political Science 6000: Beginnings and Mini Math Boot Camp

Political Science 6000: Beginnings and Mini Math Boot Camp Political Science 6000: Beginnings and Mini Math Boot Camp January 20, 2010 First things first Syllabus This is the most important course you will take. 1. You need to understand these concepts in order

More information

Joint Probability Distributions and Random Samples (Devore Chapter Five)

Joint Probability Distributions and Random Samples (Devore Chapter Five) Joint Probability Distributions and Random Samples (Devore Chapter Five) 1016-345-01: Probability and Statistics for Engineers Spring 2013 Contents 1 Joint Probability Distributions 2 1.1 Two Discrete

More information

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Problem Set 8 Fall 2007

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Problem Set 8 Fall 2007 UC Berkeley Department of Electrical Engineering and Computer Science EE 6: Probablity and Random Processes Problem Set 8 Fall 007 Issued: Thursday, October 5, 007 Due: Friday, November, 007 Reading: Bertsekas

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

The word Matrices is the plural of the word Matrix. A matrix is a rectangular arrangement (or array) of numbers called elements.

The word Matrices is the plural of the word Matrix. A matrix is a rectangular arrangement (or array) of numbers called elements. Numeracy Matrices Definition The word Matrices is the plural of the word Matrix A matrix is a rectangular arrangement (or array) of numbers called elements A x 3 matrix can be represented as below Matrix

More information

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices Graphics 2009/2010, period 1 Lecture 4 Matrices m n matrices Matrices Definitions Diagonal, Identity, and zero matrices Addition Multiplication Transpose and inverse The system of m linear equations in

More information

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to : MAC 0 Module Systems of Linear Equations and Matrices II Learning Objectives Upon completing this module, you should be able to :. Find the inverse of a square matrix.. Determine whether a matrix is invertible..

More information

P (x). all other X j =x j. If X is a continuous random vector (see p.172), then the marginal distributions of X i are: f(x)dx 1 dx n

P (x). all other X j =x j. If X is a continuous random vector (see p.172), then the marginal distributions of X i are: f(x)dx 1 dx n JOINT DENSITIES - RANDOM VECTORS - REVIEW Joint densities describe probability distributions of a random vector X: an n-dimensional vector of random variables, ie, X = (X 1,, X n ), where all X is are

More information