Sample ('csv' Amer. or Euro.) |
|
From a sample from a
Gaussian population, decides to accept or reject
the source population.
The procedure performs the acceptance sampling routine
as established in the Standard Mil-Std-414 or subsequent Standards.
It uses "Form 2", which compares the estimated fraction defectives
pL and pU
(or ϖ* instead of p), and compares them
with their maximum values (ML, MU)
in the Standard.
Draws a graph of the sample values, together with
±3 s limits. The base problem leads to a decision to
reject.
From N to n: Table A-2, then from 'sample letter' to
sample size, Table B-1.
The sample sizes used here (from Mil-Std-414) are:
5, 10, 15, 20, 25, 30, 50, and 75.
*This is not an 'ω', but a variant of
'π', for "proportion".
Computation structure — A PHP file
(this page: 'P-acceptSampling.php') calls
(via 'action=') an intermediate PHP file ('AcceptanceSampling.php'),
which (through $_POST) sends the problem data
as command line arguments to a Python script.
This last does the computing, and makes 'system' call(s)
to 'gnuplot', for the final (temporary) webpage.
Keywords: PHP, command line arguments,
Python script, gnuplot. |
• (Wikipedia) PHP (from Personal Home Page)
• Python (programming language). Python as glue. Using Python as glue
• 'gnuplot'
• Example B4
(from Mil-Std-414) Sample: 197, 188, 184, 205, 201
with specs (180, 209); AQL_L, AQL_U = 2.5%, 1%.
• CISTI'2023, 18.ª
Conferência Ibérica de Sistemas e Tecnologias de Informação
(18.th Iberian Conference on Information Systems and
Technologies), Aveiro (Portugal), 20–23 June 2023.
• 1804-10-04: Weber, Wilhelm Eduard
(†1891-06-23, 86 yrs.). |