powered by
Gaussian kernel function
Gaussian.kernel(x)
a vector.
Gaussian Kernel with the value of standard deviation equal to 1/3. $$ K(x) = (1/{(1/3)*sqrt(2 \pi)} exp(-(3*x)^2/2)) (abs(x) <= 1) $$ We recommend a critical value of 8.3 for this kernel.
# NOT RUN { plot(function(x) Gaussian.kernel(x), -2, 2, main = " Gaussian kernel") # }
Run the code above in your browser using DataLab