simulateNormalScenariosByMoments
Simulate multivariate normal asset return scenarios from mean and covariance of asset returns
Syntax
Description
simulates multivariate normal asset return scenarios from mean and covariance of asset returns
for obj
= simulateNormalScenariosByMoments(obj
,AssetMean
,AssetCovar
,NumScenarios
)PortfolioCVaR
or PortfolioMAD
objects. For details on
the workflows, see PortfolioCVaR Object Workflow, and PortfolioMAD Object Workflow.
simulates multivariate normal asset return scenarios from mean and covariance of asset returns
for PortfolioCVaR or PortfolioMAD objects using the optional input
obj
= simulateNormalScenariosByMoments(obj
,AssetMean
,AssetCovar
NumScenarios
,NumAssets
)NumScenarios
.
Note
This function overwrites existing scenarios associated with
PortfolioCVaR
or PortfolioMAD
objects, and also,
possibly, NumScenarios
.
If you want to use the function multiple times and you want to simulate identical
scenarios each time the function is called, precede each function call with rng
(seed) using a specified integer seed.
Examples
Input Arguments
Output Arguments
Tips
You can also use dot notation to simulate multivariate normal asset return scenarios from a
mean and covariance of asset returns for a PortfolioCVaR
or
PortfolioMAD
object.
obj = obj.simulateNormalScenariosByMoments(AssetMean, AssetCovar, NumScenarios, NumAssets);
Version History
Introduced in R2012b
See Also
simulateNormalScenariosByData
| rng
| nearcorr
| covarianceShrinkage
| covarianceDenoising