righcomp {AsyK}R Documentation

Calculate MSE with and ranking of Bandwidth with respect to MSE for RIG kernel.

Description

Caculate MSE with 19 bandwidths by using Resiprocal Inverse Gaussian Kernel.

Usage

righcomp(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".

Details

This function helps to calculate MSE by using 19 different bandwidths which are Normal Scale Rule (NSR), Complete Cross Validation (CCV), Biased Cross Validation (BCV), Unbiased Cross Validation (UBCV), Direct Plug-In (DPI), Modified Cross Validation (MCV), Maximum Likelihood Cross Validation (MLCV), Trimmed Cross Validation (TCV),Smooth Cross Validation (SCV), Bootstrap without Sampling (bWOs), Bootstrap with Sampling (bWs), Bandwidth of Altman and Leger (AL),One-sided Cross Validation (OCV), Akaike information criterion (AIC),Indirect Cross Validation (ICV), Mallow’ Cp (MallowCp), Generalized Cross Validation (GCV), Polansky and Baker Plug-In (PB), and Gasser, Kniep, and Köhler Cross Validation (GKK). For Laplace kernel see laphcomp

Value

MSE with 19 bandwidths, Ranks, Minimum MSE, Maximum MSE

Author(s)

Javaria Ahmad Khan, Atif Akbar.

References

Scaillet, O. 2004. Density estimation using inverse and reciprocal inverse Gaussian kernels. Nonparametric Statistics, 16, 217-226.

Examples

 y<-rexp(100,1)
  righcomp(y, 200, "Exp")

[Package AsyK version 1.5.4 Index]