Displaying 2 results from an estimated 2 matches for "coordinatewise".
2005 Feb 18
0
Suggestions for enhanced routines for "mlm" models.
...e property
that TX == 0. (One sticky bit is that you can't really just use
proj() because T must have maximal rank. What is the current best
practice for dealing with that? qr() pivoting?)
summary.mlm
print.summary.mlm
vcov.mlm
summary.mlm could be a little smarter than just coordinatewise
summary.lm. It could at least provide the estimated residual
covariance matrix (or SSD structure).
vcov currently inherits from "lm" leading to a completely
arbitrarily scaled matrix. The correct matrix is a Kronecker
product of the unscaled covariance matrix and es...
2024 Sep 05
2
BUG: atan(1i) / 5 = NaN+Infi ?
atan(1i) -> 0 + Inf i
complex(1/5) -> 0.2 + 0i
atan(1i) -> (0 + Inf i) * (0.2 + 0i)
-> 0*0.2 + 0*0i + Inf i * 0.2 + Inf i * 0i
infinity times zero is undefined
-> 0 + 0i + Inf i + NaN * i^2
-> 0 + 0i + Inf i - NaN
-> NaN + Inf i
I am not sure how complex arithmetic could arrive at another answer.
I advise against messing with infinities... use atan2() if you don't