Home   >   User Resources   >   Online Help   >   apaMeanMAD.Restricted.Bounded.Weights.FromMAD
 

 

Function index Version 3.0.0

apaMeanMAD.Restricted.Bounded.Weights.FromMAD(Returns, targetMAD, lowerBounds, upperBounds, Budget)

Excel=apaMeanMAD.Restricted.Bounded.Weights.FromMAD(Returns, targetMAD, lowerBounds, upperBounds, Budget)

Result

Returns the composition of the restricted and bounded maximum return portfolio subject to a target MAD (mean absolute deviation).

Syntax

Returns: nObs x nAssets matrix of portfolio constituent returns, each column containing a constituent

targetMAD: target MAD (mean absolute deviation)

lowerBounds: 1 x nAssets vector of lower bounds

upperBounds: 1 x nAssets vector of upper bounds

Budget: value of the equality constraint on total portfolio exposure, i.e. the sum of constituent exposures

Pressing Esc aborts the calculation; the function then returns "Calculation aborted by user."