Learn R Programming

BSDA (version 1.01)

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 with 9 observations on the following 3 variables.

Woman

a numeric vector

Before

a numeric vector

After

a numeric vector

Examples

Run this code
# NOT RUN {
str(Selfdefe)
attach(Selfdefe)
DIF <- After-Before
qqnorm(DIF)
qqline(DIF)
shapiro.test(DIF)
t.test(After,Before,paired=TRUE,alternative="greater")
detach(Selfdefe)
remove(DIF)
# }

Run the code above in your browser using DataLab