From 1a9cddd45160dd5bea36024b13acc236c2057641 Mon Sep 17 00:00:00 2001 From: Jan Benda Date: Sat, 30 Nov 2019 20:07:17 +0100 Subject: [PATCH] [statistics] added equation label to correlation coefficient --- statistics/lecture/statistics.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/statistics/lecture/statistics.tex b/statistics/lecture/statistics.tex index 5923d8f..583f757 100644 --- a/statistics/lecture/statistics.tex +++ b/statistics/lecture/statistics.tex @@ -455,10 +455,13 @@ data values (e.g. size and weight of elephants) we want to analyze dependencies between the variables. The \enterm{correlation coefficient} -\[ r_{x,y} = \frac{Cov(x,y)}{\sigma_x \sigma_y} = \frac{\langle +\begin{equation} + \label{correlationcoefficient} + r_{x,y} = \frac{Cov(x,y)}{\sigma_x \sigma_y} = \frac{\langle (x-\langle x \rangle)(y-\langle y \rangle) \rangle}{\sqrt{\langle (x-\langle x \rangle)^2} \rangle \sqrt{\langle (y-\langle y - \rangle)^2} \rangle} \] + \rangle)^2} \rangle} +\end{equation} quantifies linear relationships between two variables \matlabfun{corr()}. The correlation coefficient is the \determ{covariance} normalized by the standard deviations of the