hm: Half moment of a distribution and its derivatives.
Description
hm function estimates half moment from some predefined constant
C. ham estimates half absolute moment. Finally, asymmetry
function returns asymmetry coefficient, while extremity
returns the coefficient of excess, both based on hm.
Usage
hm(x, C = mean(x), ...)
ham(x, C = mean(x), ...)
asymmetry(x, C = mean(x), ...)
extremity(x, C = mean(x), ...)
Arguments
x
A variable based on which HM is estimated.
C
Centring parameter.
...
Other parameters passed to mean function.
Value
A complex variable is returned for hm function and real values
are returned for asymmetry and ham.
Details
NA values of x are excluded on the first step of calculation.