[R] Random sampling many times and run through glm model

chuck.01 CharlieTheBrown77 at gmail.com
Wed Nov 14 03:24:16 CET 2012


see:

?boot



SASandRlearn wrote
> I have a large dataset from which i need to take a random sample many
> times ( say N=50) and run it through the same glm() - logistic regression
> model everytime ( 50 times )  and capture the chi-square p-values ( Pr >
> ChiSq ) of the variables for each run and output  average p-value of the
> variables that went into the model. 
> 
> I have done this in SAS. LIke to know how i can do this in R. Any help is
> appreciated.





--
View this message in context: http://r.789695.n4.nabble.com/Random-sampling-many-times-and-run-through-glm-model-tp4649461p4649462.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list