PROC UNIVARIATE

 

proc univariate data=sashelp.class noprint;
var height weight;
id name;
output out=a n=n mean=h_mean w_mean std=std min=min max=max median=median q1=q1 q3=q3;
run;

 

mean=h_mean w_mean是分别求height和weight的均值。

posted @ 2022-05-22 17:08  Iving  阅读(29)  评论(0编辑  收藏  举报