% parameters \theta >0.5 are more likely than parameters \theta <0.5:
close all;
x = 0:0.001:1;
figure;
area(x,betapdf(x,5,2));
axis([-0.25 1.25 0 5]); xlabel('\theta');ylabel('p(\theta)');title('prior');
