Saltar al contenido principal
LibreTexts Español

6.2: Covarianza

  • Page ID
    150294
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    La covarianza es una medida simple de la forma en que dos variables se mueven juntas, o “co-varían”. La covarianza de dos variables, XX y YY, se puede expresar en notación poblacional como:

    cov (X, Y) =E [(x−μX) (Y−μY)] (6.2) (6.2) cov (X, Y) =E [(x−μX) (Y−μY)]

    Por lo tanto, la covarianza entre XX e YY es simplemente el producto de la variación de XX alrededor de su valor esperado, y la variación de YY alrededor de su valor esperado. La covarianza de la muestra se expresa como:

    cov (X, Y) =( X−¯X) (Y−¯Y) (n−1) (6.3) (6.3) cov (X, Y) =( X−X¯) (Y−Y¯) (n−1)

    La covarianza puede ser positiva, negativa o cero. Si la covarianza es positiva ambas variables se mueven en la misma dirección, es decir, si XX aumenta YY aumenta o si XX disminuye YY disminuye. Covarianza negativa significa que las variables se mueven en direcciones opuestas; si XX aumenta YY disminuye. Finalmente, la covarianza cero indica que no hay covarianza entre XX y YY.


    This page titled 6.2: Covarianza is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Jenkins-Smith et al. (University of Oklahoma Libraries) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.