Learn R Programming

cents (version 0.1-41)

CM: 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.

Value

a list

Details

More details later.

References

later

See Also

cenarma

Examples

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

Run the code above in your browser using DataLab