How I can evaluate the error in sample size
이전 댓글 표시
Hi all, I've generated a population of NPOP rows, based on random beta distribution. Each row is normalized 1, as an array of probabilities.
This is my code for random popultation (I'm a newbie):
for i= 1:NPOP
A(i)=unifrnd(0.5,2.70);
B(i)=unifrnd(0.5,4);
p = betapdf((1:7)/(7+0.1),A(i),B(i));
pp= (p/sum(p));
pp2= pp';
pop(i,:)= pp2;
end
Now I'd like to evaluate how much error I can see if I extract randomly samples of 100,500 or 1000 rows from the population of 100,000 rows (NPOP).
Is there any measure or indicator for this comparison?
Any suggestions would be really appreciated.
Cristiano.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!