Chapter 32 Histograms and Bar Charts. Chapter Table of Contents VARIABLES...470 METHOD...471 OUTPUT...472 REFERENCES...474



Similar documents
SAS BI Dashboard 4.3. User's Guide. SAS Documentation

Chapter 2 The Data Table. Chapter Table of Contents

UNIX Operating Environment

SAS BI Dashboard 3.1. User s Guide

Chapter 6 INTERVALS Statement. Chapter Table of Contents

SAS Add-In 2.1 for Microsoft Office: Getting Started with Data Analysis

Drawing a histogram using Excel

Chapter 27 Using Predictor Variables. Chapter Table of Contents

User Installation Guide for SAS 9.1 Foundation for 64-bit Microsoft Windows

SAS BI Dashboard 4.4. User's Guide Second Edition. SAS Documentation

Chapter 25 Specifying Forecasting Models

Gestation Period as a function of Lifespan

SAS Task Manager 2.2. User s Guide. SAS Documentation

SAS/GRAPH 9.2 ODS Graphics Editor. User s Guide

How to make a line graph using Excel 2007

Directions for Frequency Tables, Histograms, and Frequency Bar Charts

Appendix 2.1 Tabular and Graphical Methods Using Excel

OS/2: TELNET Access Method

Analyzing the Server Log

SAS University Edition: Installation Guide for Amazon Web Services

9.1 SAS. SQL Query Window. User s Guide

Guide to Operating SAS IT Resource Management 3.5 without a Middle Tier

Guide to SAS/AF Applications Development

Scatter Plots with Error Bars

SAS. Cloud. Account Administrator s Guide. SAS Documentation

Licensed to: CengageBrain User

SAS Marketing Automation 5.1. User s Guide

Build Your First Web-based Report Using the SAS 9.2 Business Intelligence Clients

Welcome to 360 Reporting Accessing 360 Reporting... 3 MicroEdge Support Program Using 360 Reporting Setting up Quick Find...

SPSS Manual for Introductory Applied Statistics: A Variable Approach

Welcome to GIFTS Online Mobile... 3

Encryption Services. What Are Encryption Services? Terminology. System and Software Requirements APPENDIX 5

SAS Business Data Network 3.1

Overview. NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT

Regional Drought Decision Support System (RDDSS) Charting Tools Help Documentation

Quick use reference book

Part Number: PMT1080-ENG Rev. 1

DIRECTIONS FOR SETTING UP LABELS FOR MARCO S INSERT STOCK IN WORD PERFECT, MS WORD AND ACCESS

How to create pop-up menus

SAS/GRAPH Network Visualization Workshop 2.1

IT Service Level Management 2.1 User s Guide SAS

When to Move a SAS File between Hosts

Statistics Revision Sheet Question 6 of Paper 2

Creating and Manipulating Spatial Weights

Microsoft Excel Tutorial

Step-by-Step Guide to Bi-Parental Linkage Mapping WHITE PAPER

Scientific Graphing in Excel 2010

9.2 User s Guide SAS/STAT. Introduction. (Book Excerpt) SAS Documentation

Create Charts in Excel

Describe the Create Profile dialog box. Discuss the Update Profile dialog box.examine the Annotate Profile dialog box.

Statistics Chapter 2

AutoCAD Structural Detailing Getting Started with AutoCAD Structural Detailing, Reinforcement module

Describing, Exploring, and Comparing Data

Appendix A of Project Management. Appendix Table of Contents REFERENCES...761

SAS Visual Analytics 7.1 for SAS Cloud. Quick-Start Guide

9.1 SAS/ACCESS. Interface to SAP BW. User s Guide

One-Minute Spotlight. The Crystal Ball Forecast Chart

Guide To Creating Academic Posters Using Microsoft PowerPoint 2010

Creating a Participants Mailing and/or Contact List:

Creating an Excel XY (Scatter) Plot

GRS Advantage Website User Reference Guide

Valor Christian High School Mrs. Bogar Biology Graphing Fun with a Paper Towel Lab

How To Use Excel 2010 On Windows 7 (Windows 7) On A Pc Or Mac) With A Microsoft Powerbook (Windows Xp) On Your Computer Or Macintosh (Windows) On Windows Xp (Windows 2007) On Microsoft Excel 2010

w w w. g e o s o f t. c o m

Interactive Logging with FlukeView Forms

Using Your Online Help System

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11

If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel.

BD CellQuest Pro Software Analysis Tutorial

CREATING EXCEL PIVOT TABLES AND PIVOT CHARTS FOR LIBRARY QUESTIONNAIRE RESULTS

IBM SPSS Direct Marketing 23

SAS 9.4 PC Files Server

Microsoft Office Excel 2007 Key Features. Office of Enterprise Development and Support Applications Support Group

IBM SPSS Direct Marketing 22

Chapter 5 Programming Statements. Chapter Table of Contents

SEND AND RETRIEVE INFORMATION USING

Topographic Change Detection Using CloudCompare Version 1.0

New Features in Primavera P6 EPPM 16.1

Ingham County Equalization/Tax Mapping Viewer Tutorial

LOCAL FLEET TRACKING. GPS Fleet Tracking Help Guide

3D Viewer. user's manual _2

Pro/ENGINEER Wildfire 4.0 Basic Design

AIMMS Tutorial for Professionals - Absentee and Planning Overviews

Download and Installation Instructions. Java JDK Software for Windows

Using SPSS, Chapter 2: Descriptive Statistics

Atomic Force Microscope and Magnetic Force Microscope Background Information

LinQ Mobile Software User s Guide

Trading Integration for ViTrade

MetroBoston DataCommon Training

Snap 9 Professional s Scanning Module

USING ADOBE PhotoShop TO MEASURE EarthKAM IMAGES

The following is an overview of lessons included in the tutorial.

Add-In 7.1 for Microsoft Office

Years after US Student to Teacher Ratio

Get-Snap. Once you have installed the DataCAD 9.03 update, you are ready to take advantage of this new feature.

SAS Add-In 5.1 for Microsoft Office:

Smart Web. User Guide. Amcom Software, Inc.

Dealing with Data in Excel 2010

Transcription:

Chapter 32 Histograms and Bar Charts Chapter Table of Contents VARIABLES...470 METHOD...471 OUTPUT...472 REFERENCES...474 467

Part 3. Introduction 468

Chapter 32 Histograms and Bar Charts Bar charts are pictorial representations of the distribution of values of a variable. You can use bar charts to show distributions of interval or nominal variables. Bar charts of interval variables are also called histograms. You can label the heights of the bars in a bar chart, control the orientation, and control the information shown on the axes. For bar charts of interval variables, you can also control the width and offset of the bars. Figure 32.1. Bar Chart 469

Part 3. Introduction Variables To create a bar chart, choose Analyze:Histogram/Bar Chart ( Y ). Bar charts require a Y variable. If you have already selected one or more variables, they are assigned the Y variable role, and a bar chart is created for each selected variable. If you have not selected any variables, a variables dialog appears. Figure 32.2. Bar Chart Variables Dialog In the dialog, select at least one Y variable. A separate bar chart is created for each Y variable you select. You can select one or more Group variables if you have grouped data. This creates one bar chart for each group. You can select a Freq variable. If you select a Freq variable, each observation is assumed to represent n observations, where n is the value of the Freq variable. 470

Chapter 32. Method Method Observations with missing values for Y variables are not used. Observations with Freq values that are missing or that are less than or equal to 0 are not used. Only the integer part of Freq values is used. For nominal variables, values that represent less than 4% of the total frequency are grouped together in an Other category by default. Clicking on the Method button in the variables dialog displays the dialog in Figure 32.3. This dialog enables you to change the threshold at which values are grouped into the Other category. Figure 32.3. Bar Chart Method Options Dialog For interval variables, values that fall on the boundary between two bars are added to the upper bar. For example, if two bars span ranges ( 1 to 2 ) and ( 2 to 3 ), the value 2 is considered to fall in the range ( 2 to 3 ). By default, bar width and offset are calculated using an algorithm developed from Terrell and Scott (1985). Bar width is the distance along the Y axis represented by one bar. Bar offset is the distance from the start of the bar to the nearest multiple of the bar width. For example, if a bar starts at 1.2 and has a width of 1, then the offset is 0.2. 471

Part 3. Introduction Output For nominal variables, bars are distinguished by different colors. For interval variables, all bars have the same color. To view or modify output options associated with your bar chart, click on the Output button of the variables dialog. This displays the options dialog shown in Figure 32.4. Figure 32.4. Bar Chart Output Options Dialog Bar Heights Variable:Names Variable:Labels Variable:Both Orientation: Y Axis Vertical Orientation: Vertical Axis at Left Orientation: Horizontal Axis at Bottom labels all bars with their heights. labels the Y axis with variable names. labels the Y axis with variable labels. labels the Y axis with both names and labels. draws the axis for the Y variable vertically. If this option is turned off, the Y axis is horizontal. places the vertical axis at the left side of the chart. If this option is turned off, the vertical axis is at the right side of the chart. places the horizontal axis at the bottom of the chart. If this option is turned off, the horizontal axis is at the top of the chart. You can modify other aspects of the bar chart using the bar chart pop-up menu. Click on the button at the lower left corner of the bar chart to display the pop-up menu. 472

Chapter 32. Output Ticks... Axes Observations Values Reference Lines Figure 32.5. Bar Chart Pop-up Menu Ticks... displays the dialog in Figure 32.6 to set tick values for the variable being charted. In histograms, you can use this menu to set bar width and offset. You can set tick values for the frequency axis by clicking on the Frequency label before selecting Ticks from the pop-up menu. Axes toggles the display of axes. Observations toggles the display of observations (bars). When this menu is toggled off, observations are displayed only if selected. Values toggles the display of values for bar heights. Reference Lines toggles the display of lines that indicate the position of major ticks on the frequency axis. This option is not available unless theaxesarevisible. Figure 32.6. Bar Chart Ticks Dialog You can adjust bar width and offset interactively with the Hand Tool, as described in Chapter 12, Examining Distributions. You can also add density curves to bar charts in distribution analyses, as described in Chapter 38, Distribution Analyses. Related Reading: Bar Charts, Chapter 4. Related Reading: Distributions, Chapter 12, Chapter 38. 473

Part 3. Introduction References Terrell, G.R. and Scott, D.W. (1985), Oversmoothed Nonparametric Density Estimates, Journal of the American Statistical Association, 80 (389), 209 214. 474

The correct bibliographic citation for this manual is as follows: SAS Institute Inc., SAS/ INSIGHT User s Guide, Version 8, Cary, NC: SAS Institute Inc., 1999. 752 pp. SAS/INSIGHT User s Guide, Version 8 Copyright 1999 by SAS Institute Inc., Cary, NC, USA. ISBN 1 58025 490 X All rights reserved. Printed in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc. U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of the software by the government is subject to restrictions as set forth in FAR 52.227 19 Commercial Computer Software-Restricted Rights (June 1987). SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513. 1st printing, October 1999 SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. The Institute is a private company devoted to the support and further development of its software and related services.