Package: ungroup 1.4.5

ungroup: Penalized Composite Link Model for Efficient Estimation of Smooth Distributions from Coarsely Binned Data

Versatile method for ungrouping histograms (binned count data) assuming that counts are Poisson distributed and that the underlying sequence on a fine grid to be estimated is smooth. The method is based on the composite link model and estimation is achieved by maximizing a penalized likelihood. Smooth detailed sequences of counts and rates are so estimated from the binned counts. Ungrouping binned data can be desirable for many reasons: Bins can be too coarse to allow for accurate analysis; comparisons can be hindered when different grouping approaches are used in different histograms; and the last interval is often wide and open-ended and, thus, covers a lot of information in the tail area. Age-at-death distributions grouped in age classes and abridged life tables are examples of binned data. Because of modest assumptions, the approach is suitable for many demographic and epidemiological applications. For a detailed description of the method and applications see Rizzi et al. (2015) <doi:10.1093/aje/kwv020>.

Authors:Marius D. Pascariu [aut, cre], Silvia Rizzi [aut], Jonas Schoeley [aut], Maciej J. Danko [aut]

ungroup_1.4.5.tar.gz
ungroup_1.4.5.zip(r-4.7)ungroup_1.4.5.zip(r-4.6)ungroup_1.4.5.zip(r-4.5)
ungroup_1.4.5.tgz(r-4.6-x86_64)ungroup_1.4.5.tgz(r-4.6-arm64)ungroup_1.4.5.tgz(r-4.5-x86_64)ungroup_1.4.5.tgz(r-4.5-arm64)
ungroup_1.4.5.tar.gz(r-4.7-arm64)ungroup_1.4.5.tar.gz(r-4.7-x86_64)ungroup_1.4.5.tar.gz(r-4.6-arm64)ungroup_1.4.5.tar.gz(r-4.6-x86_64)
ungroup_1.4.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ungroup/json (API)
NEWS

# Install 'ungroup' in R:
install.packages('ungroup', repos = c('https://mpascariu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mpascariu/ungroup/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

distributionsglmsmoothingungroupingcpp

6.12 score 16 stars 83 scripts 385 downloads 15 exports 7 dependencies

Last updated from:2423c193b7. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK153
linux-devel-x86_64OK169
source / vignettesOK226
linux-release-arm64OK150
linux-release-x86_64OK157
macos-release-arm64OK209
macos-release-x86_64OK348
macos-oldrel-arm64OK169
macos-oldrel-x86_64OK268
windows-develOK144
windows-releaseOK144
windows-oldrelOK155
wasm-releaseOK123

Exports:build_B_spline_basisbuild_C_matrixbuild_P_matrixcontrol.pclmcontrol.pclm2Dcreate.artificial.bindelete.artificial.binfracpclmpclm.fitpclm.input.checkpclm2Dseqlastsuggest.valid.out.stepvalidate.nlast

Dependencies:latticeMatrixpbapplyrbibutilsRcppRcppEigenRdpack

Introduction to ungroup

Rendered fromIntro.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2026-05-03
Started: 2018-08-11