DMADENSITY procedure

Plots the empirical CDF or PDF (kernel smoothed) by groups (D.B. Baird).


Options

PLOT = strings
What to plot (cdf, pdf, histogram); default cdf, pdf

TRANSFORMATION = string
Whether to transform the data to log base 2 (log2, none); default none

BANDWIDTH = scalar
Bandwidth to use in kernel density estimates for PDF

ARRANGEMENT = string
Whether to use trellis or single plots (single, trellis); default trel

WINDOW = scalar
Window number for the graphs; default 3

KEYWINDOW = scalar
Window number for the key; default 0 i.e. none

DEVICE = scalar
Device number on which to plot the graphs

GRAPHICSFILE = text
What graphics filename template to use to save the graphs; default *


Parameters

DATA = variates or pointers
Data coordinates

GROUPS = factors
Groups


Description

DMADENSITY plot the empirical cumulative probability density function (CDF) or probability density function (PDF) as estimated by kernel smoothing. The bandwidth for the smoothing must be specified by the BANDWIDTH option. By default the data values are untransformed, but you can set option TRANSFORMATION=log2 to transform them to logarithms base 2.

   The data variate is specified by the DATA parameter, and the GROUPS parameter can supply a factor to define groups within which the CDF and PDF are to be displayed. By default the plots for the groups are displayed in a trellis arrangement, but you can set option ARRANGEMENT=single to display them separately, in single plots.

   The WINDOW option specifies the window to use (by default 3), and the KEYWINDOW option can specify a window for a key (by default there is none). You can use the DEVICE option to plot to a device other than the screen. The GRAPHICSFILE option specifies then supplies a template for the file names.

 

Options: PLOT, TRANSFORMATION, BANDWIDTH, ARRANGEMENT, WINDOW, KEYWINDOW, DEVICE, GRAPHICSFILE.

Parameters: DATA, GROUPS.


Action with RESTRICT

The DATA variate(s) can be restricted to use just a subset of the data values.