R Dataset / Package vcd / JointSports

Documentation

On this Picostat.com statistics page, you will find information about the JointSports data set which pertains to Opinions About Joint Sports. The JointSports data set is found in the vcd R package. You can load the JointSports data set in R by issuing the following command at the console data("JointSports"). This will load the data into a variable called JointSports. If R says the JointSports data set is not found, you can try installing the package by issuing this command install.packages("vcd") 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 JointSports R data set. The size of this file is about 1,332 bytes.


Opinions About Joint Sports

Description

Data from a Danish study in 1983 and 1985 about sports activities and the opinion about joint sports with the other gender among 16–19 year old high school students.

Usage

data("JointSports")

Format

A data frame with 40 observations and 5 variables.

Freq

frequency.

opinion

factor indicating opinion about sports joint with the other gender (very good, good, indifferent, bad, very bad).

year

factor indicating year of study (1983, 1985).

grade

factor indicating school grade (1st, 3rd).

gender

factor indicating gender (Boy, Girl).

Source

E. B. Andersen (1991), The Statistical Analysis of Categorical Data, page 210.

References

E. B. Andersen (1991), The Statistical Analysis of Categorical Data. 2nd edition. Springer-Verlag, Berlin.

Examples

library(MASS)
data("JointSports")
tab <- xtabs(Freq ~ gender + opinion + grade + year, data = JointSports)
doubledecker(opinion ~ gender + year + grade, data = tab)
loglm(~ opinion* (gender + grade+ year) + gender*year*grade, data = tab)
--

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

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-77187.csv 1.3 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0