| 23 | | plot((true_theta' *ones(1,ndat))','-.'); |
| 24 | | title(' Regression parameters \theta') |
| 25 | | hold on |
| 26 | | plot(M.mean_theta(1:ndat,:)); |
| 27 | | co = get(gca,'ColorOrder'); |
| 28 | | for i=1:size(M.mean_theta,2) |
| 29 | | ind =1:10:ndat; |
| 30 | | h=errorbar(ind,M.mean_theta(ind,i),... |
| 31 | | M.mean_theta(ind,i)-M.lb_theta(ind,i),M.mean_theta(ind,i)-M.ub_theta(ind,i),'.'); |
| 32 | | set(h,'color',co(i,:)); |
| 33 | | end |
| 34 | | |
| | 23 | plotestimates(true_theta, ... |
| | 24 | M.Est0_apost_mean_theta, ... |
| | 25 | M.Est0_apost_lb_theta, ... |
| | 26 | M.Est0_apost_ub_theta); |
| 41 | | hold on |
| 42 | | plot(M.mean_r(1:ndat,:)); |
| 43 | | co = get(gca,'ColorOrder'); |
| 44 | | ind =1:10:ndat; |
| 45 | | for i=1:size(M.mean_r, 2) |
| 46 | | h=errorbar(ind,M.mean_r(ind,i),... |
| 47 | | M.mean_r(ind,i)-M.lb_r(ind,i),M.mean_r(ind,i)-M.ub_r(ind,i),'.'); |
| 48 | | set(h,'color',co(i,:)); |
| 49 | | end |