truncated_normal_cdf
computes the cumulative density
function for a truncated normal distribution.
truncated_normal_cdf(
liability,
lower = stats::qnorm(0.05, lower.tail = F),
upper = Inf
)
A number representing the individual's true underlying liability.
A number representing the lower cutoff point for the truncated normal distribution. Defaults to 1.645 (stats::qnorm(0.05, lower.tail = F)).
A number representing the upper cutoff point of the truncated normal distribution. Must be greater or equal to lower. Defaults to Inf.
If liability is a number and the lower and upper cutoff points
are numbers satisfying lower <= upper, then truncated_normal_cdf
returns the probability that the liability will take on a value less than
or equal to liability
.
This function can be used to compute the value of the cumulative density function for a truncated normal distribution given an individual's true underlying liability.