Description Usage Arguments Value Author(s) References
This function computes the location-dispersion ellipsoid of the normalized (unit variance, zero expectation)first diagonal and off-diagonal elements of a 2x2 Wishart distribution as a function of the inputs, as described in A. Meucci, "Risk and Asset Allocation", Springer, 2005, Chapter 2.
1 2 | TwoDimEllipsoid(Location, Square_Dispersion, Scale = 1,
PlotEigVectors = FALSE, PlotSquare = FALSE)
|
Location |
: [vector] (2 x 1) location vector (typically the expected value |
Square_Dispersion |
: [matrix] (2 x 2) scatter matrix Square_Dispersion (typically the covariance matrix) |
Scale |
: [scalar] a scalar Scale, that specifies the scale (radius) of the ellipsoid |
PlotEigVectors |
: [boolean] true then the eigenvectors (=principal axes) are plotted |
PlotSquare |
: [boolean] true then the enshrouding box is plotted. If Square_Dispersion is the covariance |
E : [figure handle]
Xavier Valls flamejat@gmail.com
A. Meucci - "Exercises in Advanced Risk and Portfolio Management" http://symmys.com/node/170.
See Meucci's script for "TwoDimEllipsoid.m"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.