Description Usage Arguments Details Value Author(s) References Examples
A symbolic routine to define that the systematic component η is smooth and concave with respect to a predictor in a bcgam formula.
1 |
x |
a numeric predictor of length n. |
numknots |
number of knots used to constrain |
knots |
knots used to constrain |
space |
a character specifying the method to create knots. It is ignored when the |
sm.conc
returns the vector x
and assigns five attributes to it: name, shape (4 for
"smooth and concave"), numknots, knots and space.
This routine does not create the splines basis vectors by itself.
x |
The numeric predictor |
Cristian Oliva-Aviles and Mary C. Meyer
Meyer, M. C. (2008) Inference using shape-restricted regression splines. Annals of Applied Statistics 2(3), 1013-1033.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.