Package: iop
Type: Package
Title: Inflated Ordered Probit and Logit Models
Version: 0.1.0
Authors@R: person("Benjamin E.", "Bagozzi", email = "bagozzib@udel.edu",
    role = c("aut", "cre"))
Description: Estimation, inference, and quantities of interest for ordered
    probit and ordered logit models whose outcome contains an inflated category:
    a single ordered category (bottom, middle, top, or any other) that mixes
    observations generated by the ordered process with observations generated
    by a distinct split-population process. Fits the zero-inflated ordered probit
    of Harris and Zhao (2007) <doi:10.1016/j.jeconom.2007.01.002> and its
    middle- and top-inflated extensions (Bagozzi and Mukherjee 2012
    <doi:10.1093/pan/mps020>; Bagozzi, Hill, Moore and Mukherjee 2015
    <doi:10.1177/0022002713520530>; Bagozzi, Joo and Mukherjee 2024
    <doi:10.1093/fpa/orae006>), generalized to an arbitrary inflated category and
    to the logit link, with optional correlated errors for the probit form, plus
    the standard ordered probit and logit and their partial proportional-odds
    (non-parallel) variants on the same footing. Provides analytic, robust, and
    cluster-robust standard errors, survey weights and offsets, model comparison
    (Vuong, likelihood-ratio, information criteria), regime-specific predicted
    probabilities and first differences, simulation for residual diagnostics,
    and tidy/table-package integration. The likelihood, its gradient, and the
    bivariate-normal probabilities are implemented in C++.
License: GPL-3
Encoding: UTF-8
LazyData: true
Depends: R (>= 4.0)
Imports: Rcpp, stats, graphics, methods, numDeriv, MASS
LinkingTo: Rcpp
Suggests: ordinal, VGAM, mvtnorm, pbivnorm, sandwich, DHARMa, testthat
        (>= 3.0.0), knitr, rmarkdown, broom, modelsummary, texreg,
        parallel, AER
VignetteBuilder: knitr
URL: https://github.com/bagozzib/iop, https://bagozzib.github.io/iop/
BugReports: https://github.com/bagozzib/iop/issues
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.0
NeedsCompilation: yes
Packaged: 2026-08-23 10:03:41 UTC; bagoz
Author: Benjamin E. Bagozzi [aut, cre]
Maintainer: Benjamin E. Bagozzi <bagozzib@udel.edu>
Repository: CRAN
Date/Publication: 2026-09-03 11:50:24 UTC
Built: R 4.6.1; x86_64-w64-mingw32; 2026-09-03 23:51:15 UTC; windows
Archs: x64
