©
Sigma, σ, from sums of unequal size samples
Estimates μ and σ from sums of unequal size samples (simulation).
2024.Jul.03 20:39:51
n Sample (lot) sizes, nt, t = 1..T. •
μ, σ (kg)   (Gaussian) Parameters for the item (e.g., bag weight). •
Trials, points   seed N. of trials, graph points, and RNG seed. •
'Range' For graph (0 – range × std). •
Show values Show the graph coordinates.

Estimates the mean and the standard deviation, μ, σ, of a (Gaussian) random variable from sums of the values of unequal size samples. (The summands are assumed not known.) A typical case are trucks of different sizes loaded with bags, the bag being the item with random weight. (The base data are inspired in real bags of fertilizers.)

Simulated values are used, from a Gaussian with given parameters mean and standard deviation, μ and σ. (Here, the values are weights of bags or other additive values.)

There are T samples ("T" as in "truck"), and the sample sizes are ni, i = 1..T, in the given vector n. (The samples are, indeed, commercial batches or lots.)

The estimation of μ and σ through maximum likelihood gives:

bigN weights average estMu estVar

Note that the last two formulas must be understood as applying to each record, i.e., each set of n (above) sums ("weighings"), as interests the practician. For the simulation, each record contributes with its variance, and from the average, a, of all these variances we finally get: σ^ = √[N a ⁄(T − 1)]. (This is, of course, dimensionally homogeneous.)

The procedure estimates (trivial) μ and σ from a set of experimental data that are here simulated, but which routinely exist in many industries.

The computation being lengthy, if the number of trials is excessive (for the total lot sizes), it is reduced (trials × N ≤ 108).

Draws a plot of f, the 'pdf', and F, the 'cdf', of the variable simulated: and weighted average (around μ).

References: Plate: BagSigmaSumUneq

• Google search: "different sample size" -unequal; "unequal sample size" -different

• Ficha de adubo.pdf (product sheet) (ADP fertilizantes, SA, "fertilizers"). (SAPEC; Tradecorp)

• 1781-10-05: Bolzano, Bernard Placidus Johann Nepomuk († 1848-12-18).

 
 
Valid HTML 4.01! IST http://web.ist.utl.pt/~ist11038/compute/qc/Fx-Bag_sigmaSumUneq.php
Created: 2019-10-05 — Last modified: 2019-10-30