Pearson's Product Moment Correlation

From Q
Jump to navigation Jump to search

The correlation between two variables, x and y, with weighted means of x¯ and y¯ respectively, is:

r=∑i=1nwi(xi−x¯)(yi−y¯)∑i=1nwi(xi−x¯)2∑i=1nwi(yi−y¯)2

where:

wi is the Calibrated Weight for the ith of n observations
p≈Pr⁡(t∑i=1nwi−2≥r∑i=1nwi−21−r2)

See also

Correlations - Comparing Two Numeric Variables