What is Hypothesis Testing?
Hypothesis testing is a method used to make decisions using data. We: - Start with a null hypothesis - Collect sample data - Measure how likely the data is under the null hypothesis This likelihood is measured using a p-value.
Problem Statement
We compare execution times of two algorithms.
Question: Is Algorithm B faster than Algorithm A on average?
We will compare their mean execution times using a two-sample t-test. The null hypothesis assumes there is no difference between the algorithms.
##Hypotheses (LaTeX slide #1)
Let \(\mu_A\) and \(\mu_B\) be the true mean execution times.
\[ H_0: \mu_A = \mu_B \]
\[ H_1: \mu_A \ne \mu_B \]