声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2517|回复: 6

[应用数学] [求助]随机数的概率密度函数

[复制链接]
发表于 2006-5-23 16:54 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
现有一组零均值得随机数,如何求得其概率密度函数
回复
分享到:

使用道具 举报

发表于 2006-5-23 18:55 | 显示全部楼层

re:

(1) 统计随机数总数total<BR>(2)将-inf      +inf   画分成若干区间,足够细的<BR>(3)统计在每一个区间的随机数个数,比如i个区间Ni<BR>(4)密度就是Ni/Total<BR>
 楼主| 发表于 2006-5-24 08:54 | 显示全部楼层
按照上述方法求得的应该是概率分布函数吧<BR>我想问一下怎么样才能得到概率密度函数
发表于 2006-5-24 11:01 | 显示全部楼层
以上就是概率密度函数,不是概率分布函数<BR>
 楼主| 发表于 2006-5-24 14:58 | 显示全部楼层
<P>我算出来结果好象不对啊<BR>似乎应该是Ni/(N*W)W为区间宽度,但也不太对</P>
发表于 2006-5-24 15:34 | 显示全部楼层
<P>for example: the generated random number is <br><br>              0,0,0,1,-1,-1,1,1,<br><br>the amount of 0 is 3<br>the amount of 1 is 3 <br>the amount of -1 is 2 <br>the total amount is 8,so the density is 3/8,3/8,2/8 respectively. As is the <br>same case for continous example. You know the density f should satisfy<br>                      integration  fdx=1 .....continous example<br>                                sum   f=1 ....scatter example <br>3/8+3/8+2/8=1 </P>
[此贴子已经被作者于2006-5-25 14:38:12编辑过]

 楼主| 发表于 2006-5-25 08:44 | 显示全部楼层
P=p*dx,所以现在要求的是p而不是P=p*dx。上面的例子求出来的应该是P吧
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-8 20:19 , Processed in 0.644470 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表