Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

Proc Means & storing mean in a table

$
0
0
I am running a means procedure on a bootstrap sample by replication number. Is there a way for me to output the mean of every replication in a table without having all the univariate results printed?

Here's my current code:
Code:

ods output Moments=m (where=(label1="Mean"));
proc univariate data=bootsample;
        by replicate;
        var a1_sf_sc_score_1;
run; quit;

Right now SAS prints all replicates of the univariates, and then prints a table. But if I add the noprint option on the first time, SAS does not create the 'm' dataset.

Viewing all articles
Browse latest Browse all 310

Trending Articles