Concentration models¶
Let x denote a random variable from a lognormal distribution. Then, the log transformed variable y=ln(x) is normally distributed with μ and variance σ. The probability density function (p.d.f.) of y may be expressed as:
where p0=Pr(y<log(Xlor)),xlor is the limit of reporting and I(y;0) is an indicator function for y<log(Xlor). For p0=0 the p.d.f. of y reduces to the usual lognormal density. The left truncated density for y≥log(Xlor) may be expressed as:
with Φ(⋅) the standard normal c.d.f. and z=(log(xlor)−μy)/σz. Model parameters are estimated using maximum likelihood estimation based on the loglikelihood functions specified below. The loglikelihood functions are evaluated in R, using the optim algorithm to find estimates for μy,σ2y and p0.
Mixture zero spike and censored lognormal¶
The loglikelihood may be expressed as:
where yi=log(xi), Φ(⋅) is the standard normal c.d.f., z=(log(xi,lor)−μy)/σy, zlor=(log(lor)−μy)/σy with n0 number of censored values (xi<xi,lor),n1 number of uncensored values (xi≥xi,lor) and xi,i=1⋯n.
Multiple values for LOR are allowed.
Censored lognormal¶
When p0=0 the loglikelihood reduces to:
Multiple values for LOR are allowed.
Mixture non-detect spike and truncated lognormal¶
Ignoring the n0 values below xlor, the loglikelihood may be expressed as:
Only one value for LOR is allowed.
Mixture non-detect spike and lognormal¶
Ignoring the n0 values below xlor, the loglikelihood may be expressed as:
Only one value for LOR is allowed.