Chapter 8

8. Hypothesis Testing

  • Hypothesis testing is a process aimed at evaluating a theory about the world against observed data.

  • This process is distinct from estimation, which was discussed in the previous chapter.

  • The fundamental concept of hypothesis testing involves formulating a theory and determining if the data provides sufficient support for it.

  • Despite its importance, hypothesis testing can be confusing due to its intricate details.

  • This chapter is structured to first explain the workings of hypothesis testing clearly through examples, followed by discussing common misconceptions and standards related to it.

    8.1 A Menagerie of Hypotheses

  • The chapter introduces a hypothetical situation involving a study to test for extrasensory perception (ESP).

  • Experimental Design:

    • Participants are shown a card that is either black or white, placed randomly without their knowledge.

    • A second experimenter asks participants to guess the color, providing a straightforward one-shot experimental design.

    • Data collection yields a simple dataset: N participants and X correct guesses.

  • Example:

    • N = 100 participants, X = 62 correct guesses.

    • The question arises: Is 62 a significant enough number to claim existence of ESP?

    • Hypothesis testing helps in determining the statistical validity of this claim.

    8.1.1 Research Hypotheses vs. Statistical Hypotheses
  • Research Hypothesis (H1):

    • A substantial, testable claim regarding a theoretical phenomenon.

    • In the ESP example, it would be “clairvoyance exists.”

  • Statistical Hypothesis:

    • Specific mathematical statements about the population parameters related to the research hypothesis.

    • For instance, P(correct) = 0.5 under H0 vs H1 where P(correct) ≠ 0.5.

  • Research hypotheses typically stem from constructs and can take various forms:

    • Listening to music reduces attention.: causal relationship.

    • Intelligence correlates with personality.: correlational claim.

    • Intelligence as speed of information processing.: ontological claim.

    • Well-constructed experiments often test relational claims derived from ontological questions.

  • Non-testable Claims:

    • Vague statements like “love is a battlefield” cannot be operationalized.

    • Tautological claims (e.g., “a bachelor is an unmarried man”) are definitions, not hypotheses.

    • Claims about dataset tendencies (e.g., more response “yes” than “no”) are not substantive hypotheses.

    8.1.2 Null Hypotheses and Alternative Hypotheses
  • Null Hypothesis (H0):

    • Default assumption that there is no effect (e.g., probability of a correct guess, heta=0.5heta = 0.5).

  • Alternative Hypothesis (H1):

    • Represents outcomes differing from H0; in ESP, heta<br>eq0.5heta <br>eq 0.5 suggests ESP might influence results.

  • The goal of hypothesis testing is to test H0 rather than directly proving H1.

  • The analogy of a criminal trial is drawn: H0 is presumed innocent; the researcher serves as prosecutor, while statistical tests act as judges.

  • Statistical tests aim to minimize Type I and Type II errors.

    8.2 Two Types of Errors

  • Type I Error:

    • Incorrectly rejecting a true null hypothesis (false conviction).

  • Type II Error:

    • Failing to reject a false null hypothesis (false acquittal).

  • Statistical testing uses the trial analogy where precautions are taken to minimize Type I errors, represented by significance level <br>ho<br>ho.

  • Common significance levels include 0.05, 0.01, and 0.001. Minimizing Type II errors is less prioritized.

    8.3 Test Statistics and Sampling Distributions

  • A test statistic summarizes data to guide hypothesis testing.

  • Example based on ESP: XX (correct answers from N participants) follows a binomial distribution Xext Binomial(p=0.5,N)X ext{~ Binomial}(p=0.5, N) under H0.

  • This sampling distribution is crucial to assess the likelihood of observed outcomes if H0 is true.

    8.4 Making Decisions

    8.4.1 Critical Regions and Critical Values
  • The critical region is where H0 would be rejected if the test statistic falls within it.

  • For <br>ho=0.05<br>ho = 0.05, the critical region covers extreme tails of the distribution.

  • Example dictates that if XX falls in critical values (like 4040 or 6060) for N=100, then we would reject or retain H0 accordingly.

    8.4.2 A Note on Statistical “Significance”
  • The term “significant” denotes the rejection of H0 but is often misinterpreted as implying importance.

  • Significance merely indicates that the data lends sufficient grounds to reject the null hypothesis; real-world implications must be evaluated separately.

    8.4.3 The Difference Between One-Sided and Two-Sided Tests
  • Two-Sided Test:

    • Alternative hypothesis covers both possibilities for parameters greater and less than H0.

  • One-Sided Test:

    • Alternative hypothesis covers one possibility only (e.g., only higher than H0).

    8.5 The p-value of a Test

  • The p-value quantifies evidence against H0.

  • Neyman and Fisher provide two perspectives on interpreting p-values:

    • Neyman sees them as thresholds for decision-making based on critical significance levels.

    • Fisher interprets them as probabilities of obtaining extreme data under H0.

  • Mistakenly considering the p-value as a probability that H0 is true undermines the frequentist framework.

    8.6 Reporting the Results of a Hypothesis Test

  • Researchers must report p-values to detail the statistical significance of results.

  • While exact p-values can give flexibility, there are concerns over their potential misuse to influence results post-hoc.

  • Standard significance levels (0.05, 0.01, 0.001) are commonly adhered to for consistency across studies.

  • Reporting exact p-values allows readers to assess significance and the tolerance for risk they find acceptable.

    8.7 Running the Hypothesis Test in Practice

  • Hypothesis tests are not merely theoretical; they have practical implementations (e.g., the binomial test for the ESP example).

  • The p-value and conclusions drawn must align with the data collected and modifications within statistical software outputs.

    8.8 Effect Size, Sample Size, and Power

  • Power is defined as the probability of correctly rejecting a false null hypothesis, represented as 1−heta1- heta.

  • The relationship between sample size (N) and power is established; larger samples increase power.

  • Effect size quantifies the degree of difference between null and true population parameters, giving context to significance outcomes.

  • Clear metrics for effect size assist in understanding practical implications of research findings.

  • Designing experiments to enhance power and effect size remains a priority for researchers.

    8.9 Some Issues to Consider

  • Neyman-Fisher Debate: The merging of both approaches creates confusion in interpreting hypothesis testing.

  • Frequentism vs. Bayesianism: Conflicting paradigms exist in how probabilities are assigned, emphasizing distinctions in interpretation of p-values.

  • Common pitfalls in hypothesis testing arise from misinterpretation of significance versus non-significance, demonstrating the need for careful statistical planning and analysis.

    8.10 Summary

  • The chapter on null hypothesis testing is an essential examination of one of the most prevalent methods in scientific statistical analysis.

  • Key concepts cover:

    • Distinctions among research hypotheses, statistical hypotheses, H0, and H1.

    • Understanding Type I and Type II errors.

    • Importance of test statistics and sample distributions.

    • The decision-making framework for hypothesis testing.

    • The significance of p-values as decision barometers.

    • Best practices for reporting hypothesis test results and considerations of effect size and power analysis.