Description Usage Arguments Details Value Note Author(s) References See Also Examples
Estimate quantiles of a zeromodified lognormal distribution or a zeromodified lognormal distribution (alternative parameterization).
1 2 3  eqzmlnorm(x, p = 0.5, method = "mvue", digits = 0)
eqzmlnormAlt(x, p = 0.5, method = "mvue", digits = 0)

x 
a numeric vector of positive observations, or an object resulting from a call to an estimating function that assumes a zeromodified lognormal distribution. For For If 
p 
numeric vector of probabilities for which quantiles will be estimated.
All values of 
method 
character string specifying the method of estimation. The only possible value is

digits 
an integer indicating the number of decimal places to round to when printing out
the value of 
The functions eqzmlnorm
and eqzmlnormAlt
return estimated quantiles
as well as estimates of the distribution parameters.
Quantiles are estimated by:
estimating the distribution parameters by calling ezmlnorm
or
ezmlnormAlt
, and then
calling the function qzmlnorm
or
qzmlnormAlt
and using the estimated
distribution parameters.
If x
is a numeric vector, eqzmlnorm
and eqzmlnormAlt
return a
list of class "estimate"
containing the estimated quantile(s) and other
information. See estimate.object
for details.
If x
is the result of calling an estimation function, eqzmlnorm
and
eqzmlnormAlt
return a list whose class is the same as x
. The list
contains the same components as x
, as well as components called
quantiles
and quantile.method
.
The zeromodified lognormal (delta) distribution is sometimes used to model chemical concentrations for which some observations are reported as “Below Detection Limit” (the nondetects are assumed equal to 0). See, for example, Gilliom and Helsel (1986), Owen and DeRouen (1980), and Gibbons et al. (2009, Chapter 12). USEPA (2009, Chapter 15) recommends this strategy only in specific situations, and Helsel (2012, Chapter 1) strongly discourages this approach to dealing with nondetects.
A variation of the zeromodified lognormal (delta) distribution is the zeromodified normal distribution, in which a normal distribution is mixed with a positive probability mass at 0.
One way to try to assess whether a zeromodified lognormal (delta),
zeromodified normal, censored normal, or censored lognormal is the best
model for the data is to construct both censored and detectsonly probability
plots (see qqPlotCensored
).
Steven P. Millard ([email protected])
Aitchison, J. (1955). On the Distribution of a Positive Random Variable Having a Discrete Probability Mass at the Origin. Journal of the American Statistical Association 50, 901–908.
Aitchison, J., and J.A.C. Brown (1957). The Lognormal Distribution (with special reference to its uses in economics). Cambridge University Press, London. pp.9499.
Crow, E.L., and K. Shimizu. (1988). Lognormal Distributions: Theory and Applications. Marcel Dekker, New York, pp.47–51.
Gibbons, RD., D.K. Bhaumik, and S. Aryal. (2009). Statistical Methods for Groundwater Monitoring. Second Edition. John Wiley and Sons, Hoboken, NJ.
Gilliom, R.J., and D.R. Helsel. (1986). Estimation of Distributional Parameters for Censored Trace Level Water Quality Data: 1. Estimation Techniques. Water Resources Research 22, 135–146.
Helsel, D.R. (2012). Statistics for Censored Environmental Data Using Minitab and R. Second Edition. John Wiley and Sons, Hoboken, NJ, Chapter 1.
Johnson, N. L., S. Kotz, and A.W. Kemp. (1992). Univariate Discrete Distributions. Second Edition. John Wiley and Sons, New York, p.312.
Owen, W., and T. DeRouen. (1980). Estimation of the Mean for Lognormal Data Containing Zeros and LeftCensored Values, with Applications to the Measurement of Worker Exposure to Air Contaminants. Biometrics 36, 707–719.
USEPA (1992c). Statistical Analysis of GroundWater Monitoring Data at RCRA Facilities: Addendum to Interim Final Guidance. Office of Solid Waste, Permits and State Programs Division, US Environmental Protection Agency, Washington, D.C.
USEPA. (2009). Statistical Analysis of Groundwater Monitoring Data at RCRA Facilities, Unified Guidance. EPA 530/R09007, March 2009. Office of Resource Conservation and Recovery Program Implementation and Information Division. U.S. Environmental Protection Agency, Washington, D.C.
ezmlnorm
, ZeroModified Lognormal,
ezmlnormAlt
,
ZeroModified Lognormal (Alternative Parameterization),
ZeroModified Normal, Lognormal.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43  # Generate 100 observations from a zeromodified lognormal (delta)
# distribution with mean=2, cv=1, and p.zero=0.5, then estimate the
# parameters and also the 80'th and 90'th percentiles.
# (Note: the call to set.seed simply allows you to reproduce this example.)
set.seed(250)
dat < rzmlnormAlt(100, mean = 2, cv = 1, p.zero = 0.5)
eqzmlnormAlt(dat, p = c(0.8, 0.9))
#Results of Distribution Parameter Estimation
#
#
#Assumed Distribution: ZeroModified Lognormal (Delta)
#
#Estimated Parameter(s): mean = 1.9604561
# cv = 0.9169411
# p.zero = 0.4500000
# mean.zmlnorm = 1.0782508
# cv.zmlnorm = 1.5307175
#
#Estimation Method: mvue
#
#Estimated Quantile(s): 80'th %ile = 1.897451
# 90'th %ile = 2.937976
#
#Quantile Estimation Method: Quantile(s) Based on
# mvue Estimators
#
#Data: dat
#
#Sample Size: 100
#
# Compare the estimated quatiles with the true quantiles
qzmlnormAlt(mean = 2, cv = 1, p.zero = 0.5, p = c(0.8, 0.9))
#[1] 1.746299 2.849858
#
# Clean up
rm(dat)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.