The RAREEVENTS Procedure(Experimental)

COMPARE Statement

  • COMPARE process < / options>;

The COMPARE statement produces a graph that compares the process data to a probability distribution. Integer data are displayed in a needle plot, and continuous data are displayed in a histogram.

Table 16.2: COMPARE Statement Options

Option

Description

DIST=

Specifies the theoretical distribution that is compared to the sample

NBINS=

Specifies the number of bins that are used to display the data distribution

NOHLABEL

Suppresses the horizontal axis label of a comparison chart

NOVLABEL

Suppresses the vertical axis label of a comparison chart

ODSFOOTNOTE=

Adds a footnote to a comparison chart

ODSFOOTNOTE2=

Adds a secondary footnote to a comparison chart

ODSTITLE=

Specifies a title for a comparison chart

ODSTITLE2=

Specifies a secondary title for a comparison chart


You can specify the following option only in the COMPARE statement. For detailed descriptions of options common to the CHART and COMPARE statements, see the section Common CHART and COMPARE Statement Options.

NBINS=n

specifies the number of bins that are used to display the process data in a comparison plot. For integer data, the default number of bins in the needle plot is $\min (15, \lceil u/50 \rceil )$, where u is the number of unique data values. For continuous data, the default number of histogram bins is based on the total number of observations, using the method of Terrell and Scott (1985).