We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Artificial Intelligence
- Probability & Statistics - Foundations
- Day 1: Standard Deviation Puzzles #1
- Discussions
Day 1: Standard Deviation Puzzles #1
Day 1: Standard Deviation Puzzles #1
Sort by
recency
|
22 Discussions
|
Please Login in order to post a comment
I got 2.94 if I run the code in VScode, but I got Runtime error when I submitted it. What was the error?
I get 2.98, but the answer is wrong.
Althoug std of [1.0, 2.0, 3.0, 2.98] is the same as std of [1,2,3], which is 0.82 (rounded to 2 decimal places, as decribed)
What am I missing?
x1 = 1, x2 = 2, x3 = 3, x4 = ?
Original stats
E0 = sum(xi) / 3, i=1..3 => E0 = 2
VAR0 = sum(xi - E0)^2 / 3, i=1..3 => VAR0 = 0.6(6)
Unknown stats
E1 = (3E0 + x4) / 4 = (x4 + 6) / 4
VAR1 = sum(xi - E1)^2 / 4 = (3x4^2 + 12x4 + 20) / 16
IF VAR0 == VAR1:
x4 = 1.06 OR x4 = 2.94
What is the input format?