| wrappers_optim | R Documentation |
Wrappers of common R optimization functions.
Their purpose is to be passed as the optim_function argument in the gas() function.
wrapper_optim_stats(
obj_fun,
theta_start,
theta_bound_lower,
theta_bound_upper,
est_details,
...
)
wrapper_optim_nloptr(
obj_fun,
theta_start,
theta_bound_lower,
theta_bound_upper,
est_details,
...
)
obj_fun |
An objective function. |
theta_start |
A numeric vector of starting values of the variables. |
theta_bound_lower |
A numeric vector of lower bounds on the variables. |
theta_bound_upper |
A numeric vector of upper bounds on the variables. |
est_details |
A list of variables used for estimation. |
... |
Additional arguments to be passed to the optimization function. |
A list with components:
status_optim |
The status of the optimization computation. |
theta_optim |
The optimal solution. |
wrapper_optim_stats(): Wrapper for optimization function stats::optim().
wrapper_optim_nloptr(): Wrapper for optimization function nloptr::nloptr().
gas()
wrappers_hessian
wrappers_parallel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.