R Dataset / Package Ecdat / Fair

On this R-data statistics page, you will find information about the Fair data set which pertains to Extramarital Affairs Data . The Fair data set is found in the Ecdat R package. You can load the Fair data set in R by issuing the following command at the console data("Fair"). This will load the data into a variable called Fair. If R says the Fair 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 Fair R data set. The size of this file is about 18,639 bytes.

Extramarital Affairs Data

Description

a cross-section

number of observations : 601

observation : individuals

country : United States

Usage

data(Fair)

Format

A dataframe containing :

sex

a factor with levels (male,female)

age

age

ym

number of years married

child

children ? a factor

religious

how religious, from 1 (anti) to 5 (very)

education

education

occupation

occupation, from 1 to 7, according to hollingshead classification (reverse numbering)

rate

self rating of marriage, from 1 (very unhappy) to 5 (very happy)

nbaffairs

number of affairs in past year

Source

Fair, R. (1977) “A note on the computation of the tobit estimator”, Econometrica, 45, 1723-1727.

http://fairmodel.econ.yale.edu/rayfair/pdf/1978A200.PDF.

References

Greene, W.H. (2003) Econometric Analysis, Prentice Hall, http://www.prenhall.com/greene/greene1.html, Table F22.2.

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-fair.html" width="100%" height="100%" style="border:0px"></iframe>