Plotting Captial Distribution Objects

Share:

Description

The function plot.capdist plots the capital distribution curve.

Usage

1
2
## S3 method for class 'capdist'
plot(x, draw.line = TRUE, cut.end = 0.1, ...)

Arguments

x

a capdist object.

draw.line

TRUE or FALSE. If true, a straight line is fitted to the capital distribution curve. The default value is TRUE.

cut.end

A number between 0 and 1. It is the proportion of the smallest assets that will be ignored when fitting a straight line to the capital distribution curve. The default value is 0.1.

...

further arguments such as main.

Details

A capital distribution curve is the log-log curve of the market weights against the rank. Empirically, capital distribution curves are approximately Pareto-shaped with some concavity at the lower end.

References

Fernholz, E. R. (2002) Stochastic portfolio theory. Springer.

See Also

capdist

Examples

1
2
3
4
5
# Create a random distribution
x <- runif(100)
x <- x/sum(x)
x <- capdist(x)
plot(x)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.