leo
一个班有50个同学 ,学号1-50 。如何随机抽出10人参加考试?
ilikemath
x <- round(runif(10,0,51), digits=0)
rtist
sample(50,10)
zheny-20
proc plan seed=2510;
factor number=10 ordered;
treatments unit=3 of 50;
run;
abel
[quote]引用第2楼rtist于2006-12-16 22:34发表的“”:
sample(50,10)[/quote]
嗯,这个可以设定为标准答案了。
anning189
bootstrap
yihui
只抽一次,而且不是抽取50人,不用bootstrap:)
hangover
[quote]引用第2楼rtist于2006-12-16 22:34发表的“”:
sample(50,10)[/quote]
正解