[R] Restricted cubic spline function ERROR?: glm(Y~rcs(x,5))

From: Jan Verbesselt <Jan.Verbesselt_at_biw.kuleuven.be>
Date: Mon 02 May 2005 - 18:06:55 EST

Dear all,

Is the restricted cubic spline function working properly in the glm model?

We used glm(y~rcs(x,5), family=binomial) but it seems that for some theoretical reasons the rcs, restricted cubic spline function can not be fitted by a glm function. Is this correct?


((Originally, we used lrm(y~ rcs(x,5)) but we couldn't find how to derive the AIC value of the fitted model. Is there a solution?))

R-help@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 Received on Mon May 02 18:10:24 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:31 EST