On Mon, 8 Aug 2016, Sven Schreiber wrote:
Hi,
I'm glad this bug only seems to affect mcorr(), and not corr():
<hansl>
nulldata 6
series c = 2
eval corr(c, c) # gives NA
matrix mc = { c }
eval corr(mc, mc) # gives NA
eval mcorr(mc ~ mc) # gives zero matrix
</hansl>
I think the first two results are correct (correlation is undefined for
non-varying inputs), but the mcorr output of zero is wrong, should also be
NAs.
True. That's now fixed in git; snapshots will follow before long.
Allin