楼主: 512582566
2753 4

求教sas程序 [推广有奖]

  • 0关注
  • 0粉丝

高中生

40%

还不是VIP/贵宾

-

威望
0
论坛币
20 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
148 点
帖子
32
精华
0
在线时间
2 小时
注册时间
2014-10-29
最后登录
2016-8-22

楼主
512582566 发表于 2014-12-9 17:24:24 来自手机 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我想请问call streaminit(123)什么意思。。。。???希望回答的详细一点,查资料没查到,多谢了!!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:sas程序 Stream Stre Amin Mini 程序 资料

沙发
tianbu 发表于 2014-12-9 23:39:31
see here:

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a001466799.htm

If you want to create reproducible streams of random numbers, then specify STREAMINIT before any calls to the RAND random number function. If you call the RAND function before you specify a seed with STREAMINIT (or if you specify a nonpositive seed value in the STREAMINIT function), then the RAND function uses a call to the system clock to seed itself. Each DS2 program honors one STREAMINIT seed. The prevailing seed value is the one that is specified prior to the first RAND function call. For more information, see Seed Values in SAS Functions and CALL Routines: Reference.

If you do not have this satement, then everytime you run this code you will get different dataset

藤椅
tianbu 发表于 2014-12-9 23:42:53
http://support.sas.com/documentation/cdl/en/ds2ref/67313/HTML/default/viewer.htm#n02tlu8v5cs6efn12f5t9g5of408.htm
hope it works

板凳
512582566 发表于 2014-12-10 10:15:36 来自手机
tianbu 发表于 2014-12-9 23:39
see here:

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a00146 ...
多谢

报纸
512582566 发表于 2014-12-10 11:27:07 来自手机
tianbu 发表于 2014-12-9 23:39
see here:

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a00146 ...
没太明白!您能说的简单一些吗?多谢了

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-25 15:56