| politicalInformation | R Documentation |
Interviewers administering the 2000 American National Election Studies assigned an ordinal rating to each respondent's "general level of information" about politics and public affairs.
data(politicalInformation)
A data frame with 1807 observations on the following 8 variables.
yinterviewer rating, a factor with levels Very Low Fairly Low Average Fairly High Very High
collegeDegreea factor with levels No Yes
femalea factor with levels No Yes
agea numeric vector, respondent age in years
homeOwna factor with levels No Yes
govta factor with levels No Yes
lengtha numeric vector, length of ANES pre-election interview in minutes
ida factor, unique identifier for each interviewer
Seven respondents have missing data on the ordinal interviewer rating.
The covariates age and length also have some missing data.
The National Election Studies (www.electionstudies.org). THE 2000 NATIONAL ELECTION STUDY [dataset]. Ann Arbor, MI: University of Michigan, Center for Political Studies [producer and distributor].
Jackman, Simon. 2009. Bayesian Analysis for the Social Sciences. Wiley: Hoboken, New Jersey.
data(politicalInformation)
table(politicalInformation$y,exclude=NULL)
op <- MASS::polr(y ~ collegeDegree + female + log(age) + homeOwn + govt + log(length),
data=politicalInformation,
Hess=TRUE,
method="probit")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.