Learn R Programming

BSDA (version 1.2.0)

Bones: Bone density measurements of 35 physically active and 35 non-active women

Description

Data for Example 7.22

Usage

Bones

Arguments

Format

A data frame/tibble with 70 observations on two variables

density

bone density measurements

group

a factor with levels active and nonactive

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
t.test(density ~ group, data = Bones, alternative = "greater")
t.test(rank(density) ~ group, data = Bones, alternative = "greater")
wilcox.test(density ~ group, data = Bones, alternative = "greater")


# }

Run the code above in your browser using DataLab