pub struct WesternElectricRules;Expand description
Western Electric rules (4 rules).
A subset of Nelson’s rules, these are the original run tests from the Western Electric Statistical Quality Control Handbook (1956):
- Any point beyond 3 sigma (Nelson Rule 1)
- 2 of 3 consecutive points beyond 2 sigma, same side (Nelson Rule 5)
- 4 of 5 consecutive points beyond 1 sigma, same side (Nelson Rule 6)
- 9 consecutive points on the same side of center line (Nelson Rule 2)
Trait Implementations§
Source§impl RunRule for WesternElectricRules
impl RunRule for WesternElectricRules
Source§fn check(
&self,
points: &[ChartPoint],
limits: &ControlLimits,
) -> Vec<(usize, ViolationType)>
fn check( &self, points: &[ChartPoint], limits: &ControlLimits, ) -> Vec<(usize, ViolationType)>
Apply the 4 Western Electric run rules.
These correspond to Nelson Rules 1, 2, 5, and 6.
Auto Trait Implementations§
impl Freeze for WesternElectricRules
impl RefUnwindSafe for WesternElectricRules
impl Send for WesternElectricRules
impl Sync for WesternElectricRules
impl Unpin for WesternElectricRules
impl UnwindSafe for WesternElectricRules
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