I have one small more question.
For the same 20 years I calculated descriptive statistics using the following code:
proc means data=... N Mean min p1 p25 Median p75 p99 max std;
var x1 ..... x21;
by year;
output out=desk_stat mean()= p1()= p25()= median()= p75()= p99()= std()= /autoname;
run;
In the second step I calculated again the mean of the 20 years:
proc means data=desk_stat mean;
output out = mylib.desk_stat_EV;
run;
After the first step I get a very nice picture in the result window. I would like to get such a table (columns show the statistics and row the variables) for my output.
I think I have to use a transform step, but Iam not exactly sure how I can handle it.
Thanks again!