Skip to content
Prev 78561 / 398502 Next

Matrix calculations in R--erroneous?

On Fri, 7 Oct 2005, Peter Muhlberger wrote:

            
to within 2e-16
to within 2e-16
to within 2e-16
to within a few parts in 10^16

You haven't actually shown us yMat2[5,9]-yMat1[5,9]*logitShape()[5,9], 
though
If "0" is really of the order of 1e-16 then this isn't surprising. If the 
only point of 1e-323 is as a guard value for 0 then use max(1e-323, 
yMat2[5,9]-yMat1[5,9]*logitShape()[5,9])


 	-thomas