 Creating histograms
This tutorial covers the steps for creating simple histograms in StatCrunch. To begin, load the Exam Scores data set, which will be used throughout this tutorial. This data set contains only one column of data containing 23 exam grades for an introductory Statistics course.
Creating a histogram with frequency on the y-axis
To create a histogram of the data in the Exam 2 column, choose the Graph > Histogram menu option. Select the Exam 2 column and click Compute!. By default, StatCrunch will automatically bin the data and plot the frequency (count) of each bin on the y-axis. The resulting histogram shown below has a starting point of 50 and a bin width of 5, so the bins are 50 to 55, 55 to 60, 60 to 65 and so on. StatCrunch creates non-overlapping bins by including the left edge of the bin and excluding the right edge. In this example, a score of 80 falls into the 80 to 85 bin, not the 75 to 80 bin. The y-axis in this case indicates frequencies between 0 and 7 for the bins with the largest frequency of 7 for the 80 to 85 bin. Creating a histogram with relative frequeny or density on the y-axis
StatCrunch can also compute the relative frequency (proportion) or density associated with each bin on the y-axis. Density refers to dividing each proportion by the bin width for a total area of one under the histogram. These items are available under the Type option. For example, in the window containing the resulting histogram above, choose Options > Edit to reopen the histogram dialog window. Change the Type option to Relative Frequency and click Compute!. The resulting histogram below shows the relative frequency of each bin. The 80 to 85 bin has a relative frequency of 7/23 = 0.304. Changing the starting point and/or width of the bins
Under the Bins option, StatCrunch offers the ability to change the binning structure for the histogram. The Start at option sets the location of the left edge of the first bin for the histogram while the Width option specifies how wide to make the bins. For this example, in the window containing the resulting histogram above, choose Options > Edit to reopen the histogram dialog window. Change Width to 10 and press Compute!. Now the bins in the resulting histogram shown below are 50 to 60, 60 to 70, 70 to 80 and so on.   