Correlation (Pearson, Spearman)
Pearson correlation coefficient r; p value from t = r·√((n − 2)/(1 − r²)) with n − 2 degrees of freedom; 95% CI via Fisher’s z transformation (z = artanh r, SE = 1/√(n − 3), from 4 pairs). Spearman ρ = Pearson r of the ranks (average ranks for ties), p value from the same t approximation. Both two-sided; enter values as pairs in the same order. Sources: Pearson K. Mathematical contributions to the theory of evolution. III. Regression, heredity, and panmixia. Philos Trans R Soc Lond A 1896;187:253–318 (doi:10.1098/rsta.1896.0007). Fisher RA. Frequency distribution of the values of the correlation coefficient in samples from an indefinitely large population. Biometrika 1915;10:507–21 (doi:10.1093/biomet/10.4.507). Fisher RA. On the “probable error” of a coefficient of correlation deduced from a small sample. Metron 1921;1:3–32. Spearman C. The proof and measurement of association between two things. Am J Psychol 1904;15:72–101 (doi:10.2307/1412159; reprinted in Int J Epidemiol 2010;39:1137–50, PMID 21051364).
More about this tool
Enter the values and the result appears immediately. Formula and interpretation follow the original publication cited below. Free, no account – your entries stay in your browser.
For orientation only. Does not replace statistical advice; verify results for papers and grant applications with a second software.
More calculators: Correlation and regression
pubmed.info sets no tracking cookies and builds no user profiles. Visits are counted anonymously (cookieless, shortened IP addresses). Ads from Google appear only according to your consent choice.