Skip to content
Prev 248641 / 398506 Next

Warning with mle

Hi Ben,

thanks a lot for your answer.
probably fine for me. The fit for my dummy data was nice, but for the
real data it's not so nice... (see below - other ideas...)
I tried it but even if I use the following statement, I get the
warnings with confint()

fit <- mle(ll, method = "L-BFGS-B", lower = c(0.001,0), upper = c(Inf,1))

I added the output of the current parameters for my ll-function and
obviously the second parameter goes far beyond the limit. Is there
anything wrong with how I tried to set the limits?
Is it possible that mle() takes the boundaries into account but
confint() does not?
Not my prefered solution (I'm too new to this area and afraid to do
anything wrong)
I played around with it but I cannot find a way how to simply estimate
the parameters for my distribution. My data is simply discrete
histogram data (counts) and I'm probably too stupid to put it into a
model... If you can give me any hint - I would be happy.

Other ideas concerning my approach: Do I use the right criteria to
minimize on (so far I use the sum of squared errors). May it make
sense to use the pearsons chi-squared test? (Is there any easy way to
do it in R?)

Ciao,

Antje