正在加载图片...
sas 几何均数的计算(只能用编程计算) data logman;input x f @@i y=log10(x); cards; 20240380616013201 proc means; freq f; var y output out=outman mean=logman; data geomean; set outman; g=10**logmean; proc print data=geomean; var grun; 结果:几何均数为1:646346 The power to know几何均数的计算(只能用编程计算) data logmean;input x f @@;y=log10(x);cards; 20 2 40 3 80 6 160 1 320 1 ; proc means;freq f;var y; output out=outmean mean=logmean; data geomean;set outmean;g=10**logmean; proc print data=geomean;var g;run; 结果:几何均数为1 : 64.6346
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有