AsyK (version 1.3.2)

laphcomp: Calculate MSE with and ranking of Bandwidth with respect to MSE for Laplace Kernel.

Description

Caculate MSE with 19 bandwidths by using Laplace Kernel.

Usage

laphcomp(y, k, type)

Arguments

y

a numeric vector of positive values.

k

gird points.

type

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

Value

MSE withh 19 bandwidths, Ranks, Minimum MSE, Maximum MSE

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
y<-rexp(100,1)
  laphcomp(y, 200, "Exp")
# }

Run the code above in your browser using DataCamp Workspace