<< pairs Graphics plotsym >>

Stixbox >> Graphics > plotdens

plotdens

Draw a nonparametric density estimate

Calling Sequence

plotdens(X)
plotdens(X,h,P,K)

Parameters

x,y

two matrices or vectors.

h

is the kernel bandwidth,

P

is 1 if the density is known to be 0 for negative X,

K

1: Gaussian (the default)

2: Epanechnikov

3: Biweight

4: Triangular

Description

Draw a nonparametric density estimate. A density estimate is plotted using a kernel density estimate.

Below the density estimate a jittered plot of the observations is shown.

See Also


Report an issue
<< pairs Graphics plotsym >>