[R] about dpik

chester123 chester123 at live.cn
Tue Jul 17 12:50:21 CEST 2012


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: http://r.789695.n4.nabble.com/about-dpik-tp4636738.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list