由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - About Gamma Distribution
相关主题
gamma distribution + mgfgamma distribution
在R里怎么跳到指定的地方?问一个distribution的问题
R: generate random number的问题[R] Generate a set of random number summing up to N
R里面的函数set.seed() 的作用讨论Gamma distribution用什么prior
问个三参数的学生分布的问题?求助 log-gamma, log-weibull distribution pdf, cdf
请问SAS怎么用do loop生成随机数字?怎么show gamma distribution是exponential family?
gamma function and the pdf of gamma distribution发包子求问 Lorentz distribution 拟合的误差
a simulation problemGamma distribution for power analysis,请大拿指点
相关话题的讨论汇总
话题: gamma话题: about话题: algo话题: generate
进入Statistics版参与讨论
1 (共1页)
J*****n
发帖数: 4859
1
How to generate the random number following Gamma(k, l)
where, k < 1.
I need algo, not function in the software.
Thank you.
l*********s
发帖数: 5409
J*****n
发帖数: 4859
3

I know it. But in that algo, the second para is set to be 1.

【在 l*********s 的大作中提到】
: http://en.wikipedia.org/wiki/Gamma_distribution#Generating_gamm
l*********s
发帖数: 5409
4
read again, the first sentence

【在 J*****n 的大作中提到】
:
: I know it. But in that algo, the second para is set to be 1.

J*****n
发帖数: 4859
5

多谢。
不过那个算法,用起来有个问题,在第一个参数小的时候(比如Gamma(0.001,6))
他的误差很大。不知道有什么解决的办法。

【在 l*********s 的大作中提到】
: read again, the first sentence
c********d
发帖数: 253
6
Use accept-reject algorithm, 用一个别的分布来产生一系列随机数,然后根据一定
的准则来接受或拒绝这些随机数就可以了。google一下细节即可。
J*****n
发帖数: 4859
7

多谢。
不过那个算法,用起来有个问题,在第一个参数小的时候(比如Gamma(0.001,6))
他的误差很大。不知道有什么解决的办法。

【在 l*********s 的大作中提到】
: read again, the first sentence
J*****n
发帖数: 4859
8

多谢。
不过那个算法,用起来有个问题,在第一个参数小的时候(比如Gamma(0.001,6))
他的误差很大。不知道有什么解决的办法。

【在 l*********s 的大作中提到】
: read again, the first sentence
J*****n
发帖数: 4859
9

多谢。
不过那个算法,用起来有个问题,在第一个参数小的时候(比如Gamma(0.001,6))
他的误差很大。不知道有什么解决的办法。

【在 l*********s 的大作中提到】
: read again, the first sentence
1 (共1页)
进入Statistics版参与讨论
相关主题
Gamma distribution for power analysis,请大拿指点问个三参数的学生分布的问题?
Gamma distribution的 uninformative priors 是什么啊?请问SAS怎么用do loop生成随机数字?
how to generate truncated gamma distribution in pythogamma function and the pdf of gamma distribution
how to do data fitting to find distribution (转载)a simulation problem
gamma distribution + mgfgamma distribution
在R里怎么跳到指定的地方?问一个distribution的问题
R: generate random number的问题[R] Generate a set of random number summing up to N
R里面的函数set.seed() 的作用讨论Gamma distribution用什么prior
相关话题的讨论汇总
话题: gamma话题: about话题: algo话题: generate