Skip to content

spline with multiple predictor vars?

4 messages · Nirmal Govind, Simon Wood, Thomas W Blackwell

#
Hi, is there a way in R to generate a polynomial spline with multiple predictor
variables? I have one response and two predictors and I'm trying to fit a
spline model for this...

Please cc me on the reply..

Thanks,
nirmal
#
There are thin plate regression splines in mgcv and thin plate splines and
tensor product splines in gss that will probably do what you want.

See examples in mgcv helpfile ?gam for a couple of examples.
_____________________________________________________________________
#
gam() and friends comes close.  Not literally a cubic B spline,
but the same effect.  "Generalized Additive Models" a la Hastie
and Tibshirani.

-  tom blackwell  -  u michigan medical school  -  ann arbor  -
On Sun, 6 Apr 2003, Nirmal Govind wrote:

            
#
Thanks for all the suggestions.. I will investigate thin plate regression 
splines, gam, mars... would the best references for these be the ones 
mentioned in the help for these?

Thanks,
nirmal