Estimates parameters from a given objective function using optimization.
opt(FUN, start_values, optim = TRUE, ...)
| FUN | Objective function. |
|---|---|
| start_values | A vector of starting values corresponding to the number of parameters to be estimated. |
| optim | Logical.
If |
| ... | Additional arguments to be passed to the optimizer and arguments to be passed to the objective function. |