R/data_DF2011.R

#' Data of Dal Bo and Frechette (2011)
#'
#' The dataset of Dal Bo and Frechette (DF2011, 2011) as stratEst.data frame.
#'
#' @format A data frame with 7358 rows and 7 variables:
#' \describe{
#'   \item{treatment}{A treatment identifier of the experiment.}
#'   \item{id}{Variable which identifies a participant.}
#'   \item{game}{The supergame number.}
#'   \item{period}{The period of the supergame.}
#'   \item{choice}{A factor with two levels which is indicates if the participant cooperates (c) or defects (d) in the current period.}
#'   \item{other.choice}{A factor with two levels which indicates if the other participant cooperates (c) or defects (d) in the current period.}
#'   \item{input}{A factor with four levels which is indicates the action profile in the previous round. The first letter indicates the action of the participant, the second letter the action of the partner in the previous round. In the first round of a game the input is NA.}
#' }
#' @usage data(data.DF2011)
#' @source \url{https://www.aeaweb.org/articles?id=10.1257/aer.101.1.411}
#' @references
#' Dal Bo P, Frechette GR (2011). "The Evolution of Cooperation in Infinitely Repeated Games: Experimental Evidence." \emph{American Economic Review}, 101(1), 411-429.
#'
"data.DF2011"

Try the stratEst package in your browser

Any scripts or data that you put into this service are public.

stratEst documentation built on Dec. 1, 2022, 1:13 a.m.