Internal function that performs parameter estimation using optimization-based methods (Maximum Likelihood or Maximum Product Spacing).
fit_optimization(
x,
dist,
method,
start,
lower,
upper,
optim_method,
custom_functions,
tol_spacing,
tol_param,
ties_method,
...
)
A list containing parameter estimates, standard errors, objective value, log-likelihood, AIC, BIC, KS test results, and convergence information.
numeric vector of sorted data.
character string specifying the distribution.
character string: "mle" or "mps".
initial parameter values.
lower bounds for parameters.
upper bounds for parameters.
optimization method for optim
.
list of custom distribution functions.
numeric tolerance for spacings/densities.
numeric tolerance for parameter bounds.
character string for ties correction method.
additional arguments for optim
.