Standard deviation and variance
Describe how spread out a list of numbers is around its mean. Both sample and population statistics are shown.
Calculate Pearson correlation and a least-squares regression line from matched X and Y observations.
Saved in this browser. Before changing devices, export a backup from My tools.
Correlation does not imply causation; very small samples and outliers limit interpretation.
Pearson r measures linear association. The least-squares line is y = intercept + slope × x; R² is the coefficient of determination for this model with intercept. Constant X makes the line undefined; constant Y yields a line but leaves r and R² undefined. Two points can have r = ±1 without proving a reliable trend. Correlation is not causation; outliers, nonlinear patterns and sampling affect interpretation. Results use floating-point approximation; usage events are not transmitted.
Correlation measures linear association and does not establish cause. Outliers, nonlinearity and sampling can affect results.
Constant X makes the regression undefined. Constant Y gives a horizontal line but correlation and R² are undefined. No usage event is transmitted.
References:NIST: correlation、Taipei Medical University: correlation analysis
Use matching X and Y observations to calculate Pearson correlation and a least-squares regression line.
Enter a matching X and Y number on each row, with two to one hundred rows and no more than six decimal places.
The slope is the sum of centered X times centered Y divided by the sum of squared centered X; intercept is mean Y minus slope times mean X.
For pairs (1,2), (2,4), (3,6), the fitted line has slope 2, intercept 0 and Pearson correlation 1.
The sign of r indicates linear direction and its magnitude indicates linear association. R² is the squared correlation for this fitted model.
Constant X makes the line undefined; constant Y makes correlation and R² undefined. Two points can yield perfect correlation without proving a reliable trend or causation.
You are offline. Calculations use the version already downloaded.