sfcr_portfolio() function calculates a valid matrix of portfolio
parameters by applying the symmetry condition and then filling the missing
rows accordingly to the vertical and horizontal adding-up constraints.
A matrix of parameter names
A named vector of known parameters. One entry for each symmetry condition is enough to find a valid matrix.
This function calculates only the values of the rates of return matrix, i.e., the internal matrix. The adding-up constraint number 1, that calculates the share of assets in the net wealth and the impact of regular income to wealth ratio must be calculated separately.
If supplied with insufficient parameters, the function will return a matrix with NA values.
This function requires at least (n^2 - n)/2 known parameters to find a valid portfolio matrix, where n is the number of rows/columns. This is achieved by setting known parameters outside the diagonal and not on symmetrical entries, i.e., not lambda12 and lambda21, for example.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.