% SAMP1       Repeated sampling with increasing sample size from a population.

count=1;

ss=5:5:80;

for n=ss,
  n
  [Da,Ds]=repsamp(suicide,'knorm',0,n,100,0);
  a(count)=mean(Da);
  s(count)=mean(Ds);
  count=count+1;
end;

plot(ss,a,'y');
hold on;
plot(ss,s,'c');  
  