
% (1-4)
figure(1);
compareBayes(10);
title('Bayes, n=10');
print -deps hw5prob1_fig1.eps;

figure(2);
compareBayes(50);
title('Bayes, n=50');
print -deps hw5prob1_fig2.eps;

% (1-5)
figure(3);
compareBIC(10);
title('BIC, n=10');
print -deps hw5prob1_fig3.eps;

figure(4);
compareBIC(50);
title('BIC, n=50');
print -deps hw5prob1_fig4.eps;
