Loading [MathJax]/jax/output/CommonHTML/jax.js

EXAMPLE 3 Calculating tdata

Use the following steps to calculate the test statistic tdata=b1s/(xˉx)2 for the data in Table 2:

  1. Find b1, the slope of the regression line.
  2. Calculate s, the standard error of the estimate.
  3. Compute (xˉx)2, the numerator of the sample variance of the x data.
Page 722

Solution

All calculations up to the final result are expressed to nine decimal places.

  1. From Example 1, the slope of the regression line is b1=1.5.
  2. Recall from Section 4.3 (page 228) that

    s=SSEn2=(yˆy)2n2=(residual)2n2

    is the standard error of the estimate. Squaring each residual from Table 2 gives us the squared residuals in Table 3, and the sum of squared residuals, or sum of squares error, equal to

    SSE=(yˆy)2=46.4

    Then the standard error of the estimate is

    s=SSEn2=46.482.408318916.

    Table 13.4: Table 3 Calculating SSE
    Residuals yˆy Squared residuals (yˆy)2
    1.4 1.96
    −1.6 2.56
    −0.6 0.36
    3.4 11.56
    −2.6 6.76
    −2.6 6.76
    3.4 11.56
    −0.6 0.36
    −1.6 2.56
    1.4 1.96
    Sum=46.4
  3. To compute (xˉx)2 , we note from page 110 in Chapter 3 that the sample variance of x is

    s2x=(xˉx)2n1

    Multiplying each side of the equation by n1 , we obtain an equation for the quantity (xˉx)2:

    (xˉx)2=(n1)·s2x

    The TI-83/84 output from Figure 7 shows that sx=6.055300708 , and, because n=10,

    (xˉx)2= (n1)· s2x = (9) (6.055300708)2 = 330

    Therefore,

    tdata = b1s/(xˉx)2 =  1.52.408318916 /330  11.3

    image
    FIGURE 7 Summary statistics for the x (age) data.
[Leave] [Close]