# Statistics - Covariance

The covariance gives the degree to which two variables vary together.

Covariance is not considered hindering interpretability in higher dimensions.

## Equation

$$\begin{array}{rrl} \text{Covariance of X and Y} & = & \frac\sum_{i=1}^{N}{(X_i-\bar{X}).(Y_i-\bar{Y})}}{N} \\ & = & \frac{\displaystyle\sum_{i=1}^{N}{\href{cross_product}{\text{Cross Product of X & Y}}}}{N} \\ & = & \frac\href{cross_product#SP}{\text{Sum of Cross Product (SP)}}}{N} \end{array}$$

where:

• $\bar{X}$ and $\bar{Y}$ are the mean
• N is the sample size

Media ({{:statistics:covariance.svg?170x200}}). Error while rendering: The image (wiki://media>statistics:covariance.svg) does not exist

Recommended Pages (Machine|Statistical) Learning - (Predictor|Feature|Regressor|Characteristic) - (Independent|Explanatory) Variable (X)

A Independent variable is a variable used in supervised analysis in order to predict an outcome variable. It's also known as: Predictor Input variable, Regressors, Explanatory variable, CovariateCovariates... Analytic (Data Analyst)

A Data Analyst sees what data he has. A Data Scientist imagines what data he is lacking. Information analysis provides insight into : the past the present and the future of the business. See... SQL Function - Window Aggregate (Analytics function)

Windowing functions (known also as analytics) allow to compute: cumulative, moving, and aggregates. They are distinguished from ordinary SQL functions by the presence of an OVER clause. With... Statistics - (Univariate|Simple|Basic) Linear Regression

A Simple Linear regression is a linear regression with only one predictor variable (X). Correlation demonstrates the relationship between two variables whereas a simple regression provides an equation... Statistics - (Variance|Dispersion|Mean Square) (MS)

The variance shows how widespread the individuals are from the average. The variance is how much that the estimate varies around its average. It's a measure of consistency. A very large variance means... Statistics - Correlation (Coefficient analysis)

Correlation is a statistical analysis used to measure and describe the relationship betweentwo variables. The Correlations coefficient is a statistic and it can range between +1 and -1 +1 is a perfect... Statistics - Correlation Matrix

From a raw matrix to a correlation matrix. A correlation matrix is a special matrix used in statistics. It is a square symmetric matrix. 3 columns (3 variables), 8 rows (8 individuals) ... Statistics - Fisher (Multiple Linear Discriminant Analysis|multi-variant Gaussian)

multi-variant Gaussians. Fisher has describe first this analysis with his Iris Data Set. A Fisher's linear discriminant analysis or Gaussian LDA measures which centroid from each class is the closest.... Statistics - Little r - (Pearson product-moment Correlation coefficient)

The Pearson product-moment correlation coefficient is a correlation coefficient formulas that can be applied when both variables are continuous. The correlation is the standardized Covariance as... Statistics Learning - Discriminant analysis

Discriminant analysis is a classification method. In discriminant analysis, the idea is to: model the distribution of X in each of the classes separately. use what's known as Bayes theorem to flip... 