ac.ranking | R Documentation |
Compute the first moment from a single complete sort
ac.ranking(R, order, ...)
R |
xts object of asset returns |
order |
a vector of indexes of the relative ranking of expected asset
returns in ascending order. For example, |
... |
any other passthrough parameters |
This function computes the estimated centroid vector from a single complete sort using the analytical approximation as described in R. Almgren and N. Chriss, "Portfolios from Sorts". The centroid is estimated and then scaled such that it is on a scale similar to the asset returns. By default, the centroid vector is scaled according to the median of the asset mean returns.
The estimated first moments based on ranking views
R. Almgren and N. Chriss, "Portfolios from Sorts" https://papers.ssrn.com/sol3/papers.cfm?abstract_id=720041
centroid.complete.mc
centroid.sectors
centroid.sign
centroid.buckets
data(edhec)
R <- edhec[,1:4]
ac.ranking(R, c(2, 3, 1, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.