system.kanoa.quality.spc.rule7(valueList, mean, sigma)
Rule 7: Fifteen points in a row are all within 1 standard deviation of the mean on either side of the mean (reduced variation or measurement issue)
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 = [99, 101, 98, 102, 100, 103, 97, 104, 96, 105, 99, 101, 98, 102, 100]
mean = 100
sigma = 5
result = system.kanoa.quality.spc.rule7(valueList, mean, sigma)