Sample Mean and Sample Covariance - Weighted Samples

Weighted Samples

It has been suggested that portions of this section be moved into Weighted mean. (Discuss)

In a weighted sample, each vector (each set of single observations on each of the K random variables) is assigned a weight . Without loss of generality, assume that the weights are normalized:

(If they are not, divide the weights by their sum). Then the weighted mean vector is given by

and the elements of the weighted covariance matrix are

 q_{jk}=\frac{\sum_{i=1}^{N}w_i}{\left(\sum_{i=1}^{N}w_i\right)^2-\sum_{i=1}^{N}w_i^2}
\sum_{i=1}^N w_i \left( x_{ij}-\bar{x}_j \right) \left( x_{ik}-\bar{x}_k \right) .

If all weights are the same, the weighted mean and covariance reduce to the sample mean and covariance above.

Read more about this topic:  Sample Mean And Sample Covariance

Famous quotes containing the word samples:

    Good government cannot be found on the bargain-counter. We have seen samples of bargain-counter government in the past when low tax rates were secured by increasing the bonded debt for current expenses or refusing to keep our institutions up to the standard in repairs, extensions, equipment, and accommodations. I refuse, and the Republican Party refuses, to endorse that method of sham and shoddy economy.
    Calvin Coolidge (1872–1933)