scenNID {cents}R Documentation

mle estimation of singly-left-censored data using AS 138

Description

mle estimation of mean and standard deviation

Usage

scenNID(y, n, cz, type="L")

Arguments

y

fully observed values, less than n if there is censoring

n

sample size

cz

detection level

type

only left censoring at present

Value

mle estimates of mean and sd

Author(s)

A. I. McLeod

References

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

Examples

n <- 50
cy <- (-1)
z <- rnorm(n)
ind <- z > cy
y <- z[ind]
scenNID(y, n, cy)

[Package cents version 0.1-41 Index]