MyNixOS website logo
Description

Help to Fit of a Parametric Distribution to Non-Censored or Censored Data.

Extends the fitdistr() function (of the MASS package) with several functions to help the fit of a parametric distribution to non-censored or censored data. Censored data may contain left censored, right censored and interval censored values, with several lower and upper bounds. In addition to maximum likelihood estimation (MLE), the package provides moment matching (MME), quantile matching (QME), maximum goodness-of-fit estimation (MGE) and maximum spacing estimation (MSE) methods (available only for non-censored data). Weighted versions of MLE, MME, QME and MSE are available. See e.g. Casella & Berger (2002), Statistical inference, Pacific Grove, for a general introduction to parametric estimation.

Help to Fit of a Parametric Distribution to Non-Censored or Censored Data

CRAN_Release_Badge CRAN Downloads R-CMD-check License: GPL v3


Please note! Since January 2024, this repository has belonged to the lbbe-software organization. To avoid confusion, we strongly recommend updating any existing local clones to point to the new repository URL. You can do this by using git remote on the command line:

git remote set-url origin [email protected]:lbbe-software/fitdistrplus.git

or

git remote set-url origin https://github.com/lbbe-software/fitdistrplus.git


fitdistrplus extends the fitdistr() function (of the MASS package) with several functions to help the fit of a parametric distribution to non-censored or censored data. Censored data may contain left censored, right censored and interval censored values, with several lower and upper bounds. In addition to maximum likelihood estimation (MLE), the package provides moment matching (MME), quantile matching (QME) and maximum goodness-of-fit estimation (MGE) methods (available only for non-censored data). Weighted versions of MLE, MME and QME are available.

fitdistrplus allows to fit any probability distribution provided by the user and not restricted to base R distributions (see ?Distributions). We strongly encourage users to visit the CRAN task view on Distributions proposed by Dutang, Kiener & Swihart (2024).

The package

The stable version of fitdistrplus can be installed from CRAN using:

install.packages("fitdistrplus")

The development version of fitdistrplus can be installed from GitHub (remotes needed):

if (!requireNamespace("remotes", quietly = TRUE))
   install.packages("remotes")
   
remotes::install_github("lbbe-software/fitdistrplus")

Finally load the package in your current R session with the following R command:

library(fitdistrplus)

Documentation

Four vignettes are attached to the fitdistrplus package. Two of them are for beginners

The last two vignettes deal with advanced topics

Authors & Contacts

Please read the FAQ before contacting authors

  • Marie-Laure Delignette-Muller: marielaure.delignettemuller<<@))vetagro-sup.fr
  • Christophe Dutang: dutangc<<@))gmail.com
  • Aurélie Siberchicot: aurelie.siberchicot<<@))univ-lyon1.fr

Issues can be reported on fitdistrplus-issues.

Citation

If you use fitdistrplus, you should cite:
Marie Laure Delignette-Muller, Christophe Dutang (2015). fitdistrplus: An R Package for Fitting Distributions. Journal of Statistical Software. https://www.jstatsoft.org/article/view/v064i04 DOI 10.18637/jss.v064.i04.

Metadata

Version

1.2-1

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