Skip to main content
Statistics LibreTexts

7.5: Practice Example of how to Compute t when Descriptive Statistics are Provided

  • Page ID
    50045

    \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Usually, data are provided and used to compute the values needed for an inferential test such as the one sample t-tests. However, you may encounter times when the sample descriptive statistics are already available and do not need to be computed from the raw data. When this occurs, the preparatory steps of the analysis are already completed and it is possible to move to solving using the formula. Now that we have walked through all the preparatory steps and steps to solving in detail using sample data, let’s practice one more time with just the steps for solving.

    Let us assume we want to assess whether the students at one school called Valley College are scoring significantly higher on a standardized test than students in general in the United States. Let us assume that Valley College had 36 students whose mean score on the test was 80.00 with a standard deviation of 10.00. Let us also assume that we know the mean for the population of students in the U.S. to be 55.00.

    Let’s use this information to follow the steps in hypothesis testing:

    1. State the hypothesis.
      • It is hypothesized that students at Valley College will have a higher mean test score than the mean of 55.00 for students in general in the United States.
    2. Choose the inferential test (formula) that best fits the hypothesis.
      • A one sample t-test is the best fit for comparing the mean from a sample to the known mean of a population.
    3. Determine the critical value.
      • The standard alpha level of .05 can be used. The hypothesis is directional, so a one-tailed test is required. The sample size is 36 so the df = 35. Thus, the critical value associated with a df of 35 in Appendix D should be used. Below is an excerpt of the section of the t-tables that best fits the current hypothesis and data. Under the conditions of an alpha level of .05, a one-tailed test, and 35 degrees of freedom the critical value is 1.690.
        one-tailed test
        alpha level: \(\alpha\) = 0.05 \(\alpha\) = 0.01
        Degrees of Freedom: 35 35
        Critical Values: 1.690 2.438
    4. Calculate the test statistic.

    Section A: Preparation

    The preparatory values are provided and only need to be identified rather than computed. For the current example for a one sample t-test, this preparatory values are as follows:

    \(\mu\) = 55.00

    \(n\) = 36

    \(\bar{x}\)= 80.00

    \(s\) = 10.00

    Section B: Solving

    Now that the preparatory work is done, the formula can be used to compute the obtained value. For the one sample t-test, this work is as follows:

    1. Write the formula with the values found in section A plugged into their respective locations. \[\begin{aligned}
    & t=\dfrac{\bar{x}-\mu}{\frac{s}{\sqrt{n}}} \\
    & t=\dfrac{80.00-55.00}{\frac{10.00}{\sqrt{36}}} \\
    & t=\dfrac{25.00}{\frac{10.00}{6.00}} \\
    & t=\dfrac{25.00}{1.666 \ldots} \\
    & t=15.00
    \end{aligned} \nonumber \]

    1. Apply a decision rule and determine whether the result is significant.

    The critical value is 1.690

    The obtained t-value is 15.00

    The obtained t-value exceeds (i.e. is greater than) the critical value, thus, the result is strong enough to be significant.

    However, an additional consideration is needed when the hypothesis is directional. When a hypothesis is directional, the result must both be strong enough to be significant (by being greater in absolute value than the critical value) and also in the same direction as was hypothesized.

    It was hypothesized that the mean for Valley College would be higher than that of the United States in general. The mean for Valley College was 80.00 and the mean for the U.S. in general was 55.00. Thus, the data are in the same direction as hypothesized.

    In summary, because the data are in the direction hypothesized and the obtained value was greater than the critical value, the result can be determined to be significant.

    1. Calculate the effect size.

    Cohen’s \(d\) can be used to calculate the effect size for a one sample t-test. The Cohen’s d calculations for the current data would be as follows: \[\begin{gathered}
    d=\dfrac{\bar{x}-\mu}{s} \\
    d=\dfrac{80.00-55.00}{10.00} \\
    d=\dfrac{25.00}{10.00} \\
    d=2.50
    \end{gathered} \nonumber \]

    Using the rules of thumb, this would be considered a large effect size.

    1. Report the results in American Psychological Associate (APA) format.

    A one sample t-test was used to test the hypothesis that students at Valley College would have a higher mean test score than the mean of 55.00 for students in general in the United States. Consistent with the hypothesis, the mean score for the sample (\(M\) = 80.00; \(SD\) = 10.00) was significantly higher than the mean for the population, t(35) = 15.00, \(p\) < .05. The Cohen’s \(d\) effect size of 2.50 was large.


    This page titled 7.5: Practice Example of how to Compute t when Descriptive Statistics are Provided is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by .

    • Was this article helpful?