Learn R Programming

⚠️There's a newer version (1.5.9) of this package.Take me there.

pscl (version 0.5)

R in the Political Science Computational Laboratory, Stanford University

Description

new classes and/or methods for discrete data models; e.g., models for counts, ordinal data, item-response theory (IRT) models for binary data

Copy Link

Version

Install

install.packages('pscl')

Monthly Downloads

30,061

Version

0.5

License

GPL

Maintainer

Simon Jackman

Last Published

January 31st, 2024

Functions in pscl (0.5)

predprob

Compute predicted probabilities from fitted models
summary.zeroinfl

Summarizing Zero-Inflated Regression Models for Count Data
odTest

Likelihood ratio test for over-dispersion in count data
bioChemists

Article production by graduate students in biochemistry Ph.D. programs
summary.hurdle

Summarzing Hurdle Regression Models for Count Data
predprob.zeroinfl

Predicted probabilities from zero-inflated regression models
betaHPD

Compute and optionally plot beta HDRs
predict.zeroinfl

Generate predictions from zero-inflated regression count models
zeroinfl

Zero-inflated regression models for count data
ntable

Nicely formatted tables
predprob.glm

Predicted Probabilties for GLM Fits
hurdle

Fit hurdle models to count data
tracex

Trace Plot of Legislators' Ideal Points.
plot2d

Plots two dimensional summary of an ideal object
unionDensity

cross national rates of trade union density
s109

rollcall object, 109th U.S. Senate
igamma

inverse-Gamma distribution
state.info

Information about the American states needed for U.S. Congress
vuong

Vuong's non-nested hypothesis test
partycodes

Political parties appearing the U.S. Congress
prussian

Prussian Army Horse Kick Data
constrain.items

constrain item parameters in analysis of roll call data
extractRollCallObject

return the roll call object used in fitting an ideal model
vectorRepresentation

convert roll call matrix to series of vectors
dropRollCall

drop user-specified elements from a rollcall object
idealToMCMC

Convert and object of class ideal to an MCMC object
dropUnanimous.rollcall

drop unanimous votes from rollcall objects
plot1d

Plots 1 dimension of an ideal object
AustralianElections

elections to Australian House of Representatives, 1949-2004
rollcall

Create an object of class rollcall
computeMargins

add information about voting outcomes to a rollcall object
plot.ideal

plots an ideal object.
predprob.ideal

predicted probabilities from fitting ideal to rollcall data
constrain.legis

constrain legislators' ideal points in analysis of roll call data
sc9497

Votes from the United States Supreme Court, from 1994-1997
ideal

Analysis of Roll Call Data (ideal point estimation or item-response modeling via Markov chain Monte Carlo methods)
plot.predict.ideal

plot methods for predictions from ideal objects
predict.ideal

oredicted orobabilities from an ideal object
readKH

Read Roll Call Data from Poole-Rosenthal KH format
summary.ideal

Summarize an Ideal object
convertCodes

convert entries in a rollcall matrix to binary form
dropUnanimous.matrix

drop unanimous rollcalls from a roll call matrix
dropUnanimous

drop unanimous votes from rollcall objects and matrices
summary.rollcall

Summarize a rollcall object