MonoMat {sharpData} | R Documentation |
This computes a matrix of coefficients of the first derivatives of monotonic local linear sharpening problem.
MonoMat(xgrid, x, h, d)
xgrid |
numeric vector of locations where monotonicity constraint is to be enforced |
x |
numeric explanatory vector |
h |
numeric bandwidth |
d |
local polynomial degree, can be either 0 or 1 |
a list containing the A matrix and the number of rows in A.
W.J. Braun