Sample mean and sample covariance - Wikipedia, the free encyclopedia

That's right, but the two functions are not constant, obviously.i thought that the cov of two constants are 0?

First you have to determine the means of f and g, respectively. Then you get your sample covariance like this

since your sample size is 5. The sample variance of f and of g are just and , respectively.