CRAN/E | detectseparation

detectseparation

Detect and Check for Separation and Infinite Maximum Likelihood Estimates

Installation

About

Provides pre-fit and post-fit methods for detecting separation and infinite maximum likelihood estimates in generalized linear models with categorical responses. The pre-fit methods apply on binomial-response generalized liner models such as logit, probit and cloglog regression, and can be directly supplied as fitting methods to the glm() function. They solve the linear programming problems for the detection of separation developed in Konis (2007, ) using 'ROI' or 'lpSolveAPI' . The post-fit methods apply to models with categorical responses, including binomial-response generalized linear models and multinomial-response models, such as baseline category logits and adjacent category logits models; for example, the models implemented in the 'brglm2' package. The post-fit methods successively refit the model with increasing number of iteratively reweighted least squares iterations, and monitor the ratio of the estimated standard error for each parameter to what it has been in the first iteration. According to the results in Lesaffre & Albert (1989, ), divergence of those ratios indicates data separation.

github.com/ikosmidis/detectseparation
Bug report File report

Key Metrics

Version 0.3
R ≥ 3.3.0
Published 2022-08-26 610 days ago
Needs compilation? no
License GPL-3
CRAN checks detectseparation results

Downloads

Yesterday 68 -13%
Last 7 days 366 -3%
Last 30 days 1.491 -1%
Last 90 days 4.418 -40%
Last 365 days 20.424 -10%

Maintainer

Maintainer

Ioannis Kosmidis

ioannis.kosmidis@warwick.ac.uk

Authors

Ioannis Kosmidis

aut / cre

Dirk Schumacher

aut

Florian Schwendinger

aut

Kjell Konis

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

Detecting separation and infinite estimates in log binomial regression
Detecting separation and infinite estimates in logistic regression

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

detectseparation archive

Depends

R ≥ 3.3.0

Imports

ROI
ROI.plugin.lpsolve
lpSolveAPI
pkgload

Suggests

knitr
rmarkdown
covr
brglm2
AER
tinytest
ROI.plugin.ecos
ROI.plugin.glpk
ROI.plugin.alabama
ROI.plugin.neos

Reverse Imports

corncob

Reverse Suggests

brglm2