| gss_abortion | R Documentation |
Abortion Opinions in the General Social Survey
Description
This is a toy data set derived from the General Social Survey that I intend to use for several purposes. First, the battery of abortion items can serve as toy data to illustrate mixed effects modeling as equivalent to a one-parameter (Rasch) model. Second, I include some covariates to also do some basic regressions. I think abortion opinions are useful learning tools for statistical inference for college students. Third, there's a time-series component as well for understanding how abortion attitudes have changed over time.
Usage
gss_abortion
Format
A data frame with 64,814 observations on the following 18 variables.
ida unique respondent identifier
yearthe survey year
agethe respondent's age in years
racethe respondent's race, as character variable
sexthe respondent's gender, as character variable
hispaniccatthe respondent's Hispanic ethnicity, as character variable
educhow many years the respondent spent in school
partyidthe respondent's party identification, as character variable
relactivthe self-reported religious activity of the respondent on a 1:11 scale
abanya binary variable that equals 1 if the respondent thinks abortion should be legal for any reason. 0 indicates no support for abortion for any reason.
abdefecta numeric vector that equals 1 if the respondent thinks abortion should be legal if there is a serious defect in the fetus. 0 indicates no support for abortion in this circumstance.
abnomorea numeric vector that equals 1 if the respondent thinks abortion should be legal if a woman is pregnant but wants no more children. 0 indicates no support for abortion in this circumstance.
abhltha numeric vector that equals 1 if the respondent thinks abortion should be legal if a pregnant woman's health is in danger. 0 indicates no support for abortion in this circumstance.
abpoora numeric vector that equals 1 if the respondent thinks abortion should be legal if a pregnant woman is poor and cannot afford more children. 0 indicates no support for abortion in this circumstance.
abrapea numeric vector that equals 1 if the respondent thinks abortion should be legal if the woman became pregnant because of a rape. 0 indicates no support for abortion in this circumstance.
absinglea numeric vector that equals 1 if the respondent thinks abortion should be legal if a pregnant woman is single and does not want to marry the man who impregnated her. 0 indicates no support for abortion in this circumstance.
pidpartyidrecoded so that 7 = NAhispanica dummy variable that equals 1 if the respondent is any way Hispanic
Details
Data include all General Social Survey observations from 1972 to 2018 for these variables. Be mindful of missing data.