marriage {CMHNPA} | R Documentation |
Marriage data
Description
Scores of 1, 2 and 3 are assigned to the responses agree, neutral and disagree respectively to the proposition "Homosexuals should be able to marry" and scores of 1, 2 and 3 are assigned to the religious categories fundamentalist, moderate and liberal respectively.
Usage
data(marriage)
Format
A data frame with 133 rows and three columns.
- education
highest level of eduction for the respondent
- religion
level of religiosity. Scores of 1, 2 and 3 are assigned to the religious categories fundamentalist, moderate and liberal respectively
- opinion
the response to the proposition: "Homosexuals should be able to marry". Scores of 1, 2 and 3 are assigned to the responses agree, neutral and disagree respectively
Source
Agresti (2002)
References
Agresti, A. (2002). Categorical Data Analysis, 2nd ed; Wiley: New York.
Examples
attach(marriage)
lm(as.numeric(opinion)~religion+education)
[Package CMHNPA version 1.1.1 Index]