Skip to main content
Statistics LibreTexts

8.9: Steps of the Hypothesis Testing Process

  • Page ID
    44861
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

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

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

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

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

    \(\newcommand{\ket}[1]{\left| #1 \right>}\)
    \(\newcommand{\bra}[1]{\left< #1 \right|}\)
    \(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
    \(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
    \(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
    \(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
    \(\newcommand{\expect}[1]{\langle #1 \rangle}\)
    \(\newcommand{\dfn}[1]{\emph{\textbf{#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}\)

    Remember way back in the first chapter when we discussed the scientific method? Figure \(\PageIndex{1}\) shows the model, as a reminder.

    clipboard_e8a15578660de7ae2b570d3645123c25e.png
    Figure \(\PageIndex{1}\): Model of Stages of the Scientific Method. (CC-BY-SA; Michelle Oja via source)

    We’re going to use that model to structure our process of null hypothesis significance testing (NHST) into steps. This process can be quite lengthy and involves a lot of pieces, so having a simple five-step model to refer to will help you put some of the puzzle pieces together. These steps will be what we use for the remainder of the textbook. The statistics we use will change, but this process will not.

    Step 1: Hypotheses

    In real life and real research, you would start with some questions about the world. In most examples in this course, you’ll be provided data or a scenario to work with. Sometimes this scenario will include a prompt or research question. For those working through this five-step Null Hypothesis Significance Testing process, your first step will be to develop research hypotheses and null hypotheses. These hypotheses will usually be stated mathematically in symbols AND in words, with the words explaining what each symbols represents for the specific research scenario. These hypotheses will look different for each different type of statistical analysis used, but we will always state the research hypothesis (what we expect or are predicting) and the null hypothesis to remind us what we are testing (that nothing happened).

    Step 2: Collect Data

    Most versions of this course focus on analyzing data, designing studies, and collecting data. This step reminds us to identify what variables were collected and who the data was collected on.

    Step 3: Analyze Data

    Once we have our hypotheses and data, we can do calculations! This step is where the vast majority of differences in future chapters will arise: different tests used for different data are calculated in different ways, but the way we use and interpret them remains the same.

    Step 4: Conclusion

    To conclude whether or not the research hypothesis is supported, we first need to find a critical value to compare our calculated statistic to in order to decide whether or not the null hypothesis is retained or rejected. Okay, that’s not entirely true. If you are using statistical software, the software provides a p-value (probability that the null hypothesis is true). Typically, we use \(p\)<.05 (less than a 5% probability that nothing is happening) to reject the null hypothesis. Remember:

    Reject null: \((\bar{X} \neq \mu) = p<.05\)
    Retain null: \( (\bar{X} = \mu) = p>.05\)

    Whether we compare our calculated value to a critical value to determine if \(p\)<.05 or \(p\)>.05 (if the probability is higher than 5% or lower than 5% that the null hypothesis is true in the population), or statistical software provides a p-value, we use that information to decide whether the null hypothesis should be retained or rejected.

    If the null hypothesis is retained, then we can conclude that the research hypothesis was not supported.

    Example \(\PageIndex{1}\)

    Why can we conclude that the research hypothesis is automatically not supported if the null hypothesis is retained?

    Solution

    The null hypothesis always says that nothing is happening, and the research hypothesis (RH) is always saying that something is happening. In research hypotheses with two means, the research hypothesis says that one group’s mean is bigger than another group’s mean, so we can’t support that something is happening (that one group’s mean is bigger than another group’s mean) if we just concluded that nothing is happening (retain the null).

    If the null hypothesis is rejected, then we have one more step in making a conclusion. By rejecting the null hypothesis, we’re saying that something happened. But in directional research hypothesis, we expected the results to be in a certain direction. For example, a directional research hypothesis with means would state that the mean number of times that a student re-tries an Example after they don’t get quite the same number is higher for those with growth mindset than those with a fixed mindset. This research hypothesis could look like:

    \[ \bar{X}_{GM} > \bar{X}_{FM} \nonumber \]

    To support this research hypothesis, the means should actually be in that direction! Rejecting the null hypothesis says that the means are different, but we can’t support a directional research hypothesis unless these means are different in the direction that we hypothesized.

    Once you’ve made the decision, share what you’ve learned!

    Step 5: Write-Up

    Your answer is never just a number in behavioral statistics. In Null Hypothesis Significance Testing, your answer should include information about the research hypothesis and your calculated results.

    First, the research hypothesis should be re-stated (in words), and then state your conclusion (from the previous step) about whether the research hypothesis was supported or not. Note that you don’t have to mention the null hypothesis here at all! However, when a directional research hypothesis is not supported, it helps to clarify whether the research hypothesis was not supported because the means were in the opposite direction of what was predicted or because the null hypothesis was retained. When the research hypothesis is supported, most researchers don’t mention the null hypothesis.

    Second, your write-up should include your calculated results. When comparing means, this includes stating the mean of each group with the units of the variable that was measured. For example, if you measured final grade percentages, then the unit would be percentages. If you measured the number of classes missed, then the unit would be absences or percentage of classes missed. If you measured scores on a quiz, the units might be points. The other calculated results would be the calculated statistic, e.g., your math results. Each chapter from now on will discuss a different type of statistical analysis, and the results for each formula would be your calculated statistic. You’ll learn more in next chapter about how to format these results, but for now just remember that you’ll need to include that information, too.

    Conclusion

    These processes are summarized in Table \(\PageIndex{1}\).

    Table \(\PageIndex{1}\)- Steps of the NHST Process and What to Do

    Step of the Null Hypothesis Significance Testing Process

    What To Do

    1. Hypotheses

    State a directional research hypothesis in words and symbols (include the groups being compared, the DV, and the direction word)

    State the null hypothesis in words and symbols.

    2. Collect Data

    You may not need to literally collect data, but you’ll always want to determine:

    Who is the sample?

    Who is the population?

    What is being measured?

    What are the groups (if any)?

    3. Analyze Data

    Do the math!

    4. Conclusion

    Determine whether the research hypothesis is supported or not.

    To do that, you’ll probably need to find a critical value to see if your null hypothesis is retained or rejected.

    If the null hypothesis is rejected, then determine if the direction of the actual means is the same as the expected direction in the research hypothesis (Is the mean of the group that you said would be bigger actually the bigger mean?).

    5. Write-Up

    Share your results with others by:

    Restating the research hypothesis and stating whether or not it was supported, and

    Providing the calculated results, which will probably include the actual means (with units) but will definitely include the calculated statistic.

    Dr. MO is excited to start putting this five-step Null Hypothesis Significance Testing process into practice! But first, there’s at least one more piece about testing null hypotheses that we should think about: probability errors.


    This page titled 8.9: Steps of the Hypothesis Testing Process was last modified on Fri, 24 Jul 2026 02:08:38 GMT and is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Michelle Oja.