Ondrej Vozar
2009-Jun-03 14:12 UTC
[R] KernSmooth pckg - dpik function gives numeric(0) for kernel="epanech"
Dear colleagues, I have encountered following problem in R 2.9.0 and KernSmooth pckg v. 22.23-1. If I tried to choose to estimate bandwith for kernel density estimate with Epanechnikov filtr, I got result numeric(0). I used both scalest options with the same results However for the remaing kernels I got some results. Let me mention that I tried all geyser and faithful dataframe variables. The code is enclosed library(MASS) library(KernSmooth) x<-geyser$duration dpik(x,scalest="stdev",kernel="epanech") dpik(x,scalest="iqr",kernel="epanech") Thank you very much for advise what to do correctly. Ondrej Vozar [[alternative HTML version deleted]]