Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Pearson correlation coefficient
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Weighted correlation coefficient=== Suppose observations to be correlated have differing degrees of importance that can be expressed with a weight vector ''w''. To calculate the correlation between vectors ''x'' and ''y'' with the weight vector ''w'' (all of length ''n''),<ref>{{cite web|url=http://sci.tech-archive.net/Archive/sci.stat.math/2006-02/msg00171.html|title=Re: Compute a weighted correlation|website=sci.tech-archive.net}}</ref><ref>{{cite web|url=http://www.mathworks.com/matlabcentral/fileexchange/20846-weighted-correlation-matrix|title=Weighted Correlation Matrix β File Exchange β MATLAB Central}}</ref> * Weighted mean: <math display="block">\operatorname{m}(x; w) = \frac{\sum_i w_i x_i}{\sum_i w_i}.</math> * Weighted covariance <math display="block">\operatorname{cov}(x,y;w) = \frac{\sum_i w_i \cdot (x_i - \operatorname{m}(x; w)) (y_i - \operatorname{m}(y; w))}{\sum_i w_i }.</math> * Weighted correlation <math display="block">\operatorname{corr}(x,y;w) = \frac{\operatorname{cov}(x,y;w)}{\sqrt{\operatorname{cov}(x,x;w) \operatorname{cov}(y,y;w)}}.</math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)