第20节 函数.pptVIP

  • 9
  • 0
  • 约7.39千字
  • 约 49页
  • 2017-08-25 发布于湖北
  • 举报
用简便的方法实现例1中目的 data simple_statistics; max_x=max(2,4,6,3,1); min_x=min(2,4,6,3,1); mean_x=mean(2,4,6,3,1); std_x=std(2,4,6,3,1); cv_x=cv(2,4,6,3,1); run; ods html; proc print data=simple_statistics; var max_x min_x mean_x std_x cv_x; run; ods html close; 练习4 某农村地区1998年随机抽查测量10名13岁女孩的身高,资料如下,试求全距、均值、标准差、标准误、变异系数。 145.1 143.3 153.2 152.3 150.6 148.1 144.0 137.1 158.2 146.7 解答: data aa; input x1-x10; cards; 145.1 143.3 153.2 152.3 150.6 148.1 144.0 137.1 158.2 146.7 ; run; data bb; set aa; a=range(of x1-x10); b=mean(of x1-x10); c=std(of x1-x10); d=cv(of x1-x10); file print; put

文档评论(0)

1亿VIP精品文档

相关文档