R Dataset / Package Ecdat / Fair

How To Create a Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Stacked Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Pie Chart

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Compute the Mean

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Plot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How to Compute the Median

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Boxplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Correlation Coefficient

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Cumulative Frequency Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Dotplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Hollow Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Numerical Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Pie Chart

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Plot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Regression

Stem and Leaf Plots

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Visual Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.
Embed
<iframe src="https://embed.picostat.com/r-dataset-package-ecdat-fair.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-31997.csv 18.2 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0
Documentation

On this Picostat.com 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. 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.

Recent Queries For This Dataset

No queries made on this dataset yet.

Title Authored on Content type
R Dataset / Package DAAG / litters March 9, 2018 - 1:06 PM Dataset
R Dataset / Package robustbase / vaso March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - mlb_players_18 August 9, 2020 - 12:25 PM Dataset
R Dataset / Package Zelig / mexico March 9, 2018 - 1:06 PM Dataset
R Dataset / Package DAAG / softbacks March 9, 2018 - 1:06 PM Dataset