what is correlation of two vectors of 0?
A: 000000000000000 B: 000000000000000
The R cor function gives NA result, but is the correlation 1 or that it is undefined? However, in my model, 0 output is clearly a legitimate output.
what is correlation of two vectors of 0?
A: 000000000000000 B: 000000000000000
The R cor function gives NA result, but is the correlation 1 or that it is undefined? However, in my model, 0 output is clearly a legitimate output.
Your vectors have no variance, so correlation is undefined.