emblem
Sum of truncated Gaussians
Simulates (Monte Carlo) the sum of several truncated Gaussian variables.
2024.Jul.03 12:37:17
μ [X] (Original) vector of means for the variables. •
σ [X] (") Vector of st. dev.s. •
a [X] Vector of truncation lower limits. •
b [X] Vector of truncation upper limits. •
plow, pupp % Quantiles. •
N, .seed 10 ^ No. of items ("lot size"), random no. gener. seed. •
tol, klass Tolerance, n. of histogram classes. •
Show values Shows the coordinates of the graph. •

Simulates, via Monte Carlo, the sum of truncated Gaussians, from n Gaussians with parameters μi and σi truncated out of the interval (ai, bi), i = 1..n. 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,). (For continuous variables, '<' and '≤' are interchangeable.)

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

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

References: Plate: SumTrGauss

• "Calibrafruta", Leiria (Portugal).

• Google "truncated normal"

• 1858-04-23: Planck, Max Karl Ernst Ludwig (1947-10-04).

 
 
Valid HTML 4.01! IST http://web.tecnico.ulisboa.pt/~mcasquilho/compute/or/Fx-simSumTrGauss.php
Created: 2017-04-23 — Last modified: 2017-04-24