Re: [R] how do remove those predictor which have p value greater than 0.05 in GLM?

2010-11-23 Thread Greg Snow
10 3:10 PM > To: r-help@r-project.org > Subject: Re: [R] how do remove those predictor which have p value > greater than 0.05 in GLM? > > > Thanks for the response, Frank. > I am not saying that I want to delete a variables because of p>0.5. But > my > concern wa

Re: [R] how do remove those predictor which have p value greater than 0.05 in GLM?

2010-11-22 Thread David Winsemius
On Nov 22, 2010, at 5:10 PM, shubha wrote: Thanks for the response, Frank. I am not saying that I want to delete a variables because of p>0.5. Presumably that was meant to be p > 0.05 But my concern was: I am using backward stepwise logistic regression, it keeps the variables in the fina

Re: [R] how do remove those predictor which have p value greater than 0.05 in GLM?

2010-11-22 Thread shubha
Thanks for the response, Frank. I am not saying that I want to delete a variables because of p>0.5. But my concern was: I am using backward stepwise logistic regression, it keeps the variables in the final model if the variable significantly contributing in the model. Otherwise, it should not be

Re: [R] how do remove those predictor which have p value greater than 0.05 in GLM?

2010-11-22 Thread Frank Harrell
What would make you want to delete a variable because P > 0.05? That will invalidate every aspect of statistical inference for the model. Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/how-do-remove-

[R] how do remove those predictor which have p value greater than 0.05 in GLM?

2010-11-22 Thread shubha
Hi R user, I am a kind of an intermediate user of R. Now I am using GLM model (library MASS, VEGUS). I used a backward stepwise logistic regression, but i got a problem in removing those predictors which are above 0.05. I don't want to include those variables which were above 0.05 in final backw