Statistical Calculators

Correlation Confidence Interval and Significance Test Calculator

Enter a correlation and its sample size. The calculator returns the Fisher z interval for rho and the significance test, against zero or against a stated value of rho, with the method named and a conclusion in plain words.

Correlation calculator

How this calculator works

The interval for a correlation comes from the Fisher z transform. The transform stretches r onto a scale where its sampling distribution sits close to normal, the interval is built on that scale with a standard error of one over the square root of n minus three, and the ends are transformed back.

The test takes one of two forms, and the result names the form it used. Against a null rho of zero, the test is the exact t test on r. Against any other stated value of rho, the test is the Fisher z test, which compares the transformed sample value with the transformed null on the z scale.

Worked example

A correlation of 0.5 from a sample of 28 gives a 95 percent Fisher interval from 0.1560 to 0.7358. The t statistic is 2.944 at 26 degrees of freedom, and the p-value is 0.0067, below 0.05, so the test rejects a rho of zero.

Values computed from the Fisher z transform and the t distribution. The method was checked against reference calculations: the entries in the worked example reproduce to four decimal places, and the full pair record sits in the package verification file.