This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Asset Returns and Scenarios

Evaluate scenarios for portfolio asset returns, including assets with missing data and financial time series data


PortfolioCVaRCreates PortfolioCVaR object for conditional value-at-risk portfolio optimization and analysis


getScenariosObtain scenarios from portfolio object
setScenariosSet asset returns scenarios by direct matrix
estimateScenarioMomentsEstimate mean and covariance of asset return scenarios
simulateNormalScenariosByMomentsSimulate multivariate normal asset return scenarios from mean and covariance of asset returns
simulateNormalScenariosByDataSimulate multivariate normal asset return scenarios from data
setCostsSet up proportional transaction costs

Examples and How To

Asset Returns and Scenarios Using PortfolioCVaR Object

Given a sample of scenarios, the conditional expectation that defines the sample CVaR of the portfolio is expressed as a finite sum, a weighted average of losses.

Working with a Riskless Asset

The PortfolioCVaR object has a separate RiskFreeRate property that stores the rate of return of a riskless asset.

Working with Transaction Costs

The difference between net and gross portfolio returns is transaction costs.


PortfolioCVaR Object Workflow

PortfolioCVaR object workflow for creating and modeling a conditional value-at-risk (CVaR) portfolio.