楼主: nkahoo
3005 6

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

  • 0关注
  • 0粉丝

已卖:1份资源

大专生

25%

还不是VIP/贵宾

-

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

楼主
nkahoo 发表于 2010-11-17 00:21:23 |AI写论文

+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
下载链接: https://bbs.pinggu.org/a-795188.html

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
拉您进交流群
GMT+8, 2025-12-30 04:23