[R] using GAM to assess the linearity in logistic regression

Wensui Liu liuwensui at gmail.com
Sat Apr 2 06:37:13 CEST 2005


I am a little confused about what you asked. 

If you want to assess the linearity in logistic regression, why do you
want to use GAM instead of GLM?

As far as I understand, GAM is used to capture nonlinearity rather linearity.

Am I right here?


On Apr 1, 2005 10:19 PM, ronggui <0034058 at fudan.edu.cn> wrote:
> as agresti(2002) points out that we had better to screen the data to see if the the logit(pi) and the predictor has linear realtionship in logistic regressin.and i find some materials  in MASS and the refernce of s-plus.but it is a bit  simple and i can not exactly master the means to assess the linearity in logistic regression. so anyone suggest some materials?
> 
> i am not familiar with GAM,but i think thers maybe some materials can let me use GAM to assess the linearity in logistic regression without master GAM model. is it right?
> 
> thank you!
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 


-- 
WenSui Liu, MS MA
Senior Decision Support Analyst
Division of Health Policy and Clinical Effectiveness
Cincinnati Children Hospital Medical Center




More information about the R-help mailing list