Handles a sample (supposedly
from a lot) and applies the international standard for
Acceptance Sampling by Variables, double specification limits,
in order to determine whether the lot from which the sample was drawn
is to be Accepted (Ac) or Rejected (Re).
The default data are from Schilling and Neubauer
(2.nd ed., p 289, or 3.rd ed., p 317).
Applies the (Python)
'incomplete beta probability distribution' to convert the
quality index, Q, into the
estimated percent defective, p.
Alternative sample data can be used. If the sample size
is not standard, the last data are discarded.
Draws a plot of the data with the lines for the
specification limits L and U.
Computation structure — A PHP file
(this page: 'P.testsample.php') calls (via
'action=...') an intermediate PHP file ('Testsample.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.
Files involved:
P.testsample.php (this one),
Testsample.php,
testsample.py.
Keywords: acceptance sampling;
sampling by variables; web computing; incomplete beta distribution;
ICQEM 2026.
|