[Information - Statistics] Analyzing C9++ and family - a missing equation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Brilliant Dynamite Neon
    nobody fiffers anymore.
    FFR Simfile Author
    • Dec 2006
    • 2440

    #1

    [Information - Statistics] Analyzing C9++ and family - a missing equation

    The most elegant way I can think to phrase this problem is:


    Within a set number X of random drawings, what is the chance of producing results of Y% probability Z times within the set?



    This is critical to analyze the possibilities of "generative" setups in Mafia, like C9++. You don't need to be too knowledgeable about the game to do this (although The Werewolf Game on this forum is an offshoot of it.) I'm just culling an example from it... so that it's clear what I'm talking about.

    http://wiki.mafiascum.net/index.php?titl...

    7 random drawings are made. I want to find out the probability that four out of those seven are Cs (a result which has a 15% chance of being drawn on any given drawing)

    Therefore, in this particular instance:
    X is 7
    Y is 15
    Z is 4

    What is the general equation needed to solve this problem (and what is the answer in this particular instance, if it's not too much trouble)?
    ~ OFFICIALLY RETIRED FROM FFR THE GAME AND FFR TWG ~

    Thanks for the memories, folks. u da bes
  • Guest15937
    One-handed elite
    • May 2008
    • 1464

    #2
    Re: [Information - Statistics] Analyzing C9++ and family - a missing equation

    I believe the formula you are looking for is: Y^Z * (1-Y)^(X-Z) * C(X,Z)

    So in this case, the probability is (0.15^4) * (0.85^3) * 35 = 1.088%.
    The renegade has betrayed me.

    Comment

    • Reincarnate
      x'); DROP TABLE FFR;--
      • Nov 2010
      • 6332

      #3
      Re: [Information - Statistics] Analyzing C9++ and family - a missing equation

      ^this

      Comment

      • Brilliant Dynamite Neon
        nobody fiffers anymore.
        FFR Simfile Author
        • Dec 2006
        • 2440

        #4
        Re: [Information - Statistics] Analyzing C9++ and family - a missing equation

        Is C a form of nCr?

        EDIT: yes it is, just found out. Thanks a lot!
        Last edited by Brilliant Dynamite Neon; 04-17-2014, 05:18 PM.
        ~ OFFICIALLY RETIRED FROM FFR THE GAME AND FFR TWG ~

        Thanks for the memories, folks. u da bes

        Comment

        Working...