Description Usage Arguments Details Value References See Also Examples
The function Diversity
computes the diversity of a probability distribution.
1 | Diversity(x, p = 0.5)
|
x |
a numeric vector with non-negative entries. |
p |
a parameter between 0 and 1. The default value is 0.5. |
The diversity function is used in stochastic portfolio theory as a measure of market diversity. It is the generating function of the diversity-weighted portfolio (see DiversityPortfolio
). See Example 3.4.4 of Fernholz (2002) for more information.
A number.
Fernholz, E. R. (2002) Stochastic portfolio theory. Springer.
1 2 |
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
[1] 1.56824
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.