Standard Error
Return the standard error of the mean of sample: its standard deviation (the one that divides by n - 1) divided by the square root of n.
Example 1
sample [2,4,4,4,5,5,7,9]
returns 0.7559289460184544
Example 2
sample [1,3]
returns 1.0
The standard deviation of 1 and 3 is 1.41, and dividing by the square root of 2 gives 1.
Constraints
2 <= len(sample) <= 60
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More SciPy problems
- Standard ScoresBeginner
- The ModeBeginner
- Which Way It LeansBeginner
- At Least K WinsEasy
- Best Fit LineEasy
- Calls in an HourEasy
- Chance BetweenEasy
- Cutoff for the TopEasy