Creating Confidence Intervals

We have already discussed using the standard normal and t distributions for confidence intervals for means. We can construct confidence intervals for other statistics as well. Confidence intervals avoid some of the logical problems of null hypothesis testing and therefore is recommended as an alternative in many cases.

In this chapter, we review the use of R for deriving confidence intervals for means, and then examine the use of confidence intervals for other statistics, such as proportions and variances. To reiterate, a confidence interval (or interval estimate) is a range of possible values used to estimate ...

Get Beginning R: An Introduction to Statistical Programming 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.