This function is only intended for an internal use.
derivcvxpec(dim, t, zhat, D, kk)Does not return anything. Changes the inputs according to the algorithm.
vector of sample size, size of newdata and which derivative to compute.
x-vector in cvx.lse.reg and others.
prediction obtained from cvx.lse.reg and others.
derivative vector obtained from cvx.lse.reg and others.
vector storing the final prediction.
Arun Kumar Kuchibhotla
The estimate is a linear interpolator and the algorithm implements this.