https://xcancel.com/NateSilver538/status/1853673781350260902

  • NonWonderDog [he/him]
    ·
    3 hours ago

    Can someone explain to me why the hell he’s ever needed a monte-carlo analysis? The margin of error is gaussian, and it’s not like it’s running up against zero bounds when it’s 50/50, so why isn’t it just a linear equation?

    It’s just a linear equation, right? He does a monte-carlo so he can brag about running 80,000 simulations, not for any good reason, right?

  • CascadeOfLight [he/him]
    ·
    4 hours ago

    After viewing thousands of possible futures, the only timelines where Kamala wins are ones where she hands Dick Cheney an Infinity Cabinet Post and lets him turn half the Democrats into dust.

  • kleeon [he/him, he/him]
    ·
    8 hours ago

    the simulation in question:

    for (int i = 0; i < 80000; i++) {
       if (rand() % 2 == 0) {
          printf("Kamala wins\n");
       }
       else {
          printf("Trump wins\n");
       }
    }
    
    • Hexboare [they/them]
      ·
      4 hours ago

      I'm guessing it literally is a few lines in R, plugging in the polling data after running it through a "model" (i.e. tinkering with the variables based on how polls have historically translated into votes)

    • merthyr1831@lemmy.ml
      ·
      5 hours ago

      huh, the sync for Lemmy code block renderer doesn't show the \ even within the code block 👁️👁️

    • carpoftruth [any, any]
      ·
      6 hours ago

      could you please input that into chatgpt so it will give me a summary of the code output? I'm a busy data driven guy so I don't have time for the details. however, I do have time for this post

    • plinky [he/him]
      ·
      edit-2
      5 hours ago

      Seems lots of unnecessary mods tbh,

      S=0

      for i in 1:80000

      S+=rand()

      end

      ceil(S)

      • naom3 [she/her]
        ·
        4 hours ago

        Modding by 2 is just a bitwise operation tho

        • plinky [he/him]
          ·
          edit-2
          3 hours ago

          Gotta dump results in some accumulate tho, and if then logic might be eh (although with branch prediction it might be auto 2 threads actually soviet-hmm or similar utilization at least)

    • SSJ3Marx [he/him]
      ·
      7 hours ago

      Hey! I understood that! That Python class must've taught me something after all.

  • axont [she/her, comrade/them]
    ·
    8 hours ago

    I ran 80,000 simulations of me taking a poop

    In 40,000 of them, shit ran down my ballsack and then I had shit on my balls.

  • Awoo [she/her]
    ·
    9 hours ago

    "We flipped a coin 80,000 times and it landed on Heads 40,012 times"

    • carpoftruth [any, any]
      ·
      5 hours ago

      stochastic modeling is the key word for this type of modeling if you actually care. that kind of thing is used for all kinds of stuff - weather, climate, ecology, river flows, economics

    • FunkyStuff [he/him]
      ·
      9 hours ago

      Take polling data then randomly roll for some error within the margin of error for each state. Then adjust based on bias. Do this n times and get your prediction.

      • loathsome dongeater@lemmygrad.ml
        ·
        9 hours ago

        Is there a point to this? From the tweet it doesn't give new information. It just reaffirms that three contest will be close which everyone knew.

        • Hexboare [they/them]
          ·
          4 hours ago

          Yes, it's possible that despite close in polls, the margin of error would favour one candidate being more likely to win.

          "Everyone knows" something until there's evidence to the contrary.

          The polls and outcome could still be wrong if something unexpected happens, like if all the people who don't usually vote decide this is the most important election and vote for the first and only time in their life.

        • FunkyStuff [he/him]
          ·
          9 hours ago

          They didn't get a certain answer so it was useless this time, but if it had turned out that somehow one candidate won a supermajority of simulations then you got useful information. Can't know unless you ask.

        • Eris235 [undecided]
          ·
          9 hours ago

          There is utility in some cases; there's correlations between polling and areas, and the electoral college makes it all complicated (by design)

          But, like, here? No, no practical difference between any of the 'models' all showing some variation of 'its a toss up'