Professional Documents
Culture Documents
AGA = A =⇒ AA− A = A.
If A is square and nonsingular, then the generalized inverse of A is A−1 since AA− A =
AA−1 A = A.
NOTES :
• Every matrix A, regardless of its dimension, has a generalized inverse.
• Generalized inverses are not unique unless A is nonsingular.
• If A is m × n, then A− is n × m.
• A generalized inverse of A, A symmetric, is not necessarily symmetric. However, a
symmetric generalized inverse can always be found. We will thus assume that the
generalized inverse of a symmetric matrix is symmetric.
• If G is a generalized inverse of A, then G0 is a generalized inverse of A0 .
• Monahan uses Ag to denote generalized inverse, but I will use A− .
Note that r(A) = 2 because −a1 + 6a2 − a3 = 0. Thus A−1 does not exist. However, it
is easy to show that AGA = A; thus, G is a generalized inverse of A.
PAGE 1
STAT 714 MATRIX ALGEBRA REVIEW 4
is a generalized inverse of A. This result essentially shows that every matrix has a
generalized inverse (see Results A.10 and A.11, Monahan). Also, it gives a method to
compute it.
Result MAR4.3. Let Am×n , xn×1 , cm×1 , and In×n be matrices, and suppose that
Ax = c is consistent. Then, x∗ is a solution to Ax = c if and only if
x∗ = A− c + (I − A− A)z,
for some z ∈ Rn . Thus, we can generate all solutions by just knowing one of them; i.e.,
by knowing A− c.
Proof. (⇐=) We know that x∗ = A− c is a solution (Result MAR4.1). Suppose that
x∗ = A− c + (I − A− A)z, for some z ∈ Rn . Thus,
x ∗ = A− c + x ∗ − A− c
= A− c + x∗ − A− Ax∗ = A− c + (I − A− A)x∗ .
PAGE 2
STAT 714 MATRIX ALGEBRA REVIEW 4
COMPARE : Suppose that X1 , X2 , ..., Xn is an iid sample from fX (x; θ) and let X =
(X1 , X2 , ..., Xn )0 . Suppose also that θb1 = θb1 (X) is an unbiased estimator of θ; that is,
Eθ [θb1 (X)] = θ for all θ ∈ Θ, say. The general form of an unbiased estimator for θ is
θe = θb1 + T,
Y = Xβ + ,
X0 Xβ = X0 Y.
The normal equations are consistent (see below). Thus, the general form of the least
squares estimator is given by
b = (X0 X)− X0 Y + [I − (X0 X)− X0 X]z,
β
where z ∈ Rp . Of course, if r(X) = p, then (X0 X)−1 exists, and the unique solution
becomes
b = (X0 X)−1 X0 Y.
β
X0 XA = X0 XB ⇐⇒ XA = XB.
Proof. The necessity part (⇐=) is obvious. For the sufficiency part (=⇒), note that
X0 XA = X0 XB =⇒ X0 XA − X0 XB = 0
=⇒ (A − B)0 (X0 XA − X0 XB) = 0
=⇒ (A − B)0 X0 (XA − XB) = 0
=⇒ (A0 X0 − B0 X0 )(XA − XB) = 0
=⇒ (XA − XB)0 (XA − XB) = 0.
PAGE 3
STAT 714 MATRIX ALGEBRA REVIEW 4
This can only be true if XA − XB = 0. Thus, the lemma is proven. Now, let (X0 X)−
denote a generalized inverse of X0 X so that X0 X(X0 X)− X0 X = X0 X. Taking A0 =
X0 X(X0 X)− and B0 = I in the lemma, we have
Yij = µ + αi + ij ,
PAGE 4
STAT 714 MATRIX ALGEBRA REVIEW 4
PAGE 5