Beta

Standard deviation and the law of large numbers

Description
Loading description...
Statistics
Algorithms
View
AllIssues3QuestionsSuggestionsShow Resolved
  • Please sign in or sign up to leave a comment.
  • Voile Avatar

    The law of large numbers states that as the sample grows in size the percentage of numbers falling within the standard deviation of the sample nears 68.2%

    Problem is, the description is talking about the sample standard deviation, while the kata expects population standard deviation, which are different things.

  • gabbek Avatar

    Nice kata :) Random tests needed. If you would need some help I'm always glad to help out.

    • DavMor Avatar

      That will be great thanks very much for the offer! I've made it available to contributors.

  • dcsmith Avatar

    The tests are using Test.expect(bool, msg) which simply expects bool to be truthy, which allows my solution to pass ;)

    You want to change it to Test.assertEquals(actual, expected, msg)