Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
kernel, ksdensity, force zero mean

Subject: kernel, ksdensity, force zero mean

From: leo nidas

Date: 6 Feb, 2013 20:10:13

Message: 1 of 2


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!

Subject: kernel, ksdensity, force zero mean

From: Marc

Date: 7 Feb, 2013 03:41:12

Message: 2 of 2

"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.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us