Hypothesis testing: Testing a Sample Statistic
Learn about hypothesis testing and implement binomial and one-sample t-tests in Python.
StartKey Concepts
Review core concepts you need to learn to master this subject
One-Sample T-Tests
One-Sample T-Tests In Python
Binomial and T-Test Assumptions
Binomial Hypothesis Tests
Null and Alternative Hypotheses
P-Values
Simulating Hypothesis Tests
Binomial Tests in Python
One-Sample T-Tests
One-Sample T-Tests
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.
- 1In this lesson, we’ll walk through the implementation of a one-sample t-test in Python. One-sample t-tests are used for comparing a sample average to a hypothetical population average. For exampl…
- 2In the last exercise, we inspected a sample of 50 purchase prices at BuyPie and saw that the average was 980 Rupees. Suppose that we want to run a one-sample t-test with the following null and alte…
- 3When running any hypothesis test, it is important to know and verify the assumptions of the test. The assumptions of a one-sample t-test are as follows: - The sample was randomly selected from th…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory