Navigation
Synopsis Covariance of data values.
Function num covariance(lrel[num x,num y] values)
Usage import analysis::statistics::Correlation;
Description Computes the covariance between the x and y values.
Examples
rascal>import analysis::statistics::Correlation;
ok
rascal>covariance([<1,12>,<3,12>,<3,11>,<5,7>]);
num: -2.5
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.