normCDF: Cumulative distribution function

Description Usage Arguments Value Examples

Description

This function evaluates the cumulative distribution of a univariate Gaussian distribution

Usage

1
normCDF(mean, sd, lower, upper)

Arguments

mean

mean of the distribution

sd

standard deviation of the distribution

lower

lower bound

upper

upper bound

Value

the area between the two bounds

Examples

1
2
constr <- function(X, u1 = lower, u2 = upper) { X >= u1 & X <= u2 }
mcInter(constr, 1/2, 0.1, 100)

pasudyan/ConstrMixMod documentation built on May 10, 2019, 8:26 a.m.