Learn R Programming

FRAPO (version 0.4-2)

PGMV: Global Minimum Variance Portfolio

Description

This function returns the solution of the global minimum variance portfolio (long-only).

Usage

PGMV(Returns, percentage = TRUE, optctrl = ctrl(), ...)

Value

An object of formal class "PortSol".

Arguments

Returns

A rectangular array of return data.

percentage

Logical, whether the weights shall be returned as decimals or percentages (default).

optctrl

Object of class Rcpp_CTRL.

...

Arguments are passed down to cov.

Author

Bernhard Pfaff

See Also

"PortSol"

Examples

Run this code
data(MultiAsset)
Rets <- returnseries(MultiAsset, method = "discrete", trim = TRUE)
PGMV(Rets)

Run the code above in your browser using DataLab