Skip to content
DeepForgeby svx
All problems
EasyStatisticsst-337

Range Rule of Thumb Sigma

Problem

The range rule of thumb estimates the standard deviation as (max - min) / 4 for roughly bell-shaped data.

Given the sample values, return the estimate.

Hint

Divide the range by four.

Test cases

case 1
in: [[10,20]]
expected: 2.5
case 2
in: [[-4,4]]
expected: 2
case 3
in: [[5,5,5]]
expected: 0
Starter codePython
def range_rule_of_thumb_sigma(values):
    # Your code here
    pass

3 test cases · run your code against them in the editor