Learn R Programming

smooth (version 1.6.3)

hm:

Description

hm function estimates half moment from some predefined constant C. cbias function calculates bias based on hm.

Usage

hm(x,C=mean(x),digits=5,...)
    cbias(x,C=mean(x),digits=5,...)

Arguments

x
A variable based on which HM is estimated.
C
Centering parameter.
digits
Number of digits for rounding.
...
Other parameters passed to mean function.

Value

A complex variable is returned for hm function and real value is returned for cbias.

Details

NA values of x are excluded on the first step of calculation.

References

TBA

Examples

Run this code
x <- rnorm(100,0,1)
hm(x)
cbias(x)

Run the code above in your browser using DataLab