Correlation coefficient

r=fraccov(X,Y)sXsYr=\\frac{cov(X,Y)}{s_Xs_Y}

What it does

Calculates correlation coefficient from the supplied values.

When to use it

Use this statistics formula when the named quantities are known.

Variables

Worked example

{
  "inputs": {
    "covariance": 12,
    "standardDeviationX": 3,
    "standardDeviationY": 2
  },
  "result": 2
}

Common mistakes

Check units, signs, brackets and that every value is entered in the stated units.