[R] How to get the pseudo left inverse of a singular square matrix?

Feng Zhang f0z6305 at labs.tamu.edu
Thu Aug 14 19:02:07 CEST 2003


Thank, Jerome

The question is if this generalized inverse can make
their product to be identity matrix?


----- Original Message -----
From: "Jerome Asselin" <jerome at hivnet.ubc.ca>
To: "Feng Zhang" <f0z6305 at labs.tamu.edu>; "R-Help"
<r-help at stat.math.ethz.ch>
Sent: Thursday, August 14, 2003 11:52 AM
Subject: Re: [R] How to get the pseudo left inverse of a singular square
matrix?


>
> Singular matrices are not invertible. However you can calculate the
> generalized inverse with the function ginv() from package MASS.
>
> HTH,
> Jerome
>
> On August 14, 2003 09:24 am, Feng Zhang wrote:
> > Dear R-listers,
> >
> > I have a dxr matrix Z, where d > r.
> > And the product Z*Z' is a singular square matrix.
> > The problem is how to get the left inverse U of this
> > singular matrix Z*Z', such that
> > U*(Z*Z') = I?
> >
> > Is there any to figure it out using matrix decomposition method?
> >
> > Thanks a lot for your help.
> >
> > Fred
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list