SpcConstants
data class SpcConstants(val a2: Double, val a3: Double, val d3: Double, val d4: Double, val b3: Double, val b4: Double, val c4: Double)(source)
Standard Statistical Process Control (SPC) constants for a given subgroup size.
These constants are used to compute control limits for x-bar, R, and S control charts. They are derived from the sampling distribution of the range and standard deviation of normally distributed data. Values are tabulated for subgroup sizes 2 through 25.
Example:
val c = spcConstants(5)
c.a2 // 0.577 — used for x̄-R chart limits
c.a3 // 1.427 — used for x̄-S chart limits
c.c4 // 0.9400 — bias-correction factor for sample standard deviationContent copied to clipboard