powered by
Nonparametric smoothing
loc_constant(bw, x, y, db_kernel = 0L)
a matrix of smoothed values
double, bandwidth, between 0 and 1.
vector, covariates
matrix, response variables
bool, whether to use jackknife kernel, default 0
n <- 800 p <- 3 t <- (1:n)/n V <- matrix(rnorm(n * p), nrow = p) V3 <- loc_constant(0.2, t, V,1)
Run the code above in your browser using DataLab