## Documentation Center |

Kernel smoothing function estimate

`ksdensity(___)`example`ksdensity(ax,___)`

`[ f,xi]
= ksdensity(x)` returns a probability
density estimate,

`ksdensity` works best with continuously distributed
samples.

`[ f,xi]
= ksdensity(x,pts)` returns
a probability density estimate,

`[ f,xi]
= ksdensity(x,pts,Name,Value)` returns
a probability density estimate,

For example, you can define the function type `ksdensity` evaluates,
such as probability density, cumulative probability, survivor function,
and so on. Or you can specify the bandwidth of the smoothing window.

[1] Bowman, A. W., and A. Azzalini. *Applied
Smoothing Techniques for Data Analysis*. New York: Oxford
University Press Inc., 1997.

Was this topic helpful?