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

Description Usage Arguments Value Author(s) References Examples

Description

mle estimation of mean and standard deviation

Usage

1
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

1
2
3
4
5
6
n <- 50
cy <- (-1)
z <- rnorm(n)
ind <- z > cy
y <- z[ind]
scenNID(y, n, cy)

cents documentation built on May 1, 2019, 8:19 p.m.

Related to scenNID in cents...