Infidelity data, known as Fair's Affairs. Cross-section data from a survey conducted by Psychology Today in 1969. This dataset is sourced from the AER package.
data(affairs)A data frame containing 601 observations on 9 variables.
numeric. How often engaged in extramarital sexual intercourse during the past year? 0 = none, 1 = once, 2 = twice, 3 = 3 times, 7 = 4–10 times, 12 = monthly, 12 = weekly, 12 = daily.
factor indicating gender.
numeric variable coding age in years: 17.5 = under 20, 22 = 20–24, 27 = 25–29, 32 = 30–34, 37 = 35–39, 42 = 40–44, 47 = 45–49, 52 = 50–54, 57 = 55 or over.
numeric variable coding number of years married: 0.125 = 3 months or less, 0.417 = 4–6 months, 0.75 = 6 months–1 year, 1.5 = 1–2 years, 4 = 3–5 years, 7 = 6–8 years, 10 = 9–11 years, 15 = 12 or more years.
factor. Are there children in the marriage?
numeric variable coding religiousness: 1 = anti, 2 = not at all, 3 = slightly, 4 = somewhat, 5 = very.
numeric variable coding level of education: 9 = grade school, 12 = high school graduate, 14 = some college, 16 = college graduate, 17 = some graduate work, 18 = master's degree, 20 = Ph.D., M.D., or other advanced degree.
numeric variable coding occupation according to Hollingshead classification (reverse numbering).
numeric variable coding self rating of marriage: 1 = very unhappy, 2 = somewhat unhappy, 3 = average, 4 = happier than average, 5 = very happy.
Fair, R.C. (1978). A Theory of Extramarital Affairs. Journal of Political Economy, 86, 45–61.
Greene, W.H. (2003). Econometric Analysis, 5th edition. Upper Saddle River, NJ: Prentice Hall.
Fair, R.C. (1978). A Theory of Extramarital Affairs. Journal of Political Economy, 86, 45–61.
Affairs for the original dataset in the AER package
data(affairs)
summary(affairs)
#> affairs gender age yearsmarried children
#> Min. : 0.000 female:315 Min. :17.50 Min. : 0.125 no :171
#> 1st Qu.: 0.000 male :286 1st Qu.:27.00 1st Qu.: 4.000 yes:430
#> Median : 0.000 Median :32.00 Median : 7.000
#> Mean : 1.456 Mean :32.49 Mean : 8.178
#> 3rd Qu.: 0.000 3rd Qu.:37.00 3rd Qu.:15.000
#> Max. :12.000 Max. :57.00 Max. :15.000
#> religiousness education occupation rating
#> Min. :1.000 Min. : 9.00 Min. :1.000 Min. :1.000
#> 1st Qu.:2.000 1st Qu.:14.00 1st Qu.:3.000 1st Qu.:3.000
#> Median :3.000 Median :16.00 Median :5.000 Median :4.000
#> Mean :3.116 Mean :16.17 Mean :4.195 Mean :3.932
#> 3rd Qu.:4.000 3rd Qu.:18.00 3rd Qu.:6.000 3rd Qu.:5.000
#> Max. :5.000 Max. :20.00 Max. :7.000 Max. :5.000