Description Usage Arguments Value
Returns a matrix of num_ports randomly generated portfolio weights that are non-negative and sum to 1.
1 | RandPorts(num_ports, num_assets)
|
num_ports |
Scalar input number of desired portfolios. |
num_assets |
Scalar input nummber of assets within each portfolio. |
A numeric matrix of dimension num_assets x num_ports containing the random portfolio weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.