简体   繁体   English

广义伽玛分布R

[英]Generalised Gamma distribution R

I've been stuck on this for a while, and it is probably something so simple but hey I'm bogged down. 我已经坚持了一段时间,这可能很简单,但是嘿,我陷入了困境。

I've been using the flexsurv package, and I've got the following 我一直在使用flexsurv软件包,并且得到了以下内容

coefficients: 
MU: 1.8664
SIGMA: 0.1701
Q: -47.8063

I'm trying to extrapolate these coefficients, and get the values for 1:1000 我正在尝试外推这些系数,并获得1:1000的值

Can anyone please help...much appreciated 谁能帮忙...非常感谢

If your question is to generate random numbers using those parameters, call: 如果您的问题是使用这些参数生成随机数,请致电:

rgengamma(n = 1000, mu = 0, sigma = 1, Q = -1)

see: https://cran.r-project.org/web/packages/flexsurv/flexsurv.pdf 参见: https : //cran.r-project.org/web/packages/flexsurv/flexsurv.pdf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM