+ Reply to Thread
Results 1 to 6 of 6

Thread: Bayesian exercise

  1. #1
    Points: 3,119, Level: 34
    Level completed: 46%, Points required for next Level: 81

    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Bayesian exercise




    -2
    down vote
    favorite
    I cant get my head round the following exercise:

    You are testing dice for a casino to make sure that sixes do not come up more frequently than expected. Because you do not want to manually roll dice all day, you design a machine to roll a die repeatedly and record the number of sixes that come face up. In order to do a Bayesian analysis to test the hypothesis that p = 1/6 versus p = .175 , you set the machine to roll the die 6000 times. When you come back at the end of the day, you discover to your horror that the machine was unable to count higher than 999. The machine says that 999 sixes occurred. Given a prior probability of 0.8 placed on the hypothesis p = 1/6 , what is the posterior probability that the die is fair, given the censored data? Hint - to find the probability that at least x sixes occurred in N trials with proportion p (which is the likelihood in this problem), use the R command :

    1-pbinom(x-1,N,p)

    The possible answers are 0.5, 0.684, 0.8 or 0.881.

    I would really appreciate if someone could help me here! I need to understand this approach!

    Cheers and thanks in advance! Markus

  2. #2
    Omega Contributor
    Points: 38,413, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    7,004
    Thanks
    398
    Thanked 1,186 Times in 1,147 Posts

    Re: Bayesian exercise

    Yeah, they provide a lot of jumbled up text. Big picture:


    posterior probability = prior probability * likelihood of outcome.
    Stop cowardice, ban guns!

  3. #3
    Devorador de queso
    Points: 95,940, 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,937
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    Re: Bayesian exercise

    Quote Originally Posted by hlsmith View Post
    Yeah, they provide a lot of jumbled up text. Big picture:


    posterior probability = prior probability * likelihood of outcome.
    That's not quite correct. The posterior is proportional to prior*likelihood but it isn't an equality unless you divide by the probability of the data.
    I don't have emotions and sometimes that makes me very sad.

  4. #4
    Fortran must die
    Points: 58,790, Level: 100
    Level completed: 0%, Points required for next Level: 0
    noetsi's Avatar
    Posts
    6,532
    Thanks
    692
    Thanked 915 Times in 874 Posts

    Re: Bayesian exercise

    Most of Bayes exercise consisted of shooting pool...

    what is the likelihood...a probability, an estimator?
    "Very few theories have been abandoned because they were found to be invalid on the basis of empirical evidence...." Spanos, 1995

  5. #5
    Omega Contributor
    Points: 38,413, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    7,004
    Thanks
    398
    Thanked 1,186 Times in 1,147 Posts

    Re: Bayesian exercise

    Dason, please make the Purdy open infinity sign (proportionality) for me and I will correct all that is wrong


    Thanks.
    Stop cowardice, ban guns!

  6. #6
    Devorador de queso
    Points: 95,940, 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,937
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    Re: Bayesian exercise


    \propto \hspace{1cm}
    I don't have emotions and sometimes that makes me very sad.

+ Reply to Thread

           




Tags for this 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