Learn R Programming

BSDA (version 1.2.0)

Selfdefe: Self-confidence scores for 9 women before and after instructions on self-defense

Description

Data for Example 7.19

Usage

Selfdefe

Arguments

Format

A data frame/tibble with nine observations on three variables

woman

number identifying the woman

before

before the course self-confidence score

after

after the course self-confidence score

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 {
Selfdefe$differ <- Selfdefe$after - Selfdefe$before
Selfdefe
t.test(Selfdefe$differ, alternative = "greater")
t.test(Selfdefe$after, Selfdefe$before, 
       paired = TRUE, alternative = "greater")

# }

Run the code above in your browser using DataLab