Skip to contents

Package overview

iop-package
iop: Inflated Ordered Probit and Logit Models

Estimators

One formula interface (y ~ x | z), one class, one set of methods.

oprobit() ologit()
Ordered probit and ordered logit regression
iop() iol()
Inflated ordered probit and inflated ordered logit regression

Inference and summaries

summary(<iord>)
Summarize an ordered / inflated ordered fit
vcov(<iord>)
Covariance matrix of an ordered / inflated ordered fit
confint(<iord>)
Confidence intervals for an ordered / inflated ordered fit
update(<iord>)
Update and refit an iord model
ranef()
Empirical-Bayes unit effects of a random-intercept fit

Quantities of interest

predict(<iord>)
Predictions from an ordered / inflated ordered fit
first_difference()
First differences in predicted probabilities
ame()
Average marginal effects
plot(<iop_fd>) plot(<iop_ame>)
Plot first differences or average marginal effects

Model comparison

vuong()
Vuong test for non-nested (or boundary-nested) model comparison
inflation_test()
Test for category inflation
split_test()
Test of a common versus category-specific split equation
lr_test()
Likelihood-ratio test for nested ordered / inflated ordered fits
compare_models()
Side-by-side fit statistics for ordered / inflated ordered models
parallel_test()
Likelihood-ratio tests of the parallel-regression assumption
classification()
Classification table and accuracy scores

Panel tools

mundlak()
Mundlak (correlated random effects) device

Simulation, distribution functions, and diagnostics

riop()
Simulate data from an (inflated) ordered probit or logit process
diord() piord() qiord() riord()
Distribution functions of the (inflated) ordered response
simulate(<iord>)
Simulate responses from a fitted ordered / inflated ordered model
residuals(<iord>)
Residuals for ordered / inflated ordered fits

broom methods

tidy(<iord>)
Tidy an ordered / inflated ordered fit (broom method)
glance(<iord>)
Glance at an ordered / inflated ordered fit (broom method)
augment(<iord>)
Augment data with fitted classes and regime probabilities (broom method)

Data

bp
Political violence, 1976–1996 (Besley and Persson 2009)
pta
Escape-flexibility provisions in preferential trade agreements
repression
State repression of nonviolent campaigns