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
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
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
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.
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
5 matches
Mail list logo