【发布时间】:2019-01-31 20:28:40
【问题描述】:
以下是我的代码:
library(fitdistrplus)
s <- c(11, 4, 2, 9, 3, 1, 2, 2, 3, 2, 2, 5, 8,3, 15, 3, 9, 22, 0, 4, 10, 1, 9, 10, 11,
2, 8, 2, 6, 0, 15, 0 , 2, 11, 0, 6, 3, 5, 0, 7, 6, 0, 7, 1, 0, 6, 4, 1, 3, 5,
2, 6, 0, 10, 6, 4, 1, 17, 0, 1, 0, 6, 6, 1, 5, 4, 8, 0, 1, 1, 5, 15, 14, 8, 1,
3, 2, 9, 4, 4, 1, 2, 18, 0, 0, 10, 5, 0, 5, 0, 1, 2, 0, 5, 1, 1, 2, 3, 7)
o <- fitdist(s, "gamma", method = "mle")
summary(o)
plot(o)
错误提示:
fitdist(s, "gamma", method = "mle") 中的错误:函数 mle 无法估计参数, 错误代码 100
【问题讨论】:
-
以下解决方案是否解决了您的问题?如果是这样,请单击复选标记以接受其中一项。如果没有,请告诉我们为什么不...
标签: r statistics fitdistrplus