apaModigliani.M2(Returns, BenchmarkReturns, RiskfreeReturns, DoShowExcessOverBenchmark)
=apaModigliani.M2(Returns, BenchmarkReturns, RiskfreeReturns, DoShowExcessOverBenchmark)Result
Returns the Modigliani risk-adjusted performance M², i.e. the return the portfolio would have earned at the volatility of the benchmark.
Syntax
Returns: r x c matrix of returns. Each column represents a different time series.
BenchmarkReturns: r x 1 vector (shared by all columns) or r x c matrix of benchmark returns
RiskfreeReturns: optional; single value, r x 1 vector (shared by all columns) or r x c matrix of riskfree returns per period; default: 0
DoShowExcessOverBenchmark: optional; TRUE returns M² minus the mean benchmark return, FALSE returns M²; default: FALSE
Algorithm
M² = mean(rf) + mean(r − rf) / s(r − rf) · s(rb − rf) (Modigliani and Modigliani 1997).
Remarks
The result is a 1 x c row vector with one value per column of Returns.
The ratio of standard deviations is the same for sample and population estimates. The result has the frequency of the input data.
