|
"leo nidas" <bleonidas25@yahoo.gr> wrote in message <keudb5$kvq$1@newscl01ah.mathworks.com>...
>
> Hi there,
>
> I would like to estimate a kernel density based on a sample. However, I want to force the expectation of the obtained density estimate to be zero.
>
> Any information for any piece of matlab code or even any theory about known approaches would be great. Thanx in advance for any answers!
I am not sure why you want to force the density to zero, but the Statistics toolbox has a built in ksdensity function.
doc ksdensity
Maybe this will help get you started.
Apologies if this was something you were already aware of.
|