Re: [R] delete-d jackknife

2010-11-25 Thread ufuk beyaztas
Thank you so much :) -- View this message in context: http://r.789695.n4.nabble.com/delete-d-jackknife-tp3058335p3059364.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/li

Re: [R] delete-d jackknife

2010-11-24 Thread Dennis Murphy
Hi: You could always create a matrix of nCd combinations of size d from n = length(data) and apply your delete-d jackknife to that. Here's a simple version for delete-2: # data vector > u <- rnorm(10) > library(combinat) Attaching package: 'combinat' The following object(s) are masked from 'pack

[R] delete-d jackknife

2010-11-24 Thread ufuk beyaztas
Hi dear all, Can aynone help me about delete-d jackknife usually normal jackknife code for my data is: n <- nrow(data) y <- data$y z <- data$z theta.hat <- mean(y) / mean(z) print (theta.hat) theta.jack <- numeric(n) for (i in 1:n) theta.jack[i] <- mean(y[-i]) / mean(z[-i]) bias <- (n - 1) * (mea

Re: [R] delete d-jackknife with R ?

2010-09-24 Thread Peng, C
You may want to use combinations() in package {gtools} and write a function with a few lines to perform your leave-k-out procedure. -- View this message in context: http://r.789695.n4.nabble.com/delete-d-jackknife-with-R-tp2553192p2585783.html Sent from the R help mailing list archive at Nabble.

[R] delete d-jackknife with R ?

2010-09-24 Thread Lise Bellanger
Hello, I would like to know if there exists a function in a library or code development in /R/ to do delete d-jackknife ? In fact, instead of leaving out one observation at a time as with jackknife, we leave out /d/ observations. Thank you very much for your answer ! Lise Bellange