I have this problem that i am doing, but i am having a major blank of how to move forward with this question. As it is I have calculated this joint probability table where n=5:

πPriorY=0Y=1Y=2Y=3Y=4Y=5Posterior0.300.10.0168 0.0360 0.0309 0.0132 0.0028 0.0002 0.11310.450.20.0100 0.0412 0.0674 0.0552 0.0226 0.0038 0.24680.550.30.0057 0.0339 0.0828 0.1011 0.0618 0.0150 0.30320.600.40.0040 0.0308 0.0920 0.1384 0.1036 0.0312 0.33690.03650.14190.27310.30790.19080.0502

And also this table with the calculation for the posterior probabilities given that we have observed y=2:

πPriorLikelihoodPrior*LikelihoodPosterior0.300.10.3090.03090.11310.450.20.3370.06740.24680.550.30.2760.08280.30320.600.40.2300.09200.33690.2731

It has then stated that- the likelihood is proportional to π^y.(1-π)^n-y where n=5 and y=2. Redo the calculations using that likelihood.

πPriorLikelihoodPrior*LikelihoodPosterior0.300.450.550.60

Any help with how to go about this would be greatly appreciated