Learn R Programming

BSDA (version 0.1)

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

Description

Data for Example 7.20

Usage

Stress

Arguments

source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

Run this code
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