作者:姑另静乖_606 | 来源:互联网 | 2023-10-13 08:35
我的数据如下:
c(20000000.4,2943143.86,2223020,3156203.17,2581621.69,45842102.64,2303396.3,74924503.71,2107205.28,803526,115984539.2,2904623,6e+06,4782296.13,2354548.46,2389383.84,2288983.99,4436729,7500000,1045758.15,2495385.48,126794168,5546141.72,2238181.12,2471143.02,4839064.67,15293527.76,24888213.71,459745,1790472.95,4730418.92,7241093,14574723.75
我正在尝试使数据适合此分布:https://www.rdocumentation.org/packages/actuar/versions/2.3-2/topics/SingleParameterPareto
require(actuar)
fit2 <- fitdistrplus::fitdist(lrg_clms,"pareto1",start=list(shape=1,min=12e6))
但是出现以下错误:
Error in fitdistrplus::fitdist(lrg_clms,start = list(shape = 1,:
the function mle failed to estimate the parameters,with the error code 100
有人对如何解决此问题有任何想法吗?不知道为什么会出错。