[R] about dpik

chester123
Tue, 17 Jul 2012 10:50:21 -0000

Thanks in advance here.

I use dpik() function to calculate the bandwidth h. Following is the related
code:
h<-dpik(x,scalest="minim",level=2L,kernel="normal",canonical=FALSE,gridsize=401L,range.x=range(x),truncate=TRUE)

But there is  warning messages:
1: In bkfe(gcounts, 6L, alpha, range.x = c(sa, sb), binned = TRUE) :
  Binning grid too coarse for current (small) bandwidth: consider increasing
'gridsize'
2: In bkfe(gcounts, 4L, alpha, range.x = c(sa, sb), binned = TRUE) :
  Binning grid too coarse for current (small) bandwidth: consider increasing
'gridsize'

I don't know what it means and how to deal with it.

Thanks

Regards


--
View this message in context: