Skip to content
Prev 236711 / 398500 Next

Question about splines in R

Have you looked at lrm in rms? Harrell uses restricted cubic splines,  
but my understanding (subject to correction by my statistical betters)  
is that these are the same as natural cubic splines. The penalty  
matrix is returned as part of the fit object after being constructed  
and the model fit. You have the option of specifying knot locations or  
allowing these to be estimated.

require(rms)
?lrm
?pentrace

Option 2,,, try one of the many methods for searching?

RSiteSearch("penalized logistic")

... returned 95 hits