Package: OPSR Title: Ordered Probit Switching Regression Version: 1.0.1.9001 Authors@R: c(person("Daniel", "Heimgartner", email = "d.heimgartners@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-0643-8690")), person("Xinyi", "Wang", email = "xinyi174@mit.edu", role = c("aut"), comment = c(ORCID = "0000-0002-3564-9147"))) Description: Estimates ordered probit switching regression models - a Heckman type selection model with an ordinal selection and continuous outcomes. Different model specifications are allowed for each treatment/regime. For more details on the method, see Wang & Mokhtarian (2024) or Chiburis & Lokshin (2007) . License: GPL (>= 3) Encoding: UTF-8 Roxygen: list(markdown = TRUE) Imports: car, Formula, graphics, MASS, maxLik, methods, mvtnorm, Rcpp, Rdpack (>= 0.7), sandwich, stats, texreg, utils LinkingTo: Rcpp, RcppArmadillo Depends: R (>= 3.5) LazyData: true RdMacros: Rdpack Suggests: gridExtra, gridGraphics, sampleSelection, scales, testthat (>= 3.0.0) Config/testthat/edition: 3 URL: https://github.com/dheimgartner/OPSR BugReports: https://github.com/dheimgartner/OPSR/issues Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: cmake make texlive libicu-dev libssl-dev Repository: https://dheimgartner.r-universe.dev Date/Publication: 2026-06-28 10:41:46 UTC RemoteUrl: https://github.com/dheimgartner/opsr RemoteRef: HEAD RemoteSha: a39dff3e3103b1c5b8abddb56f9d5d3f66d01770 NeedsCompilation: yes Packaged: 2026-06-28 11:27:39 UTC; root Author: Daniel Heimgartner [aut, cre, cph] (ORCID: ), Xinyi Wang [aut] (ORCID: ) Maintainer: Daniel Heimgartner