LightMargolin1971: LightMargolin1971 data

LightMargolin1971R Documentation

LightMargolin1971 data

Description

The data, taken from \insertCitelm71;textualANOFA, is an example where the educational aspiration of a large sample of N = 617 adolescents. The participants are classified by their gender (2 levels) and by their educational aspiration ( complete secondary school, complete vocational training, become college teacher, complete gymnasium, or complete university; 5 levels).

Usage

LightMargolin1971

Format

An object of class data.frame.

Source

\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/01621459.1971.10482297")}

References

\insertAllCited

Examples

library(ANOFA)

options(superb.feedback = 'none') # shut down 'warnings' and 'design' interpretation messages

# Lets run the analysis
L <- anofa( obsfreq ~ vocation * gender, LightMargolin1971)
summary(L)

# a quick plot
anofaPlot(L) 

# Some simple effects.
e <- emFrequencies(L, ~ gender | vocation )
summary(e)

# some contrasts:
e <- emFrequencies(L, ~ vocation | gender )
f <- contrastFrequencies(e, list(
            "teacher college vs. gymnasium"=c( 0, 0, 1,-1, 0),
            "vocational vs. university"   = c( 0, 1, 0, 0,-1),
            "another"                     = c( 0, 1,-1,-1,+1)/2,
            "to exhaust the df"           = c( 4,-1,-1,-1,-1)/4
            )
        )



ANOFA documentation built on Nov. 18, 2023, 5:06 p.m.