Probability

This is a discussion on Probability within the General Discussions forums, part of the Community Boards category; it's been far too long since I've done real math... someone give me a hand here. I have n samples ...

  1. #1
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640

    Probability

    it's been far too long since I've done real math... someone give me a hand here.

    I have n samples of three options: 1, 2, 3.

    What is the probability that I get a majority decision? (roof(n/2) of the same value), assuming each value has equal probability of being chosen.

    I'm really only interested in n = 1..6, but a closed form solution would be nice.

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,208
    I think you should look at binomial distribution. For example let success denote that a 1 is chosen which gives that p=1/3. This should give you a nice start at least.

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    ah-ha! I was missing the (1-p) portion in my formulation which why it wasn't quite right. Thanks Shakti!

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    1,208
    Nice to see that i have some use for my course in mathematical statistics I just finished

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to execute a function with a certain probability
    By siddhabathula in forum C Programming
    Replies: 4
    Last Post: 09-10-2010, 07:56 PM
  2. Probability estimation
    By Mario F. in forum General Discussions
    Replies: 3
    Last Post: 09-18-2009, 08:40 AM
  3. keeping stats - probability
    By -JM in forum C++ Programming
    Replies: 6
    Last Post: 08-20-2005, 09:52 AM
  4. 0% probability == impossible?
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 49
    Last Post: 09-01-2003, 03:48 PM
  5. Assigning probability
    By dalek in forum C++ Programming
    Replies: 3
    Last Post: 08-17-2003, 08:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21