I found a similiar problem to my current issue but it does not really apply to my problem or at least I don't find where the problem is.
I am following the document: https://cran.r-project.org/web/packages/fitdistrplus/fitdistrplus.pdf to fit a pareto dsitribution to my data. But first I am trying to go all single steps like in the document fitdistrplus.pdf.
Therefore I am trying to use the same piece of coding (Page 30):
library(fitdistrplus)
library(actuar)
require(actuar)
#simulate a sample
x4 <- rpareto(1000, 6, 2)
#empirical raw moment
memp <- function(x, order) mean(x^order)
#fit
fP <- fitdist(x4, "pareto", method="mme", order=c(1, 2), memp="memp",
start=list(shape=10, scale=10), lower=1, upper=Inf)
summary(fP)
plot(fP)
This is the result:
checkstartfix is carried out
Error in checkparamlist(arg_startfix$start.arg, arg_startfix$fix.arg, :
'start' must specify names which are arguments to 'distr'.
I am not really sure what the exact problem is? I have the issue solely with fitting the pareto-distr but not with lnorm or weibull. My R-Version is 4.2.0 and RStudio is 2022.02.2 Build 485.
Can somebody please help me to understand where the problem is?
Kind regards p.