I have to estimate the marginal density with the kernel method, using the Gaussian Kernel for returns of a stock (cs). Below is the code that I have for the moment, however, I a