Covariance Calculator
Inputs
| X values | 1, 2, 3, 4, 5 |
|---|---|
| Y values | 2, 4, 5, 4, 5 |
Results
| Sample covariance | 1.5 |
|---|---|
\begin{aligned} s_{xy} &= \dfrac{\sum_{i}(x_i - \bar{x})(y_i - \bar{y})}{n - 1} \\ &= \dfrac{{\text{?}}}{5 - 1} \\ &= 1.5 \end{aligned} | |
| Population covariance | 1.2 |
\begin{aligned} \sigma_{xy} &= \dfrac{\sum_{i}(x_i - \bar{x})(y_i - \bar{y})}{n} \\ &= \dfrac{{\text{?}}}{5} \\ &= 1.2 \end{aligned} | |
| Mean of X | 3 |
| Mean of Y | 4 |
| Count | 5 |
Covariance Calculator
Inputs
Data
Results
\begin{aligned} s_{xy} &= \dfrac{\sum_{i}(x_i - \bar{x})(y_i - \bar{y})}{n - 1} \\ &= \dfrac{{\text{?}}}{5 - 1} \\ &= 1.5 \end{aligned}
Details
\begin{aligned} \sigma_{xy} &= \dfrac{\sum_{i}(x_i - \bar{x})(y_i - \bar{y})}{n} \\ &= \dfrac{{\text{?}}}{5} \\ &= 1.2 \end{aligned}
Recommended Next
Pearson Correlation Coefficient Calculator
Calculate the Pearson correlation coefficient (r) and r² from two paired datasets, with the relationship classified as strong, moderate, or weak.
Linear Regression Calculator
Fit a least-squares regression line ŷ = a + b·x to two paired datasets, returning the slope, intercept, correlation r, and r² with a scatter plot.