pscl: Political Science Computational Laboratory, Stanford University

Bayesian analysis of item-response theory (IRT) models, roll call analysis; computing highest density regions; maximum likelihood estimation of zero-inflated and hurdle models for count data; goodness-of-fit measures for GLMs; data sets used in writing and teaching at the Political Science Computational Laboratory; seats-votes curves.

AuthorSimon Jackman, with contributions from Alex Tahk, Achim Zeileis, Christina Maimone and Jim Fearon
Date of publication2015-03-29 11:23:22
MaintainerSimon Jackman <jackman@stanford.edu>
LicenseGPL-2
Version1.4.9
http://pscl.stanford.edu/

View on CRAN

Man pages

absentee: Absentee and Machine Ballots in Pennsylvania State Senate...

admit: Applications to a Political Science PhD Program

AustralianElectionPolling: Political opinion polls in Australia, 2004-07

AustralianElections: elections to Australian House of Representatives, 1949-2007

betaHPD: compute and optionally plot beta HDRs

bioChemists: article production by graduate students in biochemistry Ph.D....

ca2006: California Congressional Districts in 2006

computeMargins: add information about voting outcomes to a rollcall object

constrain.items: constrain item parameters in analysis of roll call data

constrain.legis: constrain legislators' ideal points in analysis of roll call...

convertCodes: convert entries in a rollcall matrix to binary form

dropRollCall: drop user-specified elements from a rollcall object

dropUnanimous: drop unanimous votes from rollcall objects and matrices

EfronMorris: Batting Averages for 18 major league baseball players, 1970

extractRollCallObject: return the roll call object used in fitting an ideal model

hitmiss: Table of Actual Outcomes against Predicted Outcomes for...

hurdle: Hurdle Models for Count Data Regression

hurdle.control: Control Parameters for Hurdle Count Data Regression

hurdletest: Testing for the Presence of a Zero Hurdle

ideal: analysis of educational testing data and roll call data with...

idealToMCMC: convert an object of class ideal to a coda MCMC object

igamma: inverse-Gamma distribution

iraqVote: U.S. Senate vote on the use of force against Iraq, 2002.

nj07: rollcall object, National Journal key votes of 2007

ntable: nicely formatted tables

odTest: likelihood ratio test for over-dispersion in count data

partycodes: political parties appearing in the U.S. Congress

plot.ideal: plots an ideal object

plot.predict.ideal: plot methods for predictions from ideal objects

plot.seatsVotes: plot seats-votes curves

politicalInformation: Interviewer ratings of respondent levels of political...

postProcess: remap MCMC output via affine transformations

pR2: compute various pseudo-R2 measures

predict.hurdle: Methods for hurdle Objects

predict.ideal: predicted probabilities from an ideal object

predict.zeroinfl: Methods for zeroinfl Objects

predprob: compute predicted probabilities from fitted models

predprob.glm: Predicted Probabilties for GLM Fits

predprob.ideal: predicted probabilities from fitting ideal to rollcall data

presidentialElections: elections for U.S. President, 1932-2012, by state

prussian: Prussian army horse kick data

readKH: read roll call data in Poole-Rosenthal KH format

RockTheVote: Voter turnout experiment, using Rock The Vote ads

rollcall: create an object of class rollcall

s109: rollcall object, 109th U.S. Senate (2005-06).

sc9497: votes from the United States Supreme Court, from 1994-1997

seatsVotes: A class for creating seats-votes curves

simpi: Monte Carlo estimate of pi (3.14159265...)

state.info: information about the American states needed for U.S....

summary.ideal: summary of an ideal object

summary.rollcall: summarize a rollcall object

tracex: trace plot of MCMC iterates, posterior density of...

UKHouseOfCommons: 1992 United Kingdom electoral returns

unionDensity: cross national rates of trade union density

vectorRepresentation: convert roll call matrix to series of vectors

vote92: Reports of voting in the 1992 U.S. Presidential election.

vuong: Vuong's non-nested hypothesis test

zeroinfl: Zero-inflated Count Data Regression

zeroinfl.control: Control Parameters for Zero-inflated Count Data Regression

Files in this package

pscl
pscl/TODO
pscl/inst
pscl/inst/CITATION
pscl/inst/COPYRIGHTS
pscl/inst/extdata
pscl/inst/extdata/id2.rda
pscl/inst/extdata/id1.rda
pscl/inst/doc
pscl/inst/doc/countreg.pdf
pscl/inst/doc/countreg.Rnw
pscl/inst/doc/countreg.R
pscl/src
pscl/src/util.c
pscl/src/pi.c
pscl/src/dvecTOdmat.c
pscl/src/predict.c
pscl/src/check.c
pscl/src/rigamma.c
pscl/src/printmat.c
pscl/src/rmvnorm.c
pscl/src/IDEAL.c
pscl/src/crossprod.c
pscl/src/updateb.c
pscl/src/chol.h
pscl/src/bayesreg.c
pscl/src/updatex.c
pscl/src/dmatTOdvec.c
pscl/src/xchol.c
pscl/src/util.h
pscl/src/renormalize.c
pscl/src/dtnorm.c
pscl/src/chol.c
pscl/src/updatey.c
pscl/src/gaussj.c
pscl/src/ideal.h
pscl/src/xreg.c
pscl/NAMESPACE
pscl/NEWS
pscl/data
pscl/data/presidentialElections.rda
pscl/data/sc9497.rda
pscl/data/admit.rda
pscl/data/iraqVote.rda
pscl/data/RockTheVote.rda
pscl/data/unionDensity.rda
pscl/data/partycodes.rda
pscl/data/EfronMorris.rda
pscl/data/AustralianElections.rda
pscl/data/absentee.rda
pscl/data/UKHouseOfCommons.rda
pscl/data/prussian.rda
pscl/data/AustralianElectionPolling.rda
pscl/data/state.info.rda
pscl/data/vote92.rda
pscl/data/ca2006.rda
pscl/data/s109.rda
pscl/data/bioChemists.rda
pscl/data/nj07.rda
pscl/data/politicalInformation.rda
pscl/R
pscl/R/hurdle.R pscl/R/predprob.R pscl/R/ntable.R
pscl/R/idealHelper.r
pscl/R/dropRollCall.r
pscl/R/extractVotes.r
pscl/R/pi.r
pscl/R/hello.r
pscl/R/restrict.ideal.r
pscl/R/toMCMC.r
pscl/R/margins.rollcall.r
pscl/R/sysdata.rda
pscl/R/postProcess.r
pscl/R/seatsVotes.R
pscl/R/rollcall.r
pscl/R/vuong.R pscl/R/zeroinfl.R pscl/R/odTest.R pscl/R/pseudoRSq.R
pscl/R/igamma.r
pscl/R/betaHPD.r
pscl/R/dropUnanimous.r
pscl/R/readKH.r
pscl/R/predict.ideal.r
pscl/R/summary.ideal.r
pscl/R/ideal.r
pscl/R/predprob.glm.R pscl/R/zzz.R
pscl/R/plot.ideal.r
pscl/R/hitmiss.R
pscl/vignettes
pscl/vignettes/DebTrivedi.rda
pscl/vignettes/countreg.Rnw
pscl/vignettes/countreg.bib
pscl/vignettes/auto
pscl/vignettes/auto/countreg.el
pscl/MD5
pscl/README
pscl/build
pscl/build/vignette.rds
pscl/DESCRIPTION
pscl/man
pscl/man/summary.ideal.Rd pscl/man/convertCodes.Rd pscl/man/s109.Rd pscl/man/igamma.Rd pscl/man/pR2.Rd pscl/man/rollcall.Rd pscl/man/state.info.Rd pscl/man/absentee.Rd pscl/man/postProcess.Rd pscl/man/predict.zeroinfl.Rd pscl/man/hurdle.Rd pscl/man/hurdle.control.Rd pscl/man/summary.rollcall.Rd pscl/man/vectorRepresentation.Rd pscl/man/nj07.Rd pscl/man/tracex.Rd pscl/man/admit.Rd pscl/man/simpi.Rd pscl/man/betaHPD.Rd pscl/man/constrain.items.Rd pscl/man/sc9497.Rd pscl/man/prussian.Rd pscl/man/UKHouseOfCommons.Rd pscl/man/RockTheVote.Rd pscl/man/predict.ideal.Rd pscl/man/ntable.Rd pscl/man/plot.seatsVotes.Rd pscl/man/predict.hurdle.Rd pscl/man/zeroinfl.control.Rd pscl/man/ideal.Rd pscl/man/zeroinfl.Rd pscl/man/plot.ideal.Rd pscl/man/plot.predict.ideal.Rd pscl/man/unionDensity.Rd pscl/man/readKH.Rd pscl/man/constrain.legis.Rd pscl/man/hurdletest.Rd pscl/man/idealToMCMC.Rd pscl/man/ca2006.Rd pscl/man/presidentialElections.Rd pscl/man/EfronMorris.Rd pscl/man/AustralianElectionPolling.Rd pscl/man/dropUnanimous.Rd pscl/man/predprob.Rd pscl/man/iraqVote.Rd pscl/man/hitmiss.Rd pscl/man/partycodes.Rd pscl/man/seatsVotes.Rd pscl/man/vuong.Rd pscl/man/predprob.glm.Rd pscl/man/predprob.ideal.Rd pscl/man/AustralianElections.Rd pscl/man/computeMargins.Rd pscl/man/dropRollCall.Rd pscl/man/extractRollCallObject.Rd pscl/man/vote92.Rd pscl/man/odTest.Rd pscl/man/politicalInformation.Rd pscl/man/bioChemists.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.