Functions for the Logitnormal Distribution

Density, distribution, quantile and random generation function for the logitnormal distribution. Estimation of the mode and the first two moments. Estimation of distribution parameters.

logitnorm package provides support for the univariate logit-normal distribution. In addition to the usual random, density, percential, and quantile function, it helps with estimating distribution parameters from observations statistics.

# From CRAN
# Or the the development version from GitHub:
# install.packages("devtools")

See the package vignette for an introduction.

A simple example estimates distribution parameters from observation statistics of mode 0.7 and upper quantile 0.9. Next, the density is computed and plotted across a range of quantiles.

(theta <- twCoefLogitnormMLE(0.7,0.9))
#>             mu    sigma
#> [1,] 0.7608886 0.464783
x <- seq(0,1, length.out=81) 
d <- dlogitnorm(x, mu=theta[1,"mu"], sigma=theta[1,"sigma"])
abline(v=c(0.7,0.9), col="grey")


logitnorm 0.8.37

  • Density returns 0 instead of NAN outside (0,1)
  • Changed first argument name of dlogitnorm from q to x
  • Document argument n of rlogitnorm

logitnorm 0.8.36

Remove the library call to MASS.

logitnorm 0.8.35

Avoid writing file reports during testing and installation.

logitnorm 0.8.33

New features

density on log-scale

Thanks to @madeleine-empirical the density function dlogitnorm now has log an argument that allows computing the density directly at log-scale.

Further changes

Migration to github

The hosting of the development moved from r-forge to github. Releases will still be put to r-forge, because of its good package-checking setup for several platforms, and the help for submission to CRAN, but versioning and development of the code will be done on github.


A package vignette, a README.Rmd and this file have been added.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.8.38 by Thomas Wutzler, a year ago

Browse source code at

Authors: Thomas Wutzler

Documentation:   PDF Manual  

Task views: Probability Distributions

GPL-2 license

Suggests RUnit, knitr, markdown, ggplot2, reshape2

Imported by TestDesign, binaryGP, univariateML.

Suggested by admix, heemod, multinma.

See at CRAN