76
David J. Krus David J. Krus presents presents Matrix Algebra Matrix Algebra for Social for Social Sciences Sciences

David J. Krus presents Matrix Algebra for Social Sciences

  • Upload
    tod

  • View
    43

  • Download
    0

Embed Size (px)

DESCRIPTION

David J. Krus presents Matrix Algebra for Social Sciences. Introduction to Matrix Algebra. Dimensions of a Matrix. Number of Rows: 2 Number of Columns:3 A 2 x 3 Matrix. Elements of a Matrix. Principal Diagonal Elements . Off-Diagonal Elements . Nomenclature of Matrices. Rectangular - PowerPoint PPT Presentation

Citation preview

Page 1: David J. Krus presents Matrix Algebra for Social Sciences

David J. KrusDavid J. Krus

presentspresents

Matrix AlgebraMatrix Algebrafor Social Sciencesfor Social Sciences

Page 2: David J. Krus presents Matrix Algebra for Social Sciences

Introduction toIntroduction to

Matrix AlgebraMatrix Algebra

Page 3: David J. Krus presents Matrix Algebra for Social Sciences

Dimensions of a MatrixDimensions of a Matrix

Number of Rows: 2Number of Rows: 2 Number of Columns:3Number of Columns:3 A 2 x 3 MatrixA 2 x 3 Matrix

Page 4: David J. Krus presents Matrix Algebra for Social Sciences

Elements of a MatrixElements of a Matrix

Page 5: David J. Krus presents Matrix Algebra for Social Sciences

Principal Diagonal Principal Diagonal Elements Elements

Page 6: David J. Krus presents Matrix Algebra for Social Sciences

Off-Diagonal Elements Off-Diagonal Elements

Page 7: David J. Krus presents Matrix Algebra for Social Sciences

Nomenclature of Nomenclature of MatricesMatrices

RectangularRectangular

SquareSquare

SymmetricSymmetric

Skew Skew SymmetricSymmetric

Page 8: David J. Krus presents Matrix Algebra for Social Sciences

TransposeTranspose

Page 9: David J. Krus presents Matrix Algebra for Social Sciences

TriangulationTriangulation

Page 10: David J. Krus presents Matrix Algebra for Social Sciences

Matrix Algebra Matrix Algebra OperationsOperations

on Matrix Elements

Page 11: David J. Krus presents Matrix Algebra for Social Sciences

Addition of Matrix Addition of Matrix ElementsElements

All matrices must have the All matrices must have the the same dimensions.the same dimensions.

The plus sign is enclosed in The plus sign is enclosed in parentheses.parentheses.

2 x 2 2 x 2 2 x 2

Page 12: David J. Krus presents Matrix Algebra for Social Sciences

Addition of Matrix Addition of Matrix ElementsElements

Page 13: David J. Krus presents Matrix Algebra for Social Sciences

Subtraction of Matrix Subtraction of Matrix ElementsElements

All matrices must have All matrices must have the the same dimensions.the the same dimensions.

The subtraction sign is The subtraction sign is enclosed in parentheses.enclosed in parentheses.

2 x 2 2 x 2 2 x 2

Page 14: David J. Krus presents Matrix Algebra for Social Sciences

Subtraction of Matrix Subtraction of Matrix ElementsElements

Page 15: David J. Krus presents Matrix Algebra for Social Sciences

Multiplication of Matrix Multiplication of Matrix ElementsElements

All matrices must have the All matrices must have the the same dimensions.the same dimensions.

The multiplication sign is The multiplication sign is enclosed in parentheses.enclosed in parentheses.

2 x 2 2 x 2 2 x 2

Page 16: David J. Krus presents Matrix Algebra for Social Sciences

Multiplication of Matrix Multiplication of Matrix ElementsElements

Page 17: David J. Krus presents Matrix Algebra for Social Sciences

Division of Matrix Division of Matrix ElementsElements

All matrices must have the the same All matrices must have the the same dimensions or the divisor must be a dimensions or the divisor must be a scalar number.scalar number.

The division sign is enclosed in The division sign is enclosed in parentheses. parentheses.

2 x 2 2 x 2 2 x 2

Page 18: David J. Krus presents Matrix Algebra for Social Sciences

Division of Matrix Division of Matrix ElementsElements

Page 19: David J. Krus presents Matrix Algebra for Social Sciences

Powers of Matrix Powers of Matrix ElementsElements

The square sign is The square sign is enclosed in parenthesesenclosed in parentheses..

Page 20: David J. Krus presents Matrix Algebra for Social Sciences

Powers of Matrix Powers of Matrix ElementsElements

The square sign is The square sign is enclosed in parenthesesenclosed in parentheses

Page 21: David J. Krus presents Matrix Algebra for Social Sciences

Matrix Algebra Matrix Algebra OperationsOperations

on Matrices

Page 22: David J. Krus presents Matrix Algebra for Social Sciences

Addition of MatricesAddition of Matrices

3 x 1 1 x 3 3 x 3

Page 23: David J. Krus presents Matrix Algebra for Social Sciences

Major Addition of Major Addition of MatricesMatrices

1 + 1 = 21 + 2 = 31 + 3 = 4

Page 24: David J. Krus presents Matrix Algebra for Social Sciences

Major Addition of Major Addition of MatricesMatrices

2 + 1 = 32 + 2 = 42 + 3 = 5

Page 25: David J. Krus presents Matrix Algebra for Social Sciences

Major Addition of Major Addition of MatricesMatrices

3 + 1 = 43 + 2 = 53 + 3 = 6

Page 26: David J. Krus presents Matrix Algebra for Social Sciences

Minor Addition of Minor Addition of MatricesMatrices

(1+1) + (2+2) + (3+3) = 12

Page 27: David J. Krus presents Matrix Algebra for Social Sciences

Subtraction of Subtraction of MatricesMatrices

1 x 3 3 x 1 1 x 1

Page 28: David J. Krus presents Matrix Algebra for Social Sciences

Minor Subtraction of Minor Subtraction of MatricesMatrices

(1-1) + (2-2) + (3-3) =0

Page 29: David J. Krus presents Matrix Algebra for Social Sciences

Major Subtraction of Major Subtraction of MatricesMatrices

1 - 1 = 01 - 2 = -11 - 3 = -2

Page 30: David J. Krus presents Matrix Algebra for Social Sciences

Major Subtraction of Major Subtraction of MatricesMatrices

2 - 1 = 12 - 2 = 02 - 3 = -1

Page 31: David J. Krus presents Matrix Algebra for Social Sciences

Major Subtraction of Major Subtraction of MatricesMatrices

3 - 1 = 23 - 2 = 13 - 3 = 0

Page 32: David J. Krus presents Matrix Algebra for Social Sciences

Multiplication of Multiplication of MatricesMatrices

3 x 2 2 x 3 3 x 3

Page 33: David J. Krus presents Matrix Algebra for Social Sciences

Multiplication of Multiplication of MatricesMatrices

(1*7) + (2*10) =27

(1*8) + (2*11) =30

(1*9) + (2*12) =33

Page 34: David J. Krus presents Matrix Algebra for Social Sciences

Multiplication of Multiplication of MatricesMatrices

(3*8) + (4*11) = 68(3*7) + (4*10) = 61

(3*9) + (4*12) = 75

Page 35: David J. Krus presents Matrix Algebra for Social Sciences

Multiplication of Multiplication of MatricesMatrices

(5*7) + (6*10) = 95(5*8) + (6*11) = 106(5*9) + (6*12) = 117

Page 36: David J. Krus presents Matrix Algebra for Social Sciences

Matrix InversionMatrix Inversion

Page 37: David J. Krus presents Matrix Algebra for Social Sciences

Matrix InversionMatrix Inversion

Page 38: David J. Krus presents Matrix Algebra for Social Sciences

Matrix InversionMatrix Inversion

Page 39: David J. Krus presents Matrix Algebra for Social Sciences

Powers of MatricesPowers of Matrices

Page 40: David J. Krus presents Matrix Algebra for Social Sciences

Powers of MatricesPowers of Matrices

(1*1) + (2*3) = 7 (1*2) + (2*4) = 10

(3*1) + (4*3) = 15 (3*2) + (4*4) = 22

Page 41: David J. Krus presents Matrix Algebra for Social Sciences

Elements Of Elements Of StatisticsStatistics

Page 42: David J. Krus presents Matrix Algebra for Social Sciences

Algebraic MeanAlgebraic Mean

In Summation NotationIn Summation Notation

Page 43: David J. Krus presents Matrix Algebra for Social Sciences

Summation NotationSummation Notation

M XnX

Page 44: David J. Krus presents Matrix Algebra for Social Sciences

AlgebraicAlgebraic Mean Mean

In Matrix Algebra NotationIn Matrix Algebra Notation

Page 45: David J. Krus presents Matrix Algebra for Social Sciences

Matrix Algebra NotationMatrix Algebra Notation

nXM x

'1

Page 46: David J. Krus presents Matrix Algebra for Social Sciences

Matrix MultiplicationMatrix Multiplication

35

155

54321

  11111

xM

Page 47: David J. Krus presents Matrix Algebra for Social Sciences

MeanMean

35

155

54321

  11111

xM

Page 48: David J. Krus presents Matrix Algebra for Social Sciences

True VarianceTrue Variance

In Summation NotationIn Summation Notation

Page 49: David J. Krus presents Matrix Algebra for Social Sciences

Summation NotationSummation Notation

2

222 )(

nXXn

x

Page 50: David J. Krus presents Matrix Algebra for Social Sciences

True VarianceTrue Variance

In Matrix Algebra NotationIn Matrix Algebra Notation

Page 51: David J. Krus presents Matrix Algebra for Social Sciences

MatrixMatrix Algebra Notation Algebra Notation

2

)2(2 1)'('1

nXX

x

Page 52: David J. Krus presents Matrix Algebra for Social Sciences

Matrix Subtraction: X – X’Matrix Subtraction: X – X’

2

)2(

2

511111

54321

54321

  11111

x

Page 53: David J. Krus presents Matrix Algebra for Social Sciences

Resulting Pairwise DifferencesResulting Pairwise Differences

2

)2(

2

511111

0123410123210123210143210

  11111

x

Page 54: David J. Krus presents Matrix Algebra for Social Sciences

Triangulate the MatrixTriangulate the Matrix

2

)2(

2

511111

0123400123000120000100000

  11111

x

Page 55: David J. Krus presents Matrix Algebra for Social Sciences

Square the Matrix ElementsSquare the Matrix Elements

2511111

  

01491600149000140000100000

  11111

2

x

Page 56: David J. Krus presents Matrix Algebra for Social Sciences

VarianceVariance

225502 x

Sum the squared elements

Relational space

Page 57: David J. Krus presents Matrix Algebra for Social Sciences

CovarianceCovariance

In Summation NotationIn Summation Notation

Page 58: David J. Krus presents Matrix Algebra for Social Sciences

Summation NotationSummation Notation

cov xyxyn

Page 59: David J. Krus presents Matrix Algebra for Social Sciences

CovarianceCovariance

In Matrix Algebra NotationIn Matrix Algebra Notation

Page 60: David J. Krus presents Matrix Algebra for Social Sciences

Matrix Algebra NotationMatrix Algebra Notation

C D Dn

Page 61: David J. Krus presents Matrix Algebra for Social Sciences

Obtained ScoresObtained Scores

X

2 11 25 34 43 5

Page 62: David J. Krus presents Matrix Algebra for Social Sciences

Deviation ScoresDeviation Scores

D

1 22 12 01 10 2

x y

Page 63: David J. Krus presents Matrix Algebra for Social Sciences

Matrix MultiplicationMatrix Multiplication

C D Dn

Page 64: David J. Krus presents Matrix Algebra for Social Sciences

Matrix MultiplicationMatrix Multiplication

C

1 2 2 1 0

2 1 0 1 1

1 2

2 1

2 0

1 1

0 2

5

10 5

5 10

5

2 1

1 2

Page 65: David J. Krus presents Matrix Algebra for Social Sciences

Diagonal Elements:Diagonal Elements:Sums of SquaresSums of Squares

C

1 2 2 1 0

2 1 0 1 1

1 2

2 1

2 0

1 1

0 2

5

10 5

5 10

5

2 1

1 2

x’x

y’y

Page 66: David J. Krus presents Matrix Algebra for Social Sciences

Off-Diagonal Elements:Off-Diagonal Elements:Cross-ProductsCross-Products

C

1 2 2 1 02 1 0 1 1

1 22 12 01 10 2

5

10 55 10

52 11 2

xy

yx

Page 67: David J. Krus presents Matrix Algebra for Social Sciences

Variance-Covariance MatrixVariance-Covariance Matrix

C

1 2 2 1 02 1 0 1 1

1 22 12 01 10 2

5

10 55 10

52 11 2

Page 68: David J. Krus presents Matrix Algebra for Social Sciences

CorrelationCorrelation

In Summation NotationIn Summation Notation

Page 69: David J. Krus presents Matrix Algebra for Social Sciences

Summation NotationSummation Notation

rz znxyx y

Page 70: David J. Krus presents Matrix Algebra for Social Sciences

CorrelationCorrelation

In Matrix Algebra NotationIn Matrix Algebra Notation

Page 71: David J. Krus presents Matrix Algebra for Social Sciences

Matrix Algebra NotationMatrix Algebra Notation

R Z Zn

Page 72: David J. Krus presents Matrix Algebra for Social Sciences

Obtained ScoresObtained Scores

X

2 11 25 34 43 5

Page 73: David J. Krus presents Matrix Algebra for Social Sciences

Standard ScoresStandard Scores

Z

. .

. .

. .

. .. .

71 141141 71141 00

71 7100 141

Zx Zy

Page 74: David J. Krus presents Matrix Algebra for Social Sciences

Matrix Multiplication: Z’ZMatrix Multiplication: Z’Z

R

. . . . .

. . . . .

. .

. .

. .

. .. .

71 141 141 71 00141 71 00 71 141

71 141141 71141 00

71 7100 141

5

Page 75: David J. Krus presents Matrix Algebra for Social Sciences

Resulting Matrix Resulting Matrix

R

5 0 2 52 5 5 0

5

. .. .

ZxZx

ZyZy

ZxZy

ZyZx

Page 76: David J. Krus presents Matrix Algebra for Social Sciences

Correlation MatrixCorrelation Matrix

R

100 5050 100. .. .