HIST

Purpose

Prints a simple histogram.

Syntax

HIST vlist  { ; { BY catname } { INT nval  }  }  @

Arguments and Subcommands

vlist

Up to 10 variables for which histograms will be displayed. At least one variable must be specified. If additional subcommands are given, the list should be terminated with a semicolon (;).

BY catname

Up to 5 categorical variables used to define strata for separate histograms. Separate histograms with the same scale are printed for each level of the BY variable.

INT nval

nval is an integer between 2 and 20 that sets the number of intervals. The default is a histogram with 12 intervals.

Remarks

The histograms produced by the EPICURE programs are quite basic. If one needs higher quality plots the data should be written to a file (using the DATA command) and examined with another program.

Example

To produce histograms of dose, wght and age for males and females.

LEVELS sex @

HIST dose wght age; BY sex @