Learn R Programming

PCRA (version 1.2)

mathGmv: Global Minimum Variance Portfolio (GMV)

Description

Computes the weights of a GMV portfolio, and its mean return and volatility based on portfolio asset returns

Usage

mathGmv(returns, digits = NULL)

Value

List of GMV portfolio weights, mean return and volatility

Arguments

returns

Matrix or xts object of returns

digits

Integer value of number of significant digits, default NULL

Examples

Run this code
args(mathGmv)

Run the code above in your browser using DataLab