Previous Page  Next Page 
Examining Distributions

Kernel Density Curve

A kernel density curve may follow the shape of the distribution more closely. To construct a normal kernel density curve, one parameter is required: the bandwidth {\lambda}.The value of {\lambda} determines the degree of smoothing in the estimate of the density function. You can either specify a value of {\lambda}, or you can let SAS/INSIGHT software find a value based on minimizing an estimate of the mean integrated square error (MISE).


Choose Curves:Kernel Density.

exd16.gif (3201 bytes)

Figure 12.16: Kernel Density Estimation Dialog


Click OK in the dialog.

The kernel density curve is constructed with a bandwidth based on the approximated mean integrated square error (AMISE), and it provides a good visual representation of the distribution, as illustrated in Figure 12.17. A table containing the bandwidth and the AMISE is also added to the window.

exd17.gif (14384 bytes)

Figure 12.17: Kernel Density Estimate

The C Value slider in the table can be used to change the C value of the kernel estimate. You can use the slider in three ways:


Click the left arrow button in the slider.


This decreases the C value by half. As the C value decreases, the density estimate becomes less smooth, as illustrated in Figure 12.18.


Click within the slider, just to the right of the slider control.


This moves the slider control to the position where you click. The C value is set to a value proportional to the slider position. On most personal computers, clicking within the slider is the fastest way to adjust a curve.


Drag the slider control left and right.


When you drag the slider, its speed depends on the number of data points, the type of curve, and the speed of your host. Depending on your host, you may be able to improve the speed of the dynamic graphics with an alternate drawing algorithm. To try this, choose Edit:Windows:Graph Options, and set the Fast Draw option.

exd18.gif (14252 bytes)

Figure 12.18: Kernel Density Estimate with a Smaller C Value

Previous Page  Next Page  Top of Page

Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.