|
Size: 752
Comment: Notes
|
← Revision 3 as of 2026-09-02 19:01:17 ⇥
Size: 961
Comment: Reorganization
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 13: | Line 13: |
| For two random variables ''X'' and ''Y'', correlation is usually notated as either ''Corr(X,Y)'' or ''ρ,,X,Y,,''. It is calculated in terms of [[Analysis/Variance|variance]] and [[Analysis/Covariance|covariance]]: ''Corr(X,Y) = Cov(X,Y)/σ,,X,,σ,,Y,,''. | For two random variables ''X'' and ''Y'', correlation is usually notated as either ''Corr(X,Y)'' or ''ρ,,X,Y,,''. |
| Line 19: | Line 19: |
| === Pearson's r === Pearson's r, also called the Pearson correlation coefficient, is a type of correlation that is applicable to continuous random variables. The correlation of ''X'' and ''Y'' is calculated in terms of [[Analysis/Variance|variance]] and [[Analysis/Covariance|covariance]]: ''r = Corr(X,Y) = Cov(X,Y)/σ,,X,,σ,,Y,,''. |
Correlation
Correlation is a measure of how two variables are linearly related.
Contents
Description
For two random variables X and Y, correlation is usually notated as either Corr(X,Y) or ρX,Y.
For a random vector x, the correlation matrix is usually notated Ρ. (Note this is a capital rho, not a P, although the two are virtually indistinguishable.) Given a covariance matrix Σ, let d = √diag(Σ) i.e. a vector of standard deviations. Ρ = d-1Σd-1 and Σ = dΡd.
Pearson's r
Pearson's r, also called the Pearson correlation coefficient, is a type of correlation that is applicable to continuous random variables.
The correlation of X and Y is calculated in terms of variance and covariance: r = Corr(X,Y) = Cov(X,Y)/σXσY.
