Calculate the `null correlation' of ratios, using the the spurious correlation formula of Pearson (1897).
rwyxz(
mw,
mx,
my,
mz,
sw,
sx,
sy,
sz,
rwx = 0,
rwy = 0,
rwz = 0,
rxy = 0,
rxz = 0,
ryz = 0
)ryxy(mx, my, sx, sy, rxy = 0)
rxzyz(mx, my, mz, sx, sy, sz, rxy = 0, rxz = 0, ryz = 0)
the null correlation coefficient
the mean of variable w
the mean of variable x
the mean of variable y
the mean of variable z
the standard deviation of variable w
the standard deviation of variable x
the standard deviation of variable y
the standard deviation of variable z
the correlation coefficient between w
and
x
the correlation coefficient between w
and
y
the correlation coefficient between w
and
z
the correlation coefficient between x
and
y
the correlation coefficient between x
and
z
the correlation coefficient between y
and
z
Pearson, K. ``Mathematical contributions to the theory of evolution. -- on a form of spurious correlation which may arise when indices are used in the measurement of organs.'' Proceedings of the Royal Society of London 60.359-367 (1897): 489-498.
rxzyz(mx=100,my=100,mz=100,sx=1,sy=1,sz=10)
Run the code above in your browser using DataLab