Skip to main content

system.kanoa.quality.spc.rule4(valueList)

Rule 4: Fourteen (or more) points in a row alternate in direction, increasing then decreasing (bimodal, 2 or more factors in data set)


Parameters​

valueList list[float]: A list of values


Returns​

ruleViolation Boolean
resultSet List of Boolean values ruleViolation for each value in the valueList


Example​

valueList = [100, 105, 98, 106, 97, 107, 96, 108, 95, 109, 94, 110, 93, 111]
result = system.kanoa.quality.spc.rule4(valueList)