Category: 

What Are the Best Tips for Creating a Histogram?

Article Details
  • Written By: C.H. Seman
  • Edited By: Angela B.
  • Last Modified Date: 10 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
The atmosphere of Jupiter's moon Io collapses every time it is eclipsed by the planet.   more...

September 29 ,  2008 :  The Dow Jones Industrial Average experienced its largest one-day drop in history.  more...

Creating a histogram is an effective way of displaying univariate data in a way that reflects the data's frequency distribution. There are several variables to consider when creating histograms, ranging from the actual analysis of the raw data to the preferences of the intended audience. When creating the optimal histogram, one must carefully consider the nature of the data, the analysis of the data, the preferences of the audience, and software or materials available.

Before creating a histogram, it is important for one to consider the nature of the data to be analyzed. Histograms are generally used to show the distribution of univariate data sets. More specifically, histograms are a visual representation of the data's frequency distribution or probability density function. It is advisable for one to consider alternate graphs that could better represent the data before constructing a histogram.

If a histogram is indeed the best choice for representing the data, the next variable for consideration is the intended audience. College professors, high school math teachers, engineering managers and media consumers may all have different expectations and demands. For example, a mathematics professor may wish to see a histogram constructed on graph paper by hand for an assignment in statistics, whereas an engineering manager may wish to see a histogram in a specific format required by the company. In all cases, easily readable labels on the axes and neat, precise construction are desirable traits.

Ad

Creating a histogram by hand is the method most often encountered by students of statistics. To begin, bin sizes are calculated and labeled on a horizontal scale. In practice, the square root of the number of observations in the data set can be used to determine the number of evenly spaced bins. A vertical scale is then marked with the bin frequencies or relative frequencies. Above each bin, a straight edge is used to draw a rectangle with a height equal to the bin's corresponding frequency, and the axes are clearly labeled.

Software packages also may be used for creating a histogram. Modern statistics programs offer a variety of services that extend beyond the construction of the histogram itself. These programs can produce color histograms, predict the normality of the data, offer predictions of the probability density function overlain on the data itself, and calculate simple statistics. For professional work, software packages are often the best choice for creating a histogram because of the added sophistication in analysis and the enhanced presentation.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}