View source: R/black_litterman.R
black.litterman | R Documentation |
Compute the Black Litterman estimate of moments for the posterior normal.
black.litterman(R, P, Mu = NULL, Sigma = NULL, Views = NULL)
R |
returns |
P |
a K x N pick matrix |
Mu |
vector of length N of the prior expected values. The sample mean
is used if |
Sigma |
an N x N matrix of the prior covariance matrix. The sample
covariance is used if |
Views |
a vector of length K of the views |
posterior expected values
posterior covariance matrix
This function is largely based on the work of Xavier Valls to port the matlab code of Attilio Meucci to R as documented in the Meucci package.
Ross Bennett, Xavier Valls
A. Meucci - "Exercises in Advanced Risk and Portfolio Management" https://www.arpm.co/articles/exercises-in-advanced-risk-and-portfolio-management/.
BlackLittermanFormula
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.