View source: R/entropy_solver.R
Given an objective function, its gradient and hessian (in the entropy_foos
object), this function submits them to a convex solver and returns the vector of optimal portfolio weights plus a normalization weight in the first position. This function is supposed to be used internally in the implementation of generic methods for SDF fitting.
1 2 3 4 5 6 7 |
entropy_foos |
object of |
excess_return_matrix |
T x N |
theta_vector_init |
(N+1) x 1 |
solver_trace |
sets the |
... |
arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.