[R] logistic regression
Liaw, Andy
andy_liaw at merck.com
Mon Aug 2 17:50:53 CEST 2004
My suggestion would be a generalized additive model, which you can fit with
gam() in the `mgcv' package. If you are adventureous you can also try it
`by hand' using glm() with spline terms. You might also try lrm() with
splines (in the `Design' package) as described in Prof. Harrell's book
`Regression Modelling Strategies'.
HTH,
Andy
> From: Kevin Cummins
>
> I have a system with a binary response variable that was
> hypothesized to
> follow a simple logistic function. The relationship between
> the continuous
> independent variable and the logit is clearly not monotonic.
> I have two
> questions. 1) Can anyone recommend a reference that describes
> my modeling
> options in this case, and 2) what facilities does R have to
> deal with this
> situation?
>
> Thanks,
> Kevin Cummins
> School of Medicine
> University of California San Diego
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list