全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学
3024 6
2010-11-17
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.
二维码

扫码加我 拉你入群

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

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

全部回复
2010-11-17 02:07:10
同样有此类疑惑,请各位高手讨论一下!顶一个!
二维码

扫码加我 拉你入群

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

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

2010-11-17 04:37:19
it's very easy! see attached code!
附件列表

uniform.txt

大小:173 Bytes

只需: 2 个论坛币  马上下载

二维码

扫码加我 拉你入群

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

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

2010-11-17 07:21:20
hello,  I need refund, the code does not work.
二维码

扫码加我 拉你入群

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

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

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

二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群