mserig

0th

Percentile

Calculate Mean Square Error( MSE) when RIG kernel is used.

Calculate MSE by using Resiprocal Inverse Gaussian Kernel.

Usage
mserig(y, k, h, type)
Arguments
y

a numeric vector of positive values.

k

gird points.

h

the bandwidth

type

mention distribution of vector.If exponential distribution then use "Exp". if use gamma distribution then use "Gamma".

Value

MSE

Aliases
  • mserig
Examples
# NOT RUN {
y<-rexp(100,1)
h<-0.79 * IQR(y) * length(y) ^ (-1/5)
mserig(y,200,h,"exp")
# }
Documentation reproduced from package AsyK, version 0.1.0, License: GPL-2

Community examples

Looks like there are no examples yet.