Documentation

estimateFrontierLimits

Class: Portfolio

Estimate optimal portfolios at endpoints of efficient frontier

Syntax

[pwgt,pbuy,psell] = estimateFrontierLimits(obj)
[pwgt,pbuy,psell] = estimateFrontierLimits(obj,Choice)

Description

[pwgt,pbuy,psell] = estimateFrontierLimits(obj) estimates the optimal portfolios at the endpoints of the efficient frontier.

[pwgt,pbuy,psell] = estimateFrontierLimits(obj,Choice) estimates the optimal portfolios at the endpoints of the efficient frontier with an additional option specified for the Choice argument.

Tips

You can also use dot notation to estimate the optimal portfolios at the endpoints of the efficient frontier.

[pwgt, pbuy, psell] = obj.estimateFrontierLimits(Choice);

Input Arguments

obj

Portfolio object [Portfolio].

Choice

Indicates which portfolios to obtain at the extreme ends of the efficient frontier [string].

Choice specifies various actions with default value []. The options for Choice action are:

  • [ ] — Compute both minimum-risk and maximum-return portfolios.

  • 'Both' — Compute both minimum-risk and maximum-return portfolios.

  • 'Min' — Compute minimum-risk portfolio only.

  • 'Max' — Compute maximum-return portfolio only.

Default: []

Output Arguments

pwgt

Optimal portfolios at the endpoints of the efficient frontier TargetReturn that are [NumAssets-by-NumPorts matrix].

pbuy

Purchases relative to an initial portfolio for optimal portfolios at the endpoints of the efficient frontier that are [NumAssets-by-NumPorts matrix].

psell

Sales relative to an initial portfolio for optimal portfolios at the endpoints of the efficient frontier that are [NumAssets-by-NumPorts matrix].

    Note:   If no initial portfolio is specified in obj.InitPort, it is assumed to be 0 such that pbuy = max(0, pwgt) and psell = max(0, -pwgt).

Attributes

Accesspublic
Staticfalse
Hiddenfalse

To learn about attributes of methods, see Method Attributes in the MATLAB® Object-Oriented Programming documentation.

Examples

expand all

Obtain Endpoint Portfolios

Given portfolio p, the estimateFrontierLimits method obtains the endpoint portfolios.

m = [ 0.05; 0.1; 0.12; 0.18 ];
C = [ 0.0064 0.00408 0.00192 0;
      0.00408 0.0289 0.0204 0.0119;
      0.00192 0.0204 0.0576 0.0336;
      0 0.0119 0.0336 0.1225 ];

p = Portfolio;
p = setAssetMoments(p, m, C);
p = setDefaultConstraints(p);
pwgt = estimateFrontierLimits(p);

disp(pwgt);
    0.8891         0
    0.0369         0
    0.0404         0
    0.0336    1.0000

Was this topic helpful?