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

SASandRlearn sasandrlearn at gmail.com
Wed Nov 14 03:13:38 CET 2012


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-tp4649461.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list