[R] qr test?
Berend Hasselman
bhh at xs4all.nl
Thu Feb 18 08:01:07 CET 2010
rkevinburton wrote:
>
> I am testing 'qr' with an admittedly contrived matrix and I am getting
> different results than I am from another package. The matrix that I am
> using is:
>
> x <- matrix(seq(.1, by=.1, length.out=12), 4)
>
> So the whole test is:
>
> x <- matrix(seq(.1, by=.1, length.out=12), 4)
> qr(x)
>
>
Which other package?
Have a look at the result of qr(x,LAPACK=T).
Do svd(x) and you will see that your matrix is ill-conditioned.
Similar results if you do rcond(x).
Berend
--
View this message in context: http://n4.nabble.com/qr-test-tp1558970p1559710.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list