I am applying a Gaussian filter to smooth my data in Python, specifically I am applying the scipy
function gaussian_filter1d
. This function receives the standard deviation for the gaussian distribution as an argument. It works great but I was exploring the ksmooth
function in R which is based on the Nadayara-Watson kernel-regression estimate and it uses the bandwidth as a parameter.
I am wondering if there exists a relationship between the standard deviation and the bandwidth, and if both implementations are comparable.