hello, I use proc univariate and i generate output files (quantiles and mean). proc univariate data=bb.mdist; var X; by rank_no; ods output Quantiles=quantiles; run; The file quantiles is like : Rank_NO VarName Quantile Estimate 1 X 100% Max 2,04178 1 X 99% 1,855866 1 X 95% 1,601379 1 X 90% 1,455169 1 X 75% Q3 1,24162 1 X 50% Median 0,976555 1 X 25% Q1 0,75844 1 X 10% 0,549392 1 X 5% 0,47554 1 X 1% 0,132898 1 X 0% Min -0,02425 2 X 100% Max 2,311919 2 X 99% 1,72241 2 X 95% 1,504458 2 X 90% 1,361372 2 X 75% Q3 1,176674 2 X 50% Median 0,986445 2 X 25% Q1 0,804874 2 X 10% 0,65509 2 X 5% 0,558072 2 X 1% 0,244873 2 X 0% Min -0,21428 Then, I want to perform the mean quantile by quantile so I obtain a table like this VarName Quantile Estimate X 100% Max X 99% X 95% X 90% X 75% Q3 X 50% Median X 25% Q1 X 10% X 5% X 1% X 0% Min
... View more