apaLPM(Returns, Threshold, Degree)
Excel
=apaLPM(Returns, Threshold, Degree)Result
Calculates the lower partial moment (LPM) of a return time series.
Syntax
Returns: r x 1 vector of returns
Threshold: return threshold
Degree: degree (order) of the lower partial moment
Remarks
Partial moments divide by the total number of observations n (population-type).
