Implement zscore_outliers(values, threshold=3.0) returning the indices of values whose absolute z-score exceeds threshold. Use the population standard deviation. If the standard deviation is zero, return an empty list.
zi=σxi−xˉ
#statistics#cleaning2 visible + 1 hidden tests
solution.py · Python 3.13
Loading editor…
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit