CM {cents}R Documentation

Censored mean and standard deviation in normal samples

Description

An exact algorithm is used.

Usage

CM(y, iy)

Arguments

y

data vector

iy

indicator with entries: "o","L","R","na". If missing, it is assumed there is no censoring and iy entries are set to "o" or "na" according to whether the corresponding value in y is numeric or NA.

Details

More details later.

Value

a list

Author(s)

A. I. McLeod

References

later

See Also

cenarma

Examples

z <- log(NiagaraToxic$toxic)
iz <- c("o", "L")[1+NiagaraToxic$cQ]
CM(z,iz)
cenarma(z, iz, p=0, q=0)

[Package cents version 0.1-41 Index]