+ Reply to Thread
Results 1 to 3 of 3

Thread: Which Formula do I Need?

  1. #1
    Points: 10, Level: 1
    Level completed: 19%, Points required for next Level: 40

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Which Formula do I Need?




    Hi, I've been scouring the internet for answers but I have very little knowledge when it comes to probability so I need help.

    I have 10 trials, each with a different probability of success. I need to figure out the probability of at least 5 successes out of these 10 trials. Which formula do I need to get this answer?

  2. #2
    Devorador de queso
    Points: 95,983, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,938
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    Re: Which Formula do I Need?

    You're just going to need to brute force it. There are ways to get software to do this for you but if they really do all have different probabilities of success then the only way to do it is to write out all the possible ways to get at least 5 successes, the probability associated with each of those, and then add all of those probabilities together.

    You can simplify this by doing things iteratively. Basically if you have the distribution for the number of successes when only looking at k trials then getting the distribution for looking at k+1 trials isn't too bad (think about the logic that would go into this). With this kind of thinking you could program it up in excel fairly easily. Otherwise if you're open to using other software I wrote a package in R that could do some stuff like this fairly easily.
    I don't have emotions and sometimes that makes me very sad.

  3. #3
    Points: 10, Level: 1
    Level completed: 19%, Points required for next Level: 40

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Which Formula do I Need?


    OK I will try brute forcing it in excel but just in case I find it impractical for my uses maybe I'll try your solution in R. If you could provide me that package it would be greatly appreciated.

+ Reply to Thread

           




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats