LogNormal {distributions3} | R Documentation |
Create a LogNormal distribution
Description
A random variable created by exponentiating a Normal()
distribution. Taking the log of LogNormal data returns in
Normal()
data.
Usage
LogNormal(log_mu = 0, log_sigma = 1)
Arguments
log_mu |
The location parameter, written |
log_sigma |
The scale parameter, written |
Details
We recommend reading this documentation on https://alexpghayes.github.io/distributions3/, where the math will render with additional detail and much greater clarity.
In the following, let be a LogNormal random variable with
success probability
p
= .
Support:
Mean:
Variance:
Probability density function (p.d.f):
Cumulative distribution function (c.d.f):
Moment generating function (m.g.f): Undefined.
Value
A LogNormal
object.
See Also
Other continuous distributions:
Beta()
,
Cauchy()
,
ChiSquare()
,
Erlang()
,
Exponential()
,
FisherF()
,
Frechet()
,
GEV()
,
GP()
,
Gamma()
,
Gumbel()
,
Logistic()
,
Normal()
,
RevWeibull()
,
StudentsT()
,
Tukey()
,
Uniform()
,
Weibull()
Examples
set.seed(27)
X <- LogNormal(0.3, 2)
X
random(X, 10)
pdf(X, 2)
log_pdf(X, 2)
cdf(X, 4)
quantile(X, 0.7)