Description Usage Arguments Value Note References See Also Examples
Express views on the relative expected asset returns as in A. Meucci, "Fully Flexible Views: Theory and Practice" and compute the first and second moments.
1 | meucci.ranking(R, p, order)
|
R |
xts object of asset returns |
p |
a vector of the prior probability values |
order |
a vector of indexes of the relative ranking of expected asset
returns in ascending order. For example, |
The estimated moments based on ranking views
This function is based on the ViewRanking
function written by
Ram Ahluwalia in the Meucci package.
A. Meucci, "Fully Flexible Views: Theory and Practice" http://www.symmys.com/node/158 See Meucci script for "RankingInformation/ViewRanking.m"
1 2 3 4 |
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: xts
Loading required package: foreach
Loading required package: PerformanceAnalytics
Attaching package: 'PerformanceAnalytics'
The following object is masked from 'package:graphics':
legend
Checking gradients of objective function.
Derivative checker results: 0 error(s) detected.
Checking gradients of inequality constraints.
Derivative checker results: 0 error(s) detected.
$mu
[,1]
Convertible Arbitrage 0.007408157
CTA Global 0.006538752
Distressed Securities 0.007408157
Emerging Markets 0.007408157
$sigma
Convertible Arbitrage CTA Global Distressed Securities
Convertible Arbitrage 3.530965e-04 -4.340303e-05 2.368761e-04
CTA Global -4.340303e-05 6.333891e-04 -5.260163e-05
Distressed Securities 2.368761e-04 -5.260163e-05 3.374969e-04
Emerging Markets 3.883730e-04 -4.810945e-05 5.823429e-04
Emerging Markets
Convertible Arbitrage 3.883730e-04
CTA Global -4.810945e-05
Distressed Securities 5.823429e-04
Emerging Markets 1.538778e-03
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.