楼主: nkahoo
2774 6

How to generate the sample point of uniform distribution [推广有奖]

  • 0关注
  • 0粉丝

大专生

25%

还不是VIP/贵宾

-

威望
0
论坛币
143 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
307 点
帖子
28
精华
0
在线时间
66 小时
注册时间
2009-2-17
最后登录
2021-4-4

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
How to generate the sample point of uniform distribution in two dimensional case,
if I use
seed=123;
n=100;
dim=2;
x=uniform(repeat(seed,n,dim));
I only can get the matrix with two column, which each column is uniform distributed, but it is not guarantee that the combination of the point is uniformly distributed in the 2-D.
二维码

扫码加我 拉你入群

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

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

关键词:distribution generate Uniform Sample Point SAS question

沙发
saiyasaibing 发表于 2010-11-17 02:07:10 |只看作者 |坛友微信交流群
同样有此类疑惑,请各位高手讨论一下!顶一个!
Need to learn a lot.

使用道具

藤椅
情迷仲夏夜 发表于 2010-11-17 04:37:19 |只看作者 |坛友微信交流群
it's very easy! see attached code!

uniform.txt

173 Bytes

需要: 2 个论坛币  [购买]

使用道具

板凳
nkahoo 发表于 2010-11-17 07:21:20 |只看作者 |坛友微信交流群
hello,  I need refund, the code does not work.

使用道具

报纸
liudeng2005 发表于 2010-11-17 09:17:10 |只看作者 |坛友微信交流群
he is just selling
我就是我@!

使用道具

地板
情迷仲夏夜 发表于 2010-11-20 01:25:56 |只看作者 |坛友微信交流群
how come the code doesn't work? I just rerun it but because the generated datasets is too big, 19MB, so I change 100000 to 1000, Y1-Y25 to Y1-Y2 to make the dataset smaller and then upload it for free to look at for everyone. Don't believe it? download it and see for yourself! everybody can check for me!

uniform.zip

15.01 KB

本附件包括:

  • uniform.sas7bdat

使用道具

7
JarvanIV 发表于 2015-9-14 04:44:41 |只看作者 |坛友微信交流群
很好谢谢。。。。。。。。。。。。。。。

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-13 01:59