Description Usage Arguments Details Value Author(s) References See Also Examples
Random variates from the left or right truncated normal distribution are generated. An efficient algorithm based on the inverse CDF method is used. This algorithm can be used to verify empirically the correcntess of the mean and variance computation done by the other function in this package, mvtn.
1 |
n |
number of random variables |
zmu |
mean parameter for normal distribution |
zsig |
standard deviation parameter |
c |
truncation point |
side |
either left or right |
The inverse cdf method is used in the case of the right truncated normal distribution. In the left truncated case, the negative of the corresponding right truncated distribution is used.
the random variates, vector of length n
A. I. McLeod
For further details see the vignette.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.