小编Jud*_*y S的帖子

错误代码 100 在 r 中使用 fitdist 拟合 exp 分布

我正在尝试将指数分布拟合到我的数据中,但出现以下错误

"Error in fitdist(x41, "exp", method = "mle") : 
  the function mle failed to estimate the parameters, 
                with the error code 100"
Run Code Online (Sandbox Code Playgroud)

我试过 mme 有效,但我有其他带有 mle 的分布,所以我也需要指数分布的 mle。我已经被困了好几天了。任何人都可以帮助我吗?

我的数据看起来像这样。

2795.5
304.6833
2786.45
5897.75
4381.367
1178.1
351.3167
109.85
459.6167
13.26667
0.033333
846.3833
3698.45
1527.1
94.31667
15.01667
271.8833
473
Run Code Online (Sandbox Code Playgroud)

这是我的代码

ExpMle41 <- fitdist(x41, "exp", method="mle") 
ExpMle41
plot(ExpMle41)
Run Code Online (Sandbox Code Playgroud)

任何帮助将不胜感激。谢谢你。

r

7
推荐指数
1
解决办法
9035
查看次数

标签 统计

r ×1