LognormalDistribution
Lognormal probability distribution object
Description
A LognormalDistribution
object consists of parameters, a
model description, and sample data for a lognormal probability
distribution.
The lognormal distribution, sometimes called the Galton distribution, is a probability distribution whose logarithm has a normal distribution. The lognormal distribution is applicable when the quantity of interest must be positive, because log(x) exists only when x is positive.
The lognormal distribution uses the following parameters.
Parameter | Description | Support |
---|---|---|
mu (μ) | Mean of logarithmic values | |
sigma (σ) | Standard deviation of logarithmic values |
Creation
There are several ways to create a LognormalDistribution
probability distribution object.
Create a distribution with specified parameter values using
makedist
.Fit a distribution to data using
fitdist
.Interactively fit a distribution to data using the Distribution Fitter app.
Properties
Object Functions
cdf | Cumulative distribution function |
gather | Gather properties of Statistics and Machine Learning Toolbox object from GPU |
icdf | Inverse cumulative distribution function |
iqr | Interquartile range of probability distribution |
mean | Mean of probability distribution |
median | Median of probability distribution |
negloglik | Negative loglikelihood of probability distribution |
paramci | Confidence intervals for probability distribution parameters |
pdf | Probability density function |
plot | Plot probability distribution object |
proflik | Profile likelihood function for probability distribution |
random | Random numbers |
std | Standard deviation of probability distribution |
truncate | Truncate probability distribution object |
var | Variance of probability distribution |
Examples
Extended Capabilities
Version History
Introduced in R2013a