Re: [R] boot() with glm/gnm on a contingency table

2012-09-16 Thread Milan Bouchet-Valat
Le mercredi 12 septembre 2012 à 07:08 -0700, Tim Hesterberg a écrit : > One approach is to bootstrap the vector 1:n, where n is the number > of individuals, with a function that does: > f <- function(vectorOfIndices, theTable) { > (1) create a new table with the same dimensions, but with the coun

Re: [R] boot() with glm/gnm on a contingency table

2012-09-12 Thread Tim Hesterberg
>Le mercredi 12 septembre 2012 à 07:08 -0700, Tim Hesterberg a écrit : >> One approach is to bootstrap the vector 1:n, where n is the number >> of individuals, with a function that does: >> f <- function(vectorOfIndices, theTable) { >> (1) create a new table with the same dimensions, but with the

Re: [R] boot() with glm/gnm on a contingency table

2012-09-12 Thread Milan Bouchet-Valat
Le mercredi 12 septembre 2012 à 07:08 -0700, Tim Hesterberg a écrit : > One approach is to bootstrap the vector 1:n, where n is the number > of individuals, with a function that does: > f <- function(vectorOfIndices, theTable) { > (1) create a new table with the same dimensions, but with the coun

Re: [R] boot() with glm/gnm on a contingency table

2012-09-12 Thread Tim Hesterberg
One approach is to bootstrap the vector 1:n, where n is the number of individuals, with a function that does: f <- function(vectorOfIndices, theTable) { (1) create a new table with the same dimensions, but with the counts in the table based on vectorOfIndices. (2) Calculate the statistics of

[R] boot() with glm/gnm on a contingency table

2012-09-11 Thread Milan Bouchet-Valat
Hi everyone! In a package I'm developing, I have created a custom function to get jackknife standard errors for the parameters of a gnm model (which is essentially the same as a glm model for this issue). I'd like to add support for bootstrap using package boot, but I couldn't find how to proceed.