pub struct LaneyAttributePoint {
pub index: usize,
pub value: f64,
pub ucl: f64,
pub cl: f64,
pub lcl: f64,
pub out_of_control: bool,
pub z: Option<f64>,
}Expand description
A single data point for a Laney P’ or U’ chart.
Laney charts correct for overdispersion or underdispersion by estimating a process sigma-inflation factor φ from the moving range of standardized subgroup statistics.
§References
- Laney, D.B. (2002). “Improved control charts for attributes”, Quality Engineering 14(4), pp. 531-537.
Fields§
§index: usizeZero-based index of this subgroup.
value: f64The observed statistic (proportion or defect rate) for this subgroup.
ucl: f64Upper control limit (overdispersion-adjusted).
cl: f64Center line (overall mean proportion or rate).
lcl: f64Lower control limit (overdispersion-adjusted, clamped to 0).
out_of_control: boolWhether this point lies beyond its control limits.
z: Option<f64>The point on the standardized scale, (value − cl) / (φ·σᵢ) — the
scale on which every limit is ±3. None when φ·σᵢ is 0. See
AttributeChartPoint::z for using it with zone-based run rules.
Trait Implementations§
Source§impl Clone for LaneyAttributePoint
impl Clone for LaneyAttributePoint
Auto Trait Implementations§
impl Freeze for LaneyAttributePoint
impl RefUnwindSafe for LaneyAttributePoint
impl Send for LaneyAttributePoint
impl Sync for LaneyAttributePoint
impl Unpin for LaneyAttributePoint
impl UnsafeUnpin for LaneyAttributePoint
impl UnwindSafe for LaneyAttributePoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more