View source: R/fit_distributions.R
| fit_optimization | R Documentation |
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,
...
)
x |
numeric vector of sorted data. |
dist |
character string specifying the distribution. |
method |
character string: "mle" or "mps". |
start |
initial parameter values. |
lower |
lower bounds for parameters. |
upper |
upper bounds for parameters. |
optim_method |
optimization method for |
custom_functions |
list of custom distribution functions. |
tol_spacing |
numeric tolerance for spacings/densities. |
tol_param |
numeric tolerance for parameter bounds. |
ties_method |
character string for ties correction method. |
... |
additional arguments for |
A list containing parameter estimates, standard errors, objective value, log-likelihood, AIC, BIC, KS test results, and convergence information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.