search for: hscv

Displaying 5 results from an estimated 5 matches for "hscv".

Did you mean: hsc
2010 Dec 09
1
Bivariate kernel density bandwidth selection
I've been trying to implement bivariate kernel density estimation. For data like mine, function "kde" from package "ks" with bandwidth matrix derived by function "Hscv" seems like a very good choice. Unfortunately, Hscv seems unmanageably slow except for very small sample sizes (up to a few hundred) and my sample sizes are quite large (up to a few thousand). I've reviewed help files, vignettes, previous postings on this list, and the JSS paper describi...
2012 Jan 19
1
converting a for loop into a foreach loop
...8 1765492 1765492 1765637 1765383 ... $ Y1 : num -3834667 -3834964 -3834964 -3834786 -3834990 ... for (i in 1:15) { x = data[data$ID == i, 1:10] for (j in 1:length(x$day)) { y = x[x$day == j, 1:10] for (k in 1:length(y$hour1)) { z = y[y$hour1 == k, 1:10] H.scv <- Hscv(z, pilot = "unconstr") KDE <- kde(z, H=H.scv, approx.cont=TRUE) str(KDE) head(KDE) write.csv(KDE, file = paste("KDE",i j k,".csv"), row.names=T) } } } The foreach code I've tried (unsuccessfully) is: x <- foreach(a = data[, 'ID'], .combine = &quo...
2020 Oct 28
2
R optim() function
Hi R-Help, I am using R to do functional outlier detection (using PCA to reduce to 2 dimensions - the functional boxplot methodology used in the Rainbow package), and using Hscv.diag function to calculate the bandwidth matrix where this line of code is run: result <- optim(diag(Hstart), scv.mat.temp, method = "Nelder-Mead", control = list(trace = as.numeric(verbose))) Within the optim function, there is a call to an external C function: .External2(C_optim, pa...
2009 Nov 26
2
Export kde object as shapefile
I am trying to estimate home range size using the plug-in method with kernel density estimation in the kernel smoothing (ks) package. Unless there is another way I am not familiar with, in order to calculate spatial area under the space I need to convert my kde () object into a spatial object somehow in order to calculate its spatial area. Could someone demonstrate how this might be done? --
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking