Skip to main content
Statistics LibreTexts

3.17: Effects of Linear Transformations

  • Page ID
    2311
  • \( \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}}\)

    Learning Objectives

    • Compute the mean of a transformed variable
    • Compute the variance of a transformed variable

    This section covers the effects of linear transformations on measures of central tendency and variability. Let's start with an example we saw before in the section that defined linear transformation: temperatures of cities. Table \(\PageIndex{1}\) shows the temperatures of \(5\) cities.

    Table \(\PageIndex{1}\): Temperatures in \(5\) cities on \(11/16/2002\)
    City Degrees Fahrenheit Degrees Centigrade
    Houston
    Chicago
    Minneapolis
    Miami
    Phoenix
    54
    37
    31
    78
    70
    12.22
    2.78
    -0.56
    25.56
    21.11
    Mean
    Median
    54.000
    54.000
    12.220
    12.220
    Variance 330.00 101.852
    SD 18.166 10.092

    Recall that to transform the degrees Fahrenheit to degrees Centigrade, we use the formula

    \[C = 0.556F - 17.778\]

    which means we multiply each temperature Fahrenheit by \(0.556\) and then subtract \(17.778\). As you might have expected, you multiply the mean temperature in Fahrenheit by \(0.556\) and then subtract \(17.778\) to get the mean in Centigrade. That is, \((0.556)(54) - 17.778 = 12.22\). The same is true for the median. Note that this relationship holds even if the mean and median are not identical as they are in Table \(\PageIndex{1}\).

    The formula for the standard deviation is just as simple: the standard deviation in degrees Centigrade is equal to the standard deviation in degrees Fahrenheit times \(0.556\). Since the variance is the standard deviation squared, the variance in degrees Centigrade is equal to \(0.5562^2\) times the variance in degrees Fahrenheit.

    To sum up, if a variable \(X\) has a mean of \(\mu\), a standard deviation of \(\sigma\), and a variance of \(\sigma ^2\), then a new variable \(Y\) created using the linear transformation

    \[Y = bX + A\]

    will have a mean of \(b\mu + A\), a standard deviation of \(b\sigma\), and a variance of \(b^2\sigma ^2\).

    It should be noted that the term "linear transformation" is defined differently in the field of linear algebra. For details, follow this link.


    This page titled 3.17: Effects of Linear Transformations is shared under a Public Domain license and was authored, remixed, and/or curated by David Lane via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.