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, cbias
function returns bias based on hm.
Usage
hm(x, C = mean(x), ...)
ham(x, C = mean(x), ...)
cbias(x, C = mean(x), ...)
Arguments
x
A variable based on which HM is estimated.
C
Centering parameter.
...
Other parameters passed to mean function.
Value
A complex variable is returned for hm function and real values
are returned for cbias and ham.
Details
NA values of x are excluded on the first step of calculation.