SAS harmonic mean function

http://support.sas.com/kb/44/415.html

SAS function, RANUNI creates a flat distribution

randomx=ranuni(1);

The MEANS Procedure

Analysis Variable : randomx

N Mean Std Dev Minimum Maximum ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ 3812 0.4995942 0.2896404 0.000147896 0.9997638 ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ

The SAS System 19:50 Wednesday, May 29, 2013 3

The UNIVARIATE Procedure

Histogram # Boxplot 0.975+***************************************** 201 | .*************************************** 193 | .************************************ 178 | .*********************************** 173 | […]

SAS Count function

data one; input val $9.; cards; 102102111 108881111 ;

data new; set one; temp=count(val,'1'); put temp=; run;

RT