Plotkd

From Eigenvector Research Documentation Wiki
Revision as of 09:21, 2 September 2008 by imported>Jeremy (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Kernel density plot.

Synopsis

plotkd(x,distname,kernel,userw,translate)

Description

Provides a kernel density plot of the input x and an overlay. INPUTS:

  • x = matrix (column vector) in which the sample data is stored.
  • distname = string, optional distribution name to assume as the parent distribution for the sample. Default value is 'normal'.
  • kernel = Integer between 1 and 7 indicating which kernel to use.
  • 1 - Bivwight
  • 2 - Cosine
  • 3 - Epanechnikov {default}
  • 4 - Gaussian
  • 5 - Parzen
  • 6 - Triangle
  • userw = scalar, the optional window width to use in the kernel calculation. If not specified, then the optimal window width is used according to the calculation:
  • translate = scalar, axis translation.

Examples

plotkd(x) plotkd(x,'normal')

See Also

plotcqq, plotedf, plotqq, plotsym