emblem
Truncated Gaussian
Simulates (Monte Carlo) a truncated Gaussian variable. (SPE 2011 Nazaré/pt)
2024.Nov.25 05:43:00
μ, σ [X] Original mean and st. dev. for the variable, X.
xa, xb [X]   (xa < x < xb) Truncation xa (min) and xb (max). •
plow, pupp % Quantiles. •
N, .seed 10 ^ No. of items ("lot size"), random no. gener. seed. •
tol, klass Tolerance, no. of histogram classes. •
Show values Shows the coordinates of the graph. •

Simulates, via Monte Carlo, a truncated Gaussian random variable, from a Gaussian with parameters μ and σ truncated out of the interval (xa, xb). From the quantiles, plow and pupp, are computed xlow and xupp, such that Pr(xlow < X < xupp) = puppplow = 90% (this value for the basis data,). (Remember that, for continuous variables, '<' and '≤' are interchangeable.)

(Tolerance is for the inversion of the Gaussian distribution.)

Several theoretical and simulated results are given, and a plot is shown for the (simulated) 'pdf' and 'cdf'.

References: Plate: TruncGaussian

• "Calibrafruta", Leiria (Portugal).

• Google "truncated normal"

• 1833-05-05: Fuchs, Lazarus Immanuel (1902-04-26).

 
 
Valid HTML 4.01! IST http://web.ist.utl.pt/~mcasquilho/compute/or/Fx-simtrGauss.php
Created: 2011-05-05 — Last modified: 2017-04-23