PureBytes Links
Trading Reference Links
|
How do I convert LPM this to AFL, then optimize it?
The Lower Partial Moment for discrete data can be defined as...
LPM(m) = 1/N * sum[ max[ L(t) - r(t), 0]^m ]
LPM(m)... Lower Partial Moment of order m
x(t)... helper variable // not sure how to conver this
L... some threshold
r(t)... portfolio returns
Continous definition function...
LPM(m) = int[ {(L(t) - r(t)}^m, dF(r), -inf, L]
///////////
LPM = 1/N * sum( max( L(t) - r(t), 0)^m ); // This is erroring out
///////////
Thanks,
MV
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Attachment:
LPM Research.pdf
Description: Adobe PDF document
|