The Z-Test › Summary
Michael BrenndoerferUpdated January 12, 20261 min read
Machine Learning from ScratchAll chapters Part 2 of 9Hypothesis Testing
The Z-Test › SummaryOne section · Sections in this chapter9 / 11 ↓
Sections in this chapter11
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
This chapter covered the main aspects of the z-test:
When to Use Z-Tests
- Known population standard deviation (rare for means)
- Testing proportions (most common application)
- Very large samples where t ≈ z
The Core Mathematics
- Test statistic:
- Under , z follows a standard normal distribution
- The standard error quantifies how much sample means vary
Test Procedures
- One-sample z-test: Test whether a mean differs from a specific value
- Two-sample z-test: Test whether two means differ from each other
- Proportion z-test: Test hypotheses about population proportions
- Two-proportion z-test: Compare proportions between groups (A/B testing)
Key Points
- Always verify normal approximation conditions for proportion tests
- Confidence intervals provide the same information as hypothesis tests
- The z-test is foundational for understanding more complex tests