mseEr: Calculate Mean Squared Error( MSE) when Erlang kernel is used
Description
Calculate MSE by using Erlang Kernel.
Usage
mseEr(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".If Weibull distribution then use "Weibull".
Value
MSE
References
Salha, R. B.; Ahmed, E. S.; Alhoubi, I. M. 2014. Hazard rate function estimation ksing Erlang Kernel. Pure Mathematical Sciences3 (4), 141<U+2013>152.
See Also
For further MSE by using other kernels see mseBS, mseLN and mseGamma. For estimated values for density estimation Erlang and for density estimation by using Erlang Kernel plot.Erlang.