By default the 'llogis', 'gamma' and 'lnorm'
distributions are fitted to the data.
The ssd_fit_dists function has also been
tested with the 'gompertz', 'lgumbel' and 'weibull' distributions.
If weight specifies a column in the data frame with positive integers,
weighted estimation occurs.
However, currently only the resultant parameter estimates are available (via coef).
If the right
argument is different to the left
argument then the data are considered to be censored.
The fits are performed using fitdistrplus::fitdist()
(and fitdistrplus::fitdistcens()
in the case of censored data).
The method used is "mle" (maximum likelihood estimation)
which means that numerical optimization is carried out in
fitdistrplus::mledist()
using stats::optim()
unless finite bounds are supplied in the (lower and upper) in which
it is carried out using stats::constrOptim()
.
In both cases the "Nelder-Mead" method is used.