Answer:
p is the probability of getting a heads in a toss of a coin.
The prior distribution of p:
1st Question:
p can take two values which is either 0.4 or 0.7. So the answer is the 4th option
2nd Question:
There are 4 coins where p=0.7 and 1 coin where p=0.4. Thus, the probability of p being 0.7 which is given by is
3rd Question.
We need likelihood function in this case:
Now, we differentiate this likelihood with p to get the value of p that maximises this likelihood.
Set this to 0:
Thus, .
4th Question:
We need to find the posterior distribution of p:
Note that I wrote the posterior as proportional to the above product. We can find the normalising factor later. Denote this factor by k.
Now we know, . Thus,
Thus,
The posterior mean then is:
Thus,
Question 5
Comparing the posterior probabilities we get that
Thus,
You have five coins in your pocket. You know a priori that one coin gives heads with probability 0.4, and the other four coins give heads with probability 0.7 You pull out one of the five coins at ra...
Problem 4. Five coins are flipped. The first four coins will land on heads with probability 1/4. The fifth coin is a fair coin. Assume that the results of the flips are independent. Let X be the total number of heads that result Hint: Condition on the last flip. (a) Find P(X2) (b) Determine E[X] S.20
You have in your pocket two coins, one bent (comes up heads with probability 3/4) and one fair (comes up heads with probability 1/2). Not knowing which is which, you choose one at random and toss it. If it comes up heads you guess that it is the biased coin (reasoning that this is the more likely explanation of the observation), and otherwise you guess it is the fair coin. A) What is the probability that your guess is wrong?
4. Setup: Suppose you have observations X1,X2,X3,X4,X5 which are i.i.d. draws from a Gaussian distribution with unknown mean μ and unknown variance σ2. Given Facts: You are given the following: 15∑i=15Xi=0.90,15∑i=15X2i=1.31 Bookmark this page Setup: Suppose you have observations X1, X2, X3, X4, X5 which are i.i.d. draws from a Gaussian distribution with unknown mean u and unknown variance o? Given Facts: You are given the following: x=030, =1:1 Choose a test 1 point possible (graded, results hidden) To test...