Description PSM functions Author(s)
The PSM package provides the main function "PartialSplines" that allows the user to estimate a model through which the response variable is a explained by its linear relationship with a group of explanatory variables and a spline variable with which the functional relationship is unknown. The package includes some method functions to simplify user's work. Unfortunately the first version of PSM do not permit to specify the linear part through a formula, therefore the only way to add interaction between variables is by doing it manually inside the input dataframe 'x'. This is one of the first improvements that will be made.
PartialSplines - to estimate the model
psm.cv - to optimize parameters through cross validation
coef - method function
predict - method function
fitted - method function
print - method function
plot - method function
other functions for internal use
Giuseppe Reale, Salvatore Mirlocca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.