HISTOGRAM subcommand (FREQUENCIES command)
HISTOGRAM displays a plot for each numeric variable named on the VARIABLES subcommand. By default, the horizontal
axis of each histogram is scaled in frequencies and the interval width
is determined by the largest frequency count of the variable being
plotted.
- The minimum specification is the
HISTOGRAMkeyword, which generates default histograms. -
HISTOGRAMcannot be used withBARCHART.
MIN(n). Lower bound below which values are not plotted.
MAX(n). Upper bound above which values are not plotted.
FREQ(n). Vertical axis
scaled in frequencies, where optional n is the scale. If n is not specified or if it is too small, FREQUENCIES chooses 5, 10, 20, 50, 100,
200, 500, 1000, 2000, and so forth, depending on the largest category.
This is the default.
NORMAL. Superimpose
a normal curve. The curve is based on all valid values
for the variable, including values excluded by MIN and MAX.
NONORMAL. Suppress the normal curve. This is the default.
Example
FREQUENCIES VARIABLES = V1 /HIST=NORMAL.
-
FREQUENCIESrequests a histogram with a superimposed normal curve.