Learn R Programming

bda (version 1.2.7-31)

biased: Biasing Functions

Description

Some typical biasing functions and inverse functions of the corresponding cumulative biasing functions.

Usage

bs.w.length(x)
  bs.W.length(x)
  bs.w.area(x)
  bs.W.area(x)
  bs.w.invlength(x)
  bs.W.invlength(x)

Arguments

x
vector of observations from the distribution whose density is to be estimated. Missing values are not allowed.

encoding

UTF-8

Details

x should be all positive. The bs.W.xxx function is the inverse function of the cumulative biasing function of biasing function bs.w.xxx.

References

Wang, B. and Wang, X-F. (2007). "Bandwidth Selection for Weighted Kernel Density Estimation".

See Also

tkde, density, wkde.

Examples

Run this code
x = rnorm(10, 34.5, 5)
bs.w.length(x)
bs.W.length(x)

Run the code above in your browser using DataLab