covar - covariance of two variables

Calling Sequence

s=covar(x,y,fre)

Parameters

Description

covar(x,y,fre) computes the covariance of two variables x and y. fre is a matrix of dimensions length(x) x length(y). In fre the element of indices (i,j) corresponds to the value or number or frequences of x_i&y_j.

REFERENCES

Examples

Author