Description Usage Arguments Value Author(s)
Takes a matrix of joint-scenario probability distributions and generates expectations, standard devation, and correlation matrix for the assets
1 | ComputeMoments(X, p)
|
X |
a matrix of joint-probability scenarios (rows are scenarios, columns are assets) |
p |
a numeric vector containing the probabilities for each of the scenarios in the matrix X |
means a numeric vector of the expectations (probability weighted) for each asset
sd a numeric vector of standard deviations corresponding to the assets in the covariance matrix
correlationMatrix the correlation matrix resulting from converting the covariance matrix to a correlation matrix
Ram Ahluwalia ram@wingedfootcapital.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.