MATRICES - ECONOMETRIC THEORY Exercise 1(Tutorial Matrix...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECONOMETRIC THEORY: Exercise 1 (Tutorial) Matrix Algebra and Manpower Planning Matrix Multiplication in Microsoft Excel There is a limited set of matrix operations which may be performed in Excel with the use of predefined commands. The following commands are available in Version 4.0 : MMULT , MINVERSE , TRANSPOSE and MDETERM . In this exercise, we shall use only the first of these. For practice, we may multiply the matrices A = a 11 a 12 a 21 a 22 a 31 a 32 = 14 25 36 and b 11 b 12 b 13 b 21 b 22 b 23 = 791 1 81 01 2 to form the product AB = C = c 11 c 12 c 13 c 21 c 22 c 23 c 31 c 32 c 33 = 39 49 59 54 68 82 69 87 105 . To form the generic element c ij in the i th row and the j th column of C = AB , we take the elements of the i th row of A , which is a i. =[ a i 1 ,a i 2 ], and we combine them with the elements of the j th column of B , which is b .j b 1 j ,b 2 j ] 0 , to give c ij = a i 1 b 1 j + a i 2 b 2 j . Notice that the j th column of B has been written as a row followed by a prime { 0 } which indicates that the row is to be transposed to form a column. We shall often employ this space-saving device for representing columns. Figure 1 shows the basic format and procedure for multiplying matrices. There are three steps: (i) Insert the elements of the matrices A and B in convenient arrays of cells. In the figure, the elements of A are in the range (B5:C7) and those of B are in the range (F5:H6). (ii) Select a output range in which the results are to be written. In the figure, the output range is (B11:D13).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/02/2012 for the course EC 3062 taught by Professor D.s.g.pollock during the Spring '12 term at Queen Mary, University of London.

Page1 / 4

MATRICES - ECONOMETRIC THEORY Exercise 1(Tutorial Matrix...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online