truncnorm icon indicating copy to clipboard operation
truncnorm copied to clipboard

Density, probability, quantile and random number generation functions for the truncated normal distribution.

Results 9 truncnorm issues
Sort by recently updated
recently updated
newest added

Hi, It seems that `etruncnorm` does not calculate the expectation correctly. Example: ``` > etruncnorm(0, 1, 2, 0.1) [1] 0.5 > etruncnorm2

I'm having troubles where `dtruncnorm()` returns zero. I'm wondering two things: 1. If there can be a log=TRUE option 2. If so, if you could improve numeric stability by computing...

Flagged by `-Wunused-variable`

Hi, `vtruncnorm` returns `Inf` for some parameters. Example: ``` > vtruncnorm(0, 1, 1, .1) [1] Inf > vtruncnorm2

It looks like truncnorm `R (>= 3.4.0)` requirement is overly stringent https://travis-ci.com/muschellij2/truncnorm (Linux and OSX) and https://ci.appveyor.com/project/muschellij2/truncnorm (checking on Windows). This can be checked on Travis and Appveyor. Fixes #1

Hi, Do you have any suggestions on how to extend this package to incorporate a normal distribution which is truncated in the middle? That is, the support is _(-inf,a]_ and...

enhancement

Hi, I wish to generate random numbers using truncnorm. While specifiying the mean and standard deviation for the distribution from which I wanted to generate, I want to confirm whether...

Hello. I have the following error message when attempting to install truncnorm through Anaconda. There is a similar message when I attempt to use any of the other conda channels...

It is unclear whether the boundaries are excluded/open or, if finite, included/closed in the set of values that might be generated by the random generator. While generating a random value...