I often do bootstrap and simulations in my research, and for some background research, I found the following excellent short article on how to use SAS to do efficient replications/bootstrapping/jackknifing.
Don’t Be Loopy: Re-Sampling and Simulation the SAS® Way
David L. Cassell, Design Pathways, Corvallis, OR
Here is an elegant example that shows how to do 1000 replications of the Kurtosis of X. Note that proc univariate could be replaced with anything. Discussion of proc append and critique of alternative programs is also useful.
(I will note that it starts by creating a sample that is 1000 times as large as the original, but still, it is very fast given what is being done.)
proc surveyselect data=YourData out=outboot /* 1 */
seed=30459584 /* 2 */
method=urs /* 3 */
samprate=1 /* 4 */
outhits /* 5 */
rep=1000; /* 6 */
proc univariate data=outboot /* consider noprint option here to reduce output */;
by Replicate; /* 7 */
output out=outall kurtosis=curt;
proc univariate data=outall;
output out=final pctlpts=2.5, 97.5 pctlpre=ci;
This humorous web site from the Washington Post’s WonkBlog is worth a look. It will only take a couple of minutes.
31 charts that are informative but illustrates how one can put a negative spin on anything.
Here is the original post that it is spoofing.