Hypothesis testing

Given a limited number of samples, see how likely the hypothesis are true. Both Z test and t test aims to convert the sample statistics to population statistics.

Definitions

Given the population mean , sample mean .

Z test

Standard score

-test

Comparison

Implementations

In Python, -test is impmented in scipy.stats as scipy.stats.t scipy.stats.ttest_ind_xxx.

References