SCovari Function

Estimation of the covariance of two data sets


Description

The function \(Covari\) estimates the covariance of two data sets from one sample. For the total use \(Covari\)

The covariance in stochastics is a related measure of a monotone relationship of two random variables with common probability distribution. The value of this parameter tends to indicate that whether high values of a random variable are associated with high or low values of the other random variables. Covariance is a measure of the relationship between two random variables.

It is necessary to distinguish between the covariance of the full population and the sample covariance, which not only serves as the descriptor of the sample, but also serves as an estimate of the distribution parameter.


Syntax

SCovari (a, b)

Example

a=[4,6,9,7,9,2,4,6,3]

b=[3,4,6,4,8,1,7,5,4]

SCovari(a,b)= 3.58