DEQ
Test your sample
Performs acceptance by variables
2026.Apr.17 13:08:39
Sample Data (row).
Specs: L, U Lower and upper specification limits.
AQL's Acceptable Quality Limits.
Show values Show graph coordinates.

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.

References: Plate: AcceptByVars

• (Wikipedia) Acceptance sampling

• Schilling, Edward G., and Dean V. Neubauer, "Acceptance Sampling in Quality Control": 2.nd ed., 2009, CRC Press, Taylor & Francis, ISBN 978-1-58488-952-6; 3.rd ed., 2017, CRC Press, Taylor & Francis, ISBN 9781498733571, https://lccn.loc.gov/2016039621.

• Python scipy.special.betainc, "Regularized incomplete beta function" (accessed 2026-03-11).

• Unicode symbols • "Color Names"

• ICQEM'2026, 7.th International Conference on Quality Engineering and Management, Lisbon, (Portugal), 02–03 July 2026.

• 1811-03-11: Le Verrier, Urbain Jean Joseph (†1877-09-23, 66 yrs.).

 
 
Valid HTML 5! IST http://web.ist.utl.pt/~mcasquilho/compute/icqem2026/accByVars/P.testsample.php
Created: 2026-03-11 — Last modified: 2026-03-17