1. Math
2. Statistics And Probability
3. matlab notes b find likelihood for each sequence 19 for...

# Question: matlab notes b find likelihood for each sequence 19 for...

###### Question details
MATLAB

Notes: B)
Find likelihood for each sequence 1-9 for each hypothesis.
First hypothesis with the fair coin (theta value = 0.5): what is the probability that we can get each sequence, 1 through 9.
Second hypothesis with weighted coin(don’t know theta value): what is likelihood of getting sequence 1 through 9. Using equation to find all possible hundred theta values. For each theta value we need to compute likelihood.
Then we sum them up across all possible theta values. Then we get likelihood under the second hypothesis