Learn R Programming

RelValAnalysis (version 1.0)

ConstantPortfolio:

Constant-weighted Portfolio

Description

The function ConstantPortfolio is creates an fgp object representing the constant-weighted portfolio with a given weight vector.

Usage

ConstantPortfolio(weight)

Arguments

weight

a numeric probability vector.

Value

An fgp object.

Details

The constant-weighetd portfolio is a functionally generated portfolio generated by the geometric mean (see GeometricMean). One example is the equal-weighted portfolio. The portfolio maintains the same weight in every period.

References

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

See Also

GeometricMean

Examples

Run this code
# Define the constant-weighted portfolio (0.2, 0.3, 0.5) for 3 stocks
portfolio <- ConstantPortfolio(c(0.2, 0.3, 0.5))

Run the code above in your browser using DataLab