• HeavenlySpoon@ttrpg.network
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    What? That’s not what independence means. They need to be independent, yes, because otherwise you might get into weird corner cases where the probably doesn’t converge to 1, but they don’t have to be equally likely. In fact, weighing the odds based on how often letters are used by Shakespeare should lower the expected timeframe. Heck, Shakespeare doesn’t use “J”, why would that key even be relevant? Where in the world do normal distributions even come into this? How does this comment have 4 upvotes? What am I missing here?

    • whotookkarl@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

      Those are some of the conditions necessary for the probability calculation to result in a non zero chance of writing the works of Shakespeare. From the article:

      Consider the probability of typing the word banana on a typewriter with 50 keys. Suppose that the keys are pressed independently and uniformly at random, meaning that each key has an equal chance of being pressed regardless of what keys had been pressed previously. The chance that the first letter typed is ‘b’ is 1/50, and the chance that the second letter typed is ‘a’ is also 1/50, and so on. Therefore, the probability of the first six letters spelling banana is:

      (1/50) × (1/50) × (1/50) × (1/50) × (1/50) × (1/50) = (1/50)6 = 1/15,625,000,000.

      The result is less than one in 15 billion, but not zero.

      But if they weren’t independent, say every time a monkey hits b their lack of fine motor skills causes them to also hit yhb all together, then even infinite monkeys with infinite time wouldn’t be able to type banana. Or if after hitting b they keep hitting b and ignore all the other keys they would never type banana. Evenly distributed just makes sure they can hit every key, it can take some unevenness like you mentioned j and some other letters come up very rarely. But if they never hit a or e you’re never going to get Hamlet.