derivOperator {sharpPen} | R Documentation |
Shape Constraint Matrix Construction
Description
Construct a shape constraint matrix at a corresponding sequence of x data and sequence of gridpoint z.
Usage
derivOperator(penalty,gamma,h, xx,zz,p)
Arguments
penalty |
the type of shape constraint, can be "drv1", "drv2", "drv3", "drv4", "Exponential" and "Periodicity". |
gamma |
the shape constraint parameter |
h |
the kernel bandwidth smoothing parameter. |
xx |
numeric vector of x data. Missing values are not accepted. |
zz |
numeric vector of gridpoint z data. Missing values are not accepted. |
p |
degree of local polynomial used. |
Value
shape constraint matrix
Author(s)
X.J. Hu
[Package sharpPen version 1.9 Index]