compute the posterior for a Binomial likelihood and Normal prior – with chosen mean and variance – in the case of the coin toss experiment. So to be precise, you are computing the posterior of the parameter p, which is the probability for a Heads to turn up in a throw of an unfair coin, where the posterior is computed given the simulated data that comprises 4 data points, with chosen values of number of heads (M) that show up at chosen number of throws (N). You can choose your own values of M and N. Plot the posterior of p given this data, against p, where your p should vary from 0 to 1 in steps of .05 or any other chosen step-width. Make these plots for different choices of N and M; for different choices of prior means; for different choices of prior variances.
6 freelancer chào giá trung bình$28 cho công việc này
How are you? a pleasure to greet you. I am a data scientist, an EXPERT in statistics and probability. I can solve your project, write me so we can talk about it. I handle R and Python for statistics very well