Shock {BSDA}R Documentation

Effect of experimental shock on time to complete difficult task

Description

Data for Exercise 10.50

Usage

Shock

Format

A data frame/tibble with 27 observations on two variables

group

grouping variable with values of Group1 (no shock), Group2 (medium shock), and Group3 (severe shock)

attempts

number of attempts to complete a task

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


boxplot(attempts ~ group, data = Shock, col = "violet")
model <- lm(attempts ~ group, data = Shock)
anova(model)
rm(model)



[Package BSDA version 1.2.0 Index]