Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Drug

Number of trials to master a task for a group of 28 subjects assigned to a control and an experimental group


Description

Data for Example 7.15

Usage

Drug

Format

A data frame/tibble with 28 observations on two variables

trials

number of trials to master a task

group

a factor with levels control and experimental

References

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

Examples

boxplot(trials ~ group, data = Drug,
        main = "Example 7.15", col = c("yellow", "red"))
wilcox.test(trials ~ group, data = Drug)
t.test(rank(trials) ~ group, data = Drug, var.equal = TRUE)

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.