Sort by

recency

|

8 Discussions

|

  • + 0 comments

    It’s interesting to see how adding a constant to every value doesn’t change the standard deviation, just the mean. Great reminder for anyone working with distributions and transformations. Unblocked Games

  • + 0 comments

    SD[X] = sqrt(expectation[(X-mean)**2]) if every X is added 10 units, the mean will be 45 (prev mean) + 10. So the new SD[X]: SD[X+10] = sqrt(expectation[(X+10-(mean+10))**2]) = sqrt(expectation[(X-mean))**2]) = SD[X] (old std.dev)

  • + 0 comments

    original_sd = 10 new_sd = original_sd print(f"{new_sd:1f}")

  • + 0 comments

    The checker is broken. It accepts 9.9 and 10.1 values, while none of them are actually correct.

  • + 0 comments
    import numpy as np
    np.random.seed(0)
    scores = np.random.normal(loc=45, scale=10, size=500) + 10
    s = np.std(scores)
    print(f'{s:0.1f}')