clm css cv kurtosis lclm max mean min mode n nmiss p1 p5 p10 p25 p50 p75 p90 p95 p99 qrange range skewness std stderr sum sumwgt uclm ussvar
proc means data=drugstore; by chain product;The data must be sorted to use a by clause.
proc means data=drugstore n mean std; class chain product; var price;