Learn R Programming

BSDA (version 1.01)

Stress: Short-term memory test scores on 12 subjects before and after a stressful situation

Description

Data for Example 7.20

Usage

Stress

Arguments

Format

A data frame with 12 observations on the following 2 variables.

Prestre

a numeric vector

Poststre

a numeric vector

Examples

Run this code
# NOT RUN {
str(Stress)
attach(Stress)
DIF <- Poststre -Prestre
qqnorm(DIF)
qqline(DIF)
shapiro.test(DIF)
t.test(Poststre,Prestre,paired=TRUE,alternative="less")
detach(Stress)
remove(DIF)
# }

Run the code above in your browser using DataLab