dcnorm {mmlcr}R Documentation

Density function for Censored Normal Distribution

Description

Density function for the censored (not truncated!) normal distribution in a form suitable for mmlcrlike

Usage

dcnorm(x, mean = rep(0, length(x)), sigma = rep(1,
                 length(x)), min = rep(-(.Machine$double.xmax),
                 length(x)), max = rep(.Machine$double.xmax,
                 length(x)))

Arguments

x vector of quantiles
mean vector of means
sigma vector of standard deviations
min vector of left censoring cutoffs
max vector of right censoring cutoffs

Value

A vector of densities.

See Also

mmlcr, mmlcrlike

Examples


dcnorm(0, mean = 0, sigma = 1)

dcnorm(0, mean = 0, sigma = 1, min = 0)

[Package mmlcr version 1.3.5 Index]