Learn R Programming

carData (version 3.0-4)

Guyer: Anonymity and Cooperation

Description

The Guyer data frame has 20 rows and 3 columns. The data are from an experiment in which four-person groups played a prisoner's dilemma game for 30 trails, each person making either a cooperative or competitive choice on each trial. Choices were made either anonymously or in public; groups were composed either of females or of males. The observations are 20 groups.

Usage

Guyer

Arguments

Format

This data frame contains the following columns:

cooperation

Number of cooperative choices (out of 120 in all).

condition

A factor with levels: anonymous, Anonymous choice; public, Public choice.

sex

Sex. A factor with levels: female and male.

References

Fox, J. (2016) Applied Regression Analysis and Generalized Linear Models, Third Edition. Sage.

Fox, J. and Weisberg, S. (2013) An R Companion to Applied Regression, Third Edition, Sage.