Chapter 10
One-Sample Hypothesis Testing
IN THIS CHAPTER
Introducing hypothesis tests
Testing hypotheses about means
Testing hypotheses about variances
Visualizing distributions
Whatever your occupation, you often have to assess whether something new and different has happened. Sometimes you start with a population that you know a lot about (like its mean and standard deviation) and you draw a sample. Is that sample like the rest of the population, or does it represent something out of the ordinary?
To answer that question, you measure each individual in the sample and calculate the sample’s statistics. Then you compare those statistics with the population’s parameters. Are they the same? Are they different? Is the sample extraordinary in some way? Proper use of statistics helps you make the decision.
Sometimes, though, you don’t know the parameters of the population that the sample came from. What happens then? In this chapter, I discuss statistical techniques and R functions for dealing with both cases.
Hypotheses, Tests, and Errors
A hypothesis is a guess about the way the world ...
Get Statistical Analysis with R For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.