Description Usage Arguments Details Value References See Also Examples
The function DiversityPortfolio
is creates an fgp
object representing the diversity-weighted portfolio with a given parameter.
1 | DiversityPortfolio(p = 0.5)
|
p |
a number between 0 and 1. The default value is 0.5. |
The diversity-weighetd portfolio is a functionally generated portfolio, see Example 3.4.4 of Fernholz (2002). It is generated by the diversity function (see Diversity
). It can be regarded as an interpolation between the market portfolio (p = 1) and the equal-weighted portfolio (p = 0).
An fgp
object.
Fernholz, E. R. (2002) Stochastic portfolio theory. Springer.
1 2 | # Create a diversity-weighted portfolio with p = 0.7
portfolio <- DiversityPortfolio(p = 0.7)
|
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.