[R] Inverse Matrices

Sundar Dorai-Raj doraiss at auburn.edu
Tue Nov 6 18:58:25 CET 2001


Looks like A is a singular matrix, hence no inverse. Try det(A) to see
if the determinant is 0 (or close to zero).

If that's not the case, perhaps you can send the actual matrix you're
working with?

Sundar

> -----Original Message-----
> From: owner-r-help at stat.math.ethz.ch 
> [mailto:owner-r-help at stat.math.ethz.ch] On Behalf Of 
> laura at bayesian-bay.freeserve.co.uk
> Sent: Tuesday, November 06, 2001 9:21 AM
> To: r-help at hypatia.math.ethz.ch
> Subject: [R] Inverse Matrices
> 
> 
> I have a problem with finding the inverse of a matrix. I have 
> a square 9x9 matrix, A, and when I do solve(A) to find the 
> inverse I get the following error message:
> 
> Error in solve.default(A) : singular matrix `a' in solve
> 
> Has anybody got any ideas as to why this is happening?
> 
> Thanks 
> 
> Laura Gross
> 
> 
> 
> ______________________________________________________________
> _________
> Never pay another Internet phone bill!
> Freeserve AnyTime, for all the Internet access you want, day 
> and night, only £12.99 per month. Sign-up at 
> http://www.freeserve.com/time/anytime
> 
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-.-.-
> r-help mailing list -- Read 
> http://www.ci.tuwien.ac.at/~hornik/R/R-> FAQ.html
> Send "info", 
> "help", or "[un]subscribe"
> (in the 
> "body", not the subject !)  To: 
> r-help-request at stat.math.ethz.ch 
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list