MyNixOS website logo
Description

Implement Fleming-Viot-Dependent Dirichlet Processes.

A Bayesian Nonparametric model for the study of time-evolving frequencies, which has become renowned in the study of population genetics. The model consists of a Hidden Markov Model (HMM) in which the latent signal is a distribution-valued stochastic process that takes the form of a finite mixture of Dirichlet Processes, indexed by vectors that count how many times each value is observed in the population. The package implements methodologies presented in Ascolani, Lijoi and Ruggiero (2021) <doi:10.1214/20-BA1206> and Ascolani, Lijoi and Ruggiero (2023) <doi:10.3150/22-BEJ1504> that make it possible to study the process at the time of data collection or to predict its evolution in future or in the past.

FVDDPpkg

R implementation of Fleming-Viot-dependent Dirchlet Processes

:computer: The package contains the first implementation of Fleming-Viot dependent Dirichlet processes, a model of Bayesian Nonparametric statistics used in populuation genetics.
The model consists of a Hidden Markov Model (HMM) in which the latent signal is a distribution-valued stochastic process that takes the form of a finite mixture of Dirichlet processes, indexed by vectors that count how many times each value is observed in the population.

In particular, the package allows to:

  • implement a Dirichlet process specifying
    • the baseline prior distribution $P_0$, which is described by its p.m.f (if it is discrete) or by its p.d.f. (it is is absolutely continuous), and by a function to sample from.
    • the intensity $\theta > 0$ associated to $P_0$.
  • update the structure of the model with data, modifying the latent signal.
  • propagate the latent signal in the past or in the future for any time, given the current state.
  • smooth the latent signal given observations from the past, the present and the future.
  • sample from the process.
  • exploit the predictive structure to make inference.

For clarifications and examples of use, please refer to the vignette in the package documentation or on GitHub.

For a rigorous theoretical approach, read Ascolani et al. (2021) and Ascolani et al. (2023)

Installation

:cat: To install from GitHub, make sure you have the devtools package installed.

install.packages("devtools")

and proceed to download using

devtools::install_github("StefanoDamato/FVDDPpkg", build_vignettes = TRUE)

:space_invader: Soon too appear on CRAN!

After the acceptance, just run

install.packages("FVDDPpkg", dependencies = True)

Citation

:book: A paper on the package and new algorithms it implements is currently under review. Its publication will be notified here now.

At the moment, the most comprehensive works you can cite are

@article{AscolaniLijoiRuggiero2021,
author = {Filippo Ascolani and Antonio Lijoi and Matteo Ruggiero},
title = {{Predictive inference with Fleming–Viot-driven dependent Dirichlet processes}},
volume = {16},
journal = {Bayesian Analysis},
number = {2},
publisher = {International Society for Bayesian Analysis},
pages = {371 -- 395},
keywords = {Chinese restaurant, conveyor belt, generalized Pólya urn, Hidden Markov model, predictive distribution, random partition},
year = {2021},
doi = {10.1214/20-BA1206},
URL = {https://doi.org/10.1214/20-BA1206}}

and

@article{AscolaniLijoiRuggiero2023,
author = {Filippo Ascolani and Antonio Lijoi and Matteo Ruggiero},
title = {{Smoothing distributions for conditional Fleming–Viot and Dawson–Watanabe diffusions}},
volume = {29},
journal = {Bernoulli},
number = {2},
publisher = {Bernoulli Society for Mathematical Statistics and Probability},
pages = {1410 -- 1434},
keywords = {Dirichlet process, Duality, gamma random measures, Hidden Markov model, optimal filtering, prediction},
year = {2023},
doi = {10.3150/22-BEJ1504},
URL = {https://doi.org/10.3150/22-BEJ1504}
}

Contacts

:e-mail: For questions, contributions or bug reports contact me at [email protected] or use the issues section on the GitHub repository.

Metadata

Version

0.1.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows