Mean[edit]

The expression for the mean is given as: . This must be incorrect, because it sometimes gives mean values outside the truncation bounds. For example, , , , gives a mean of 1.53. I believe the correct expression is . Agreed? Jtmcg1128 (talk) 18:03, 13 October 2011 (UTC)Reply[reply]

Regarding the pdf[edit]

The correct Density function is this one . This function is both positive and integrates to 1 (because of change of variables, ). The incorrect version, listed above, integrates to .Iwaterpolo (talk) 01:57, 3 June 2010 (UTC)Reply[reply]

Interactive calculators[edit]

Entropy formula[edit]

Appears to be wrong. The values from the formula don't agree with numerical computation of of the entropy. I derived the case for a one-sided truncated normal, and that differs from this case, but I haven't had time to go back and derive the two-sided case. Would be nice if someone can track down a reference for this or find the correct formula. --Jpillow (talk) 17:20, 12 January 2012 (UTC)Reply[reply]

Simulation[edit]

The simulation section appears to be wrong/misleading. I understand the formula as basically simulating rejecting sampling by basically drawing uniformly from the lower and upper bounds of the CDF of the non-truncated normal (with appropriate parameters), then inverting to obtain the actual value. However, in this case the use of is misleading because it is referring to the CDF of the normal distribution with parameters instead of the standard normal.

There are several ways to resolve, this, but I feel that the following would be easiest. Note that using with the standard normal CDF instead of would require the result to be multiplied by then added to .

A random variate x defined as with the CDF of a normal distribution with mean and variance , and its inverse, a uniform random number on , follows the distribution truncated to the range .

Heheman3000 (talk) 23:42, 29 December 2012 (UTC)Reply[reply]


Heheman3000, yes it was incorrect. I changed it a couple months back. Mguggis (talk) 23:29, 31 July 2013 (UTC)Reply[reply]