Module: Distribution::LogNormal

Extended by:
Distributable
Defined in:
lib/distribution/lognormal.rb,
lib/distribution/lognormal/gsl.rb,
lib/distribution/lognormal/ruby.rb

Overview

From Wikipedia: In probability theory, a log-normal distribution is a probability distribution of a random variable whose logarithm is normally distributed. If X is a random variable with a normal distribution, then Y = exp(X) has a log-normal distribution; likewise, if Y is log-normally distributed, then X = log(Y) is normally distributed. (This is true regardless of the base of the logarithmic function: if loga(Y) is normally distributed, then so is logb(Y), for any two positive numbers a, b ≠ 1.)

This module calculates the pdf, cdf and inverse cdf for the Lognormal distribution.

Defined Under Namespace

Modules: GSL_, Ruby_

Constant Summary collapse

SHORTHAND =
'lognormal'

Method Summary

Methods included from Distributable

create_distribution_methods