Skip to main content

system.kanoa.quality.spc.rule8(valueList, mean, sigma)

Rule 8: Eight points in a row exist with none within 1 standard deviation of the mean and the points are in both directions from the mean (bimodal, 2 or more factors in data set)


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 of Boolean values ruleViolation for each value in the valueList


Example

valueList = [92, 108, 91, 109, 93, 107, 94, 106]
mean = 100
sigma = 5
result = system.kanoa.quality.spc.rule8(valueList, mean, sigma)