Calculate residual sums of squares for weights and desired weights
1 | rss(inv_weights, desired_dist, total, current)
|
inv_weights |
a vector of weights. Should be missing the first weight. |
desired_dist |
the desired weights. Should be one longer than inv_weights. |
total |
total amount to invest |
current |
amounts invested in the assets |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.