O'Reilly logo

Statistical Analysis with R For Dummies by Joseph Schmuller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10

One-Sample Hypothesis Testing

IN THIS CHAPTER

check Introducing hypothesis tests

check Testing hypotheses about means

check Testing hypotheses about variances

check 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required