Skip to content
Prev 8501 / 15274 Next

probable error in Omega (PerformanceAnalytics) calculation

I shouldn't use last() + cumsum() but just sum() instead to calculate
the areas over/under CDF for the numerator/denominator.

The difference actually in the areas over which omega is calculated.
The original version calculates it like this (the nominator is taken
over (-Inf,L))
sum(1-f(xcdf$x[xcdf$x<=L]))/sum(f(xcdf$x[xcdf$x<=L]))

while the modified one do it like this (the nominator is taken over (L,+Inf))
sum(1-f(xcdf$x[xcdf$x>L]))/sum(f(xcdf$x[xcdf$x<=L]))

This is all the difference.

Did you find any superior performance measure to the Omega? I am
actually looking for a ways to incorporate all the moments in an asset
selection problem because I am working with far-from-normal
distributions.

Thanks!

Kind regards,
Alex

2011/9/16 Brian G. Peterson <brian at braverock.com>: