This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Estimate Mean and Covariance for Returns

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

Using Objects

PortfolioPortfolio object for mean-variance portfolio optimization and analysis


getAssetMomentsObtain mean and covariance of asset returns from Portfolio object
setAssetMoments Set moments (mean and covariance) of asset returns for Portfolio object
estimateAssetMomentsEstimate mean and covariance of asset returns from data
setCostsSet up proportional transaction costs

Examples and How To

Asset Returns and Moments of Asset Returns Using Portfolio Object

Mean-variance portfolio optimization problems require estimates for the mean and covariance of asset returns.

Working with a Riskless Asset

The Portfolio object uses 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.

Asset Allocation Case Study

This example shows how to set up a basic asset allocation problem that uses mean-variance portfolio optimization to estimate efficient portfolios.

Portfolio Optimization Examples

The following sequence of examples highlights features of the Portfolio object in the Financial Toolbox™.


Portfolio Object Workflow

Portfolio object workflow for creating and modeling a mean-variance portfolio.

Was this topic helpful?