Week 9 • Monday

Block 82: SciPy: Hypothesis Testing

Perform t-tests and chi-square tests from Python.

Concepts

Code Examples

See exercise below.

Exercise

Test if the mean of a sample is significantly different from a hypothesized value. Compare means of two groups with an independent t-test. Interpret the p-value.

Homework

What does a p-value of 0.03 actually mean? Write the explanation you would give to a non-statistician. Tuesday