14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2 Performing Univariate <strong>Analysis</strong> 37<br />

The Distribution Report<br />

Resize Histogram Bars for Continuous Variables<br />

Resize histogram bars for continuous variables by using the following:<br />

• the Grabber (h<strong>and</strong>) tool<br />

• the Set Bin Width option<br />

• the Increment option<br />

Use the Grabber Tool<br />

The Grabber tool is a quick way to explore your data.<br />

1. Select Tools > Grabber.<br />

Note: (Windows only) To see the menu bar, you might need to hover over the bar below the window title.<br />

You can also change this setting in File > Preferences > Windows Specific.<br />

2. Place the grabber tool anywhere in the histogram.<br />

3. Click <strong>and</strong> drag the histogram bars.<br />

Think of each bar as a bin that holds a number of observations:<br />

• Moving the h<strong>and</strong> to the left increases the bin width <strong>and</strong> combines intervals. The number of bars<br />

decreases as the bar size increases.<br />

• Moving the h<strong>and</strong> to the right decreases the bin width, producing more bars.<br />

• Moving the h<strong>and</strong> up or down shifts the bin locations on the axis, which changes the contents <strong>and</strong> size of<br />

each bin.<br />

Use the Set Bin Width Option<br />

The Set Bin Width option is a more precise way to set the width for all bars in a histogram. To use the Set<br />

Bin Width option, from the red triangle menu for the variable, select Histogram Options > Set Bin Width.<br />

Change the bin width value.<br />

Use the Increment Option<br />

The Increment option is another precise way to set the bar width. To use the Increment option,<br />

double-click on the axis, <strong>and</strong> change the Increment value.<br />

Highlight Bars <strong>and</strong> Select Rows<br />

Clicking on a histogram bar highlights the bar <strong>and</strong> selects the corresponding rows in the data table. The<br />

appropriate portions of all other graphical displays also highlight the selection. Figure 2.6 shows the results<br />

of highlighting a bar in the height histogram. The corresponding rows are selected in the data table.<br />

Note: To deselect histogram bars, press the CTRL key <strong>and</strong> click on the highlighted bars.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!