3-SAS运算符浅析.pptVIP

  • 4
  • 0
  • 约5.24千字
  • 约 36页
  • 2017-03-12 发布于湖北
  • 举报
data A; input x1-x5 x6 $ date yymmdd15.; /*format date yymmdd10.表示date年月日共占10位;1960.1.1开始计算间隔天数*/ x7 o; x8 I am a student; /* x7 、 x8 是字符串*/ /*以下是数学函数*/ a1 max x1,x2 ; /*x1,x2的最大值返回给a1*/ a2 sum x1,x2 ; a3 sign x3 ; a4 sqrt x5 ; a5 mean x1,x2 ; /*以下是截取函数*/ b1 floor a5 ; /*a5取较小的整数*/ /*以下是字符函数*/ c1 index x6,x7 ; /*x6中查找x7的位置*/ c2 substr x6,3,3 ; /*x6第3个字符开始共取3个*/ c3 scan x8,2 ; c4 upcase x8 ; c5 compress x6,x7 ; /*以下是时间函数*/ d1 weekday date ; /*求date是星期几*/ d2 year date ; d3 qtr date ; d4 day date ; /*以下是概率函数*/ e1 probnorm 0 ; e2 n of x1-x5 ; e3 nmiss of x1-x5 ; e4 var x1,x2 ; e5 std x1,x2

文档评论(0)

1亿VIP精品文档

相关文档