# system.kanoa.quality.spc.rule6(valueList, mean, sigma)

Rule 6: Four (or five) out of five points in a row are more than 1 standard deviation from the mean in the same direction (shift or trend)

---
### 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, 106, 107, 108, 106]
mean = 100
sigma = 5
result = system.kanoa.quality.spc.rule6(valueList, mean, sigma)
```
