• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Summary

Summary - AP statistics Matrix algebra-Variance-Covariance Matrix

Document preview thumbnail
Preview 1 out of 4 pages

Summary - AP statistics Matrix algebra-Variance-Covariance Matrix

Content preview

Variance-Covariance Matrix
This lesson explains how to use matrix methods to generate a variance-covariance matrix from a matrix of raw data.


Variance
Variance is a measure of the variability or spread in a set of data. Mathematically, it is the average squared deviation from the mean
score. We use the following formula to compute population variance.

Var(X) = Σ ( Xi - X )2 / N = Σ xi2 / N

where

N is the number of scores in a set of scores
X is the mean of the N scores.
Xi is the ith raw score in the set of scores
xi is the ith deviation score in the set of scores
Var(X) is the variance of all the scores in the set


Covariance
Covariance is a measure of the extent to which corresponding elements from two sets of ordered data move in the same direction. We
use the following formula to compute population covariance.

Cov(X, Y) = Σ ( Xi - X ) ( Yi - Y ) / N = Σ xiyi / N

where

N is the number of scores in each set of data
X is the mean of the N scores in the first dataset
Xi is the ithe raw score in the first set of scores
xi is the ith deviation score in the first set of scores
Y is the mean of the N scores in the second dataset
Yi is the ithe raw score in the second set of scores
yi is the ith deviation score in the second set of scores
Cov(X, Y) is the covariance of corresponding scores in the two sets of data


Variance-Covariance Matrix

Variance and covariance are often displayed together in a variance-covariance matrix, (aka, a covariance matrix). The variances appear
along the diagonal and covariances appear in the off-diagonal elements, as shown below.


Σ x12 / N Σ x1 x2 / N ... Σ x1 xc / N

Σ x2 x1 / N Σ x22 / N ... Σ x2 xc / N
V=
... ... ... ...

Σ xc x1 / N Σ xc x2 / N ... Σ x c2 / N


where

V is a c x c variance-covariance matrix
N is the number of scores in each of the c datasets

Document information

Uploaded on
May 7, 2025
Number of pages
4
Written in
2024/2025
Type
Summary
$5.50

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
selftest
4.2
(13)
Sold
51
Followers
6
Items
2606
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions