E.matrices {matrixcalc}R Documentation

List of E Matrices

Description

This function constructs and returns a list of lists. The component of each sublist is a square matrix derived from the column vectors of an order n identity matrix.

Usage

E.matrices(n)

Arguments

n

a positive integer for the order of the identity matrix

Details

Let In=[e1e2en]{{\bf{I}}_n} = \lbrack {\begin{array}{cccc} {{{\bf{e}}_1}}&{{{\bf{e}}_2}}& \cdots &{{{\bf{e}}_n}} \end{array}} \rbrack be the order nn identity matrix with corresponding unit vectors ei{{{\bf{e}}_i}} with one in its iith position and zeros elsewhere. The n×nn \times n matrix Ei,j{{\bf{E}}_{i,j}} is computed from the unit vectors ei{{{\bf{e}}_i}} and ej{{{\bf{e}}_j}} as Ei,j=ei  ej{{\bf{E}}_{i,j}} = {{\bf{e}}_i}\;{{\bf{e'}}_j}. These matrices are stored as components in a list of lists.

Value

A list with nn components

1

A sublist of nn components

2

A sublist of nn components

...

n

A sublist of nn components

Each component jj of sublist ii is a matrix Ei,j{\bf{E}}_{i,j}

Note

The argument n must be an integer value greater than or equal to 2.

Author(s)

Frederick Novomestky fnovomes@poly.edu

References

Magnus, J. R. and H. Neudecker (1980). The elimination matrix, some lemmas and applications, SIAM Journal on Algebraic Discrete Methods, 1(4), December 1980, 422-449.

Magnus, J. R. and H. Neudecker (1999). Matrix Differential Calculus with Applications in Statistics and Econometrics, Second Edition, John Wiley.

Examples

E <- E.matrices( 3 )

[Package matrixcalc version 1.0-6 Index]