5.7E: An Application to Correlation and Variance Exercises

Linear Algebra with Applications · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC-SA 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    5.7E: An Application to Correlation and Variance Exercises
    Exercise \(\PageIndex{1}\)

    The following table gives IQ scores for 10 fathers and their eldest sons. Calculate the means, the variances, and the correlation coefficient \(r\). (The data scaling formula is useful.)

    Individual 1 2 3 4 5 6 7 8 9 10
    Father's IQ 140 131 120 115 110 106 100 95 91 86
    Son's IQ 130 138 110 99 109 120 105 99 100 94
    Exercise \(\PageIndex{2}\)

    The following table gives the number of years of education and the annual income (in thousands) of 10 individuals. Find the means, the variances, and the correlation coefficient. (Again the data scaling formula is useful.)

    Individual 1 2 3 4 5 6 7 8 9 10
    Years of Education 12 16 13 18 19 12 18 19 12 14
    Yearly Invoice ($1,000s) 31 48 35 28 55 40 39 60 32 35
    Answer

    Let \(X\) denote the number of years of education, and let \(Y\) denote the yearly income (in 1000’s). Then \(\overline{x} = 15.3\), \(s_x^2 = 9.12\) and \(s_{x} = 3.02\), while \(\overline{y} = 40.3\), \(s_y^2 = 114.23\) and \(s_{y} = 10.69\). The correlation is \(r(X, Y) = 0.599\).

    Exercise \(\PageIndex{3}\)

    If \(\mathbf{x}\) is a sample vector, and \(\mathbf{x}_{c}\) is the centered sample, show that \(\overline{x}_{c} = 0\) and the standard deviation of \(\mathbf{x}_{c}\) is \(s_{x}\).

    Exercise \(\PageIndex{4}\)

    Prove the data scaling formulas found in Note 5.7.1: (a), (b), and (c).

    Answer

    Given the sample vector \(\mathbf{x} = \left[ \begin{array}{c} x_1 \\ x_2 \\ \vdots \\ x_n \end{array} \right]\), let \(\mathbf{z} = \left[ \begin{array}{c} z_1 \\ z_2 \\ \vdots \\ z_n \end{array} \right]\) where \(z_{i} = a + bx_{i}\) for each \(i\). By (a) we have \(\overline{z} = a + b\overline{x}\), so

    \[\begin{aligned} s_z^2 &= \frac{1}{n - 1}\sum_{i}(z_i - \overline{z})^2 \\ &= \frac{1}{n - 1}\sum_{i}[(a + bx_i) - (a + b\overline{x})]^2 \\ &= \frac{1}{n - 1}\sum_{i}b^2(x_i - \overline{x})^2 \\ &= b^2s_x^2.\end{aligned} \nonumber \]


    This page titled 5.7E: An Application to Correlation and Variance Exercises was last modified on Sat, 17 Jan 2026 00:22:34 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by W. Keith Nicholson.