scenNID {cents} | R Documentation |
mle estimation of mean and standard deviation
scenNID(y, n, cz, type="L")
y |
fully observed values, less than n if there is censoring |
n |
sample size |
cz |
detection level |
type |
only left censoring at present |
mle estimates of mean and sd
A. I. McLeod
M. S. Wolynetz (1979). Algorithm AS 138: Maximum Likelihood Estimation from Confined and Censored Normal Data. Journal of the Royal Statistical Society. Series C (Applied Statistics), Vol. 28, No. 2, pp. 185-195
n <- 50 cy <- (-1) z <- rnorm(n) ind <- z > cy y <- z[ind] scenNID(y, n, cy)