dtuvn: Univariate Truncated Normal Distribution

Description Usage Arguments Value References

View source: R/dtuvn.R

Description

Calculates density for the truncated normal distribution.

Usage

1
dtuvn(x, mean, sd, lower, upper)

Arguments

x

value of sample

mean

mean

sd

standard deviation

lower

lower bound

upper

upper bound

Value

a vector of generated samples

References

Li, Y., & Ghosh, S. K. (2015). Efficient sampling methods for truncated multivariate normal and student-t distributions subject to linear inequality constraints. Journal of Statistical Theory and Practice, 9(4), 712-732.


suchitm/tmvn documentation built on Dec. 10, 2020, 10:25 a.m.