Utilities for checking and diagnosing separation phenomena (complete separation, quasi-complete separation, overlap) for binary, nominal and ordinal data models with link construction as baseline-category, adjacent-category, cumulative, sequential (continuation-ratio), ordered stereotype and arbitrary link error distribution (including logit, probit, cauchit, cloglog, loglog, log amongst others). The package functionality includes a check for separation and a check for overlap with a linear program, a quick check for overlap, a sequential check for overlap based on subsamples, detailed separation diagnostics such as identification of columns in the design matrix/structure vector matrix that lead to separation, identification of design matrix/structure vector matrix rows that lead to separation, the dimension of the recession cone and the structure vectors that are linearities. Calculations can be done with rcdd to employ arbitrary precision and various other lp-solvers can also be used via ROI. Implemented checks can be done before model fitting based on outcome and design matrix or structure vector matrix or via formula (pre-fit), or after model fitting for objects of class glm, multinom, polr, osm, clm, bracl, brmultinom. Wrappers for other classes can be easily constructed by third parties via pre-fit functions.
Package details |
|
|---|---|
| Author | Thomas Rusch [aut, cre] (<https://orcid.org/0000-0002-7773-2096>), Lukas Sablica [aut] (<https://orcid.org/0000-0001-9166-4563>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>) |
| Maintainer | Thomas Rusch <thomas.rusch@wu.ac.at> |
| License | GPL-2 | GPL-3 |
| Version | 0.7-0 |
| Package repository | View on R-Forge |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.