R Dataset / Package Ecdat / FriendFoe

On this R-data statistics page, you will find information about the FriendFoe data set which pertains to Data from the Television Game Show Friend Or Foe ? . The FriendFoe data set is found in the Ecdat R package. You can load the FriendFoe data set in R by issuing the following command at the console data("FriendFoe"). This will load the data into a variable called FriendFoe. If R says the FriendFoe data set is not found, you can try installing the package by issuing this command install.packages("Ecdat") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the FriendFoe R data set. The size of this file is about 14,976 bytes.

Data from the Television Game Show Friend Or Foe ?

Description

a cross-section from 2002–03

number of observations : 227

observation : individuals

country : United States

Usage

data(FriendFoe)

Format

A dataframe containing :

sex

contestant's sex

white

is contestant white ?

age

contestant's age in years

play

contestant's choice : a factor with levels "foe" and "friend". If both players play "friend", they share the trust box, if both play "foe", both players receive zero prize, if one of them play "foe" and the other one "friend", the "foe" player receive the entire trust bix and the "friend" player nothing

round

round in which contestant is eliminated, a factor with levels ("1","2","3")

season

season show, a factor with levels ("1","2")

cash

the amount of cash in the trust box

sex1

partner's sex

white1

is partner white ?

age1

partner's age in years

play1

partner's choice : a factor with levels "foe" and "friend"

win

money won by contestant

win1

money won by partner

Source

Kalist, David E. (2004) “Data from the Television Game Show "Friend or Foe?"”, Journal of Statistics Education, 12(3).

References

Journal of Statistics Education's data archive : http://www.amstat.org/publications/jse/jse_data_archive.htm.

See Also

Index.Source, Index.Economics, Index.Econometrics, Index.Observations

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-ecdat-friendfoe.html" width="100%" height="100%" style="border:0px"></iframe>