Skip to Main Content
Hands-On SAS for Data Analysis
book

Hands-On SAS for Data Analysis

by Harish Gulati
September 2019
Beginner to intermediate content levelBeginner to intermediate
346 pages
7h 35m
English
Packt Publishing
Content preview from Hands-On SAS for Data Analysis

Histograms

The exact use of histograms is to assess the probability distribution of a given variable by plotting the frequencies of observations occurring in certain ranges of values. They were first described by Karl Pearson. In their most simplistic form, histograms plot the frequency of a variable in a range of values called bins. We have chosen to start this chapter by describing histograms as they are the simplest of graphs that only accommodate one variable. Adding a density curve makes them a bit more informative but let's start with the basic form of the histogram. We will use the Class dataset that has been extensively used in the previous chapters:

Proc SGPLOT Data = Class;  Histogram Height;  Title 'Height of children in class across ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Big Data Analytics with SAS

Big Data Analytics with SAS

David Pope, Subhashini S Tripathi
An Introduction to SAS Visual Analytics

An Introduction to SAS Visual Analytics

Tricia Aanderud, Rob Collum, Ryan Kumpfmiller

Publisher Resources

ISBN: 9781788839822Supplemental Content