2023-09-17

Slide 1: Introduction to Hypothesis Testing

  • Objective: To understand the basic concepts of hypothesis testing.

Slide 2: Key Concepts

  • Null Hypothesis (H0): A statement of no effect or no difference.
  • Alternative Hypothesis (Ha): A statement of an effect or difference.
  • Test Statistic: A value used to make a decision in hypothesis testing.
  • p-value: The probability of obtaining a test statistic as extreme as, or more extreme than, the observed value, assuming the null hypothesis is true.

Slide 3: Hypothesis Testing Process

  1. State the null and alternative hypotheses.
  2. Collect and analyze data.
  3. Calculate the test statistic.
  4. Find the p-value.
  5. Make a decision: reject or fail to reject the null hypothesis.

Slide 4: Example

Suppose we want to test whether a new drug is more effective than an existing drug in reducing blood pressure.

  • Null Hypothesis (H0): The new drug is equally effective as the existing drug.
  • Alternative Hypothesis (Ha): The new drug is more effective than the existing drug.

Slide 5: Test Statistic Calculation

  • Let’s assume the test statistic follows a t-distribution.
  • Calculate the test statistic using the sample data.

\[ t = \frac{{\text{Sample Mean} - \text{Population Mean}}}{{\text{Standard Error}}} \]

Slide 6: P-Value Calculation

  • After calculating the test statistic, find the p-value.
  • The p-value represents the probability of observing the data if the null hypothesis is true.

\[ p\text{-value} = P(T > t) \]

Slide 7: Decision Rule

  • Compare the p-value to the significance level (α).
  • If \(p\text{-value} < α\), reject the null hypothesis.
  • If \(p\text{-value} ≥ α\), fail to reject the null hypothesis.

Slide 8: Visualization

Let’s visualize the decision rule using a plot.