Create a Bar Graph


You must have the Lesson5.PGM open and run prior to completing this lesson, as the code created in the previous lesson affects these graphs.

Use bar graphs to make comparisons of single events and the differences between them. To visually present the age distribution of the survey population, you will create a bar graph of the Age variable.

  1. From the Command Tree Statistics folder, click Graph. The Graph dialog box opens.

Create a bar graph

  1. From the Main Variable drop-down menu, select the X-Axis value of Age.

  2. Click OK. Epi Graph opens.

  1. View the bar graph.

  1. Click the Close X. The bar graph is now embedded in the Output window and part of your output file.

Your graph should look like the following:

Bar graph