Curriculum
Course: Data Science
Login

Curriculum

Data Science

Text lesson

Hypothesis Testing

Hypothesis testing evaluates result validity by testing if the coefficients (e.g., Average Pulse and intercept) are zero, using a null and alternative hypothesis.

The null hypothesis is denoted as H0, and the alternative hypothesis is denoted as HA.

Mathematically expressed:

  • H0: Average Pulse = 0
  • HA: Average Pulse ≠ 0
  • H0: Intercept = 0
  • HA: Intercept ≠ 0

The symbol “≠” means “not equal to.”

Hypothesis Testing and P-value

If the P-value is below 0.05, we reject the null hypothesis and conclude a relationship between Average Pulse and Calorie Burnage. With a P-value of 0.824 for Average Pulse, we cannot conclude a relationship, as there’s an 82.4% chance the coefficient is zero. The intercept’s P-value is typically not interpreted, as it helps improve prediction precision.