One-Sample T-Tests In Python
Binomial and T-Test Assumptions
Binomial Hypothesis Tests
Null and Alternative Hypotheses
Simulating Hypothesis Tests
Binomial Tests in Python
One-sample t-tests are used compare a sample mean to an expected population mean. They are used for a sample of one quantitative variable. For example, we could use a one-sample t-test to determine if the average amount of time customers spend browsing a shoe boutique is longer than 10 minutes.
Hypothesis testing for a Sample Statistic
Suppose that an online media company recently sent out an email to 100 potential subscribers, promoting their new newsletter. Before sending out the email to even more potential subscribers, the company wants to make sure they’re meeting their target: that 50% (or more) of email recipients will open the email. What kind of hypothesis test would be appropriate for this question?