system.kanoa.quality.spc.rule5(valueList, mean, sigma)
Rule 5: Two (or three) out of three points in a row are more than 2 standard deviations from the mean in the same direction (shift)
Parameters
valueList list[float]: A list of values
mean Float: mean value of the valueList
sigma Float: Standard deviation of the valueList values
Returns
ruleViolation Boolean
resultSet list[bool] ruleViolation for each value in the valueList
Example