Contains the weights by sex (M for male; F for female). The question is whether the average women’s weight differs from the average men’s weight?

A two-samples independent t-test can be performed to answer to this question.

data("genderweight")

Format

A data frame with 40 rows and 3 columns

Examples

data(genderweight) head(as.data.frame(genderweight))
#> id group weight #> 1 1 F 61.58587 #> 2 2 F 64.55486 #> 3 3 F 66.16888 #> 4 4 F 59.30860 #> 5 5 F 64.85825 #> 6 6 F 65.01211