Truncated Gaussian kernel function
Truncated Gaussian kernel function
TruncGauss.kernel(x, sigma = 1)
x |
a vector. |
sigma |
the standard deviation of the truncated gaussian kernel. |
Truncated Gaussian Kernel with sigma the standard deviation parameter with default value 1.
K(x) = (1/{sigma*sqrt(2 π)} exp(-(x/sigma)^2/2)) (abs(x) <= 1)
We recommend a critical value of 3.6 for this kernel with sigma=1.
plot(function(x) TruncGauss.kernel(x), -2, 2, main = " Truncated Gaussian kernel")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.