sshist: Optimal Density Estimation via Shimazaki-Shinomoto Method

Implements the Shimazaki-Shinomoto method for optimizing the bin width of histograms and the bandwidth of kernel density estimators. The framework minimizes the expected Mean Integrated Squared Error (MISE) and supports both 1D and 2D distributions, fixed and locally adaptive estimators, bootstrap confidence intervals, and 'OpenMP'-accelerated 'C++' 'backends'. Ideally suited for time-dependent rate estimation and identifying intrinsic data structures. For more details see Shimazaki and Shinomoto (2007) <doi:10.1162/neco.2007.19.6.1503> and Shimazaki and Shinomoto (2010) <doi:10.1007/s10827-009-0180-4>.

Version: 0.2.2
Imports: graphics, grDevices, Rcpp, stats
LinkingTo: Rcpp
Suggests: boot, ggplot2, knitr, patchwork, rmarkdown, testthat
Published: 2026-07-09
DOI: 10.32614/CRAN.package.sshist
Author: Daniil Popov [aut, cre]
Maintainer: Daniil Popov <popov.daniil at gmail.com>
BugReports: https://github.com/celebithil/sshist/issues
License: GPL (≥ 3)
URL: https://github.com/celebithil/sshist, https://www.neuralengine.org/res/histogram.html
NeedsCompilation: yes
Language: en-US
Materials: README, NEWS
CRAN checks: sshist results

Documentation:

Reference manual: sshist.html , sshist.pdf
Vignettes: Advanced Density Visualization with ggplot2 (source, R code)
Introduction to sshist (source, R code)

Downloads:

Package source: sshist_0.2.2.tar.gz
Windows binaries: r-devel: sshist_0.2.2.zip, r-release: sshist_0.1.3.zip, r-oldrel: sshist_0.1.3.zip
macOS binaries: r-release (arm64): sshist_0.2.2.tgz, r-oldrel (arm64): sshist_0.2.2.tgz, r-release (x86_64): sshist_0.2.2.tgz, r-oldrel (x86_64): sshist_0.2.2.tgz
Old sources: sshist archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sshist to link to this page.