Skip to content

BayesMultiMode

Bayesian Mode Inference

v0.7.5 · Feb 27, 2026 · GPL (>= 3)

Description

A two-step Bayesian approach for mode inference following Cross, Hoogerheide, Labonne and van Dijk (2024) <doi:10.1016/j.econlet.2024.111579>). First, a mixture distribution is fitted on the data using a sparse finite mixture (SFM) Markov chain Monte Carlo (MCMC) algorithm. The number of mixture components does not have to be known; the size of the mixture is estimated endogenously through the SFM approach. Second, the modes of the estimated mixture at each MCMC draw are retrieved using algorithms specifically tailored for mode detection. These estimates are then used to construct posterior probabilities for the number of modes, their locations and uncertainties, providing a powerful tool for mode inference.

Downloads

385

Last 30 days

8593rd

630

Last 90 days

630

Last year

Trend: +57.1% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  6.1Mb
  sub-directories of 1Mb or more:
    help   5.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  6.2Mb
  sub-directories of 1Mb or more:
    help   5.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.1Mb
  sub-directories of 1Mb or more:
    help   5.9Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  6.1Mb
  sub-directories of 1Mb or more:
    help   5.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  6.2Mb
  sub-directories of 1Mb or more:
    help   5.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.1Mb
  sub-directories of 1Mb or more:
    help   5.9Mb

Dependency Network

Dependencies Reverse dependencies assertthat bayesplot dplyr ggplot2 ggpubr gtools magrittr MCMCglmm mvtnorm posterior sn stringr tidyr Rdpack BayesMultiMode

Version History

new 0.7.5 Mar 9, 2026