xmp09.09 {Devore5}R Documentation

data from Example 9.9

Description

The xmp09.09 data frame has 16 rows and 4 columns.

Format

This data frame contains the following columns:

Subject
a numeric vector
Before
a numeric vector
After
a numeric vector
Difference
a numeric vector

Details

Source

Devore, J. L. (2000) Probability and Statistics for Engineering and the Sciences (5th ed), Duxbury

Examples

data(xmp09.09)
boxplot(xmp09.09[, c("Before", "After")],
   main = "Data from Example 9.9")
attach(xmp09.09)
boxplot(Difference, main = "Differences in Example 9.9")
qqnorm(Difference,
   main = "Normal probability plot (compare Figure 9.5, p. 377)")
t.test(Difference)
t.test(Before, After, paired = TRUE)   # same test
detach()