Question

Now let's use Bayes' theorem and the binomial distribution to address a Bayesian inference question. You...

Now let's use Bayes' theorem and the binomial distribution to address a Bayesian inference question. You toss a bent coin N times, obtaining a sequence of heads and tails. The coin has an unknown bias f of coming up heads. (a) If NH heads have occurred in N tosses, what is the probability distribution of f? Assume a uniform prior P(f) = 1 and make use of the following result: integral 0 to 1 f^a (1 - f)^b df = a!b! / (a + b + 1)! (b) Sketch (or plot) the shape of the probability distribution of f for N = 5 and NH = 2. (c) Now derive a formula for the most probable value of f (the most probable value of f, denoted f ', is the value of f that maximizes the probability distribution in (a)). What is f ' for N = 5 and NH = 2. Hint: maximize log P(f | NH, N) rather than P(f | NH, N).

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Problem 1. Consider independent tosses of the same coin. The probability that the coin will land...
Problem 1. Consider independent tosses of the same coin. The probability that the coin will land on head is p and tails is 1-p. HHTTTTHHTHHHHHHHHTTHHHHHH a. What is the probability of this specific series of tosses (also known as the likelihood of the data)? Assume each toss is independent. (2 pts) b. Is the likelihood greater for p = .6 or p = .7? (1 pt) c. What value of p maximizes the likelihood for n tosses of which k...
Let W be a random variable giving the number of heads minus the number of tails...
Let W be a random variable giving the number of heads minus the number of tails in three independent tosses of an unfair coin where p = P(H) = 1 3 , and q = P(T) = 2 3 . (a) List the elements of the sample space S for the three tosses of the coin and to each sample point assign a value of W. (b) Find P(−1 ≤ W < 1). (c) Draw a graph of the probability...
1             Let X be an accident count that follows the Poisson distribution with parameter of 3....
1             Let X be an accident count that follows the Poisson distribution with parameter of 3. Determine:                                                                                                                                                                                                                            a             E(X)                                                                                                                                                              b             Var(X)                                                                                                                                                          c             the probability of zero accidents in the next 5 time periods                d             the probability that the time until the next accident exceeds n                e             the density function for T, where T is the time until the next accident                                                                                                                                                       2             You draw 5 times from U(0,1). Determine the density function for...
1. Suppose you suspect a coin is biased against tails, and that you decided to conduct...
1. Suppose you suspect a coin is biased against tails, and that you decided to conduct a test of hypothesis by tossing the coin n = 15 times. a. What are the null and the alternative hypotheses? b. What is the rejection region in terms of X = number of tails obtained in the 15 tosses that you need to use so that the level ? of the test is as close as 0.05 (remember your ? needs to be...
Think about the following game: A fair coin is tossed 10 times. Each time the toss...
Think about the following game: A fair coin is tossed 10 times. Each time the toss results in heads, you receive $10; for tails, you get nothing. What is the maximum amount you would pay to play the game? Define a success as a toss that lands on heads. Then the probability of a success is 0.5, and the expected number of successes after 10 tosses is 10(0.5) = 5. Since each success pays $10, the total amount you would...
Sampling Distribution. We will be using some of your knowledge of statistics this semester, so you...
Sampling Distribution. We will be using some of your knowledge of statistics this semester, so you may need to use the resources you were provided in other class(es) and review a few concepts. First, review the meaning of the term "sampling distribution," as defined in your statistics course(s). After looking it up in your statistics sources, read the following: http://onlinestatbook.com/2/sampling_distributions/intro_samp_dist.html Now work on the following problem: I have a random variable that represents the flip of a fair coin. If...
7. Interval estimation of a population proportion Think about the following game: A fair coin is...
7. Interval estimation of a population proportion Think about the following game: A fair coin is tossed 10 times. Each time the toss results in heads, you receive $10; for tails, you get nothing. What is the maximum amount you would pay to play the game? Define a success as a toss that lands on heads. Then the probability of a success is 0.5, and the expected number of successes after 10 tosses is 10(0.5) = 5. Since each success...
1) At a lumber company, shelves are sold inȱȱ5 types of wood, 4 different widths and...
1) At a lumber company, shelves are sold inȱȱ5 types of wood, 4 different widths and 3 different lengths. How many different types of shelves could be ordered? 2) A shirt company has 5 designs each of which can be made with short or long sleeves. There are 4 different colors available. How many differentȱȱshirts are available from this company? Find the indicated probability. Round your answer to 2 decimal places when necessary. 3) A bag contains 6 red marbles,...