simon {npsm}R Documentation

Simon (the memory game) dataset

Description

An experiment in which the members of two groups of students each played the game Simon twice.

Usage

data("simon")

Format

A data frame with 31 observations on the following 3 variables.

game1

score on first trial

game2

score on second trial

class

group variable

Details

Demonstrates the concept of regression toward the mean. Simulated data to represent a realistic realization of the experiment. See Problem 4.9.20 of Kloke and McKean (2014)/Problem 4.7.17 of Kloke and McKean (2024).

References

Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall. Kloke, J. and McKean, J.W. (2024), Nonparametric statistcal methods using R, Second Edition, Boca Raton, FL: Chapman-Hall.

Examples

data(simon)
plot(game2~game1,data=simon)
rfit(game2~game1,data=simon)

[Package npsm version 2.0.0 Index]