sas几种抽样方法 https://bbs.pinggu.org/thread-2423706-1-1.html
放回增加样本bootstrap
data bootsamp;
do i = 1 to nobs; /* Want same no. obs as in ORIGINAL */
x = round(ranuni(0) * nobs); /* x randomly selected from values 1 to NOBS */
set original
nobs = nobs
point = x; /* This selected the xth observation in ORIGINAL */
output; /* Send the selected observation to the new data set */
end;
stop; /* Required when using the POINT= command */
run;
参考 A Practical Introduction to the Bootstrap Using the SAS System