Hi all, (I am using SAS Studio Release: 3.6 (Enterprise Edition), Engine 9) I have computed the simple Standardized Response Mean (SRM) for my sample: mean/std=SRM. Now, I need to bootstrap this SRM to get the 95% confidence intervals. Unfortunately, the SRM is a function of the mean and standard deviation, so I am not able to simply use PROC MEANS with a BY statement. Or can I? What is the best way for me to do this??? I have little experience with macro writing...but am willing to learn if there is a simple macro to write. Here is my code (again, my goal is to bootstrap the SRM variable, which is now in my output as a single observation): /* ----------------------------------------------------------- */
/* Bootstrapping the Standardized Response Mean (SRM) */
/* ----------------------------------------------------------- */
PROC MEANS DATA=Sample noprint;
VAR ChangeScore;
OUTPUT out=preSRM mean(ChangeScore)=mean std(ChangeScore)=std;
RUN;
DATA SRM;
SET preSRM;
SRM=DIVIDE(mean,std);
RUN;
*NOW I NEED TO BOOTSTRAP THE SRM VARIABLE...; Help!!!! Thank you, MeasuringHealth
... View more