# 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<br />
**mean** `Float`: Mean value of the valueList<br />
**sigma** `Float`: Standard deviation of the valueList values<br />

---
### Returns
**ruleViolation** `Boolean`<br />
**resultSet** `List of Boolean values` ruleViolation for each value in the valueList<br />

---
### Example
```python
valueList = [98, 112, 111, 102, 99]
mean = 100
sigma = 5
result = system.kanoa.quality.spc.rule5(valueList, mean, sigma)
```
