StatCrunch logo (home)

Report Properties
Owner: websterwest
Created: Jun 2, 2009
Share: yes
Views: 14939
Results in this report
Data sets in this report
Need help?
To copy selected text, right click to Copy or choose the Copy option under your browser's Edit menu. Text copied in this manner can be pasted directly into most documents with formatting maintained.
To copy selected graphs, right click on the graph to Copy. When pasting into a document, make sure to paste the graph content rather than a link to the graph. For example, to paste in MS Word choose Edit > Paste Special, and select the Device Independent Bitmap option.
You can now also Mail results and reports. The email may contain a simple link to the StatCrunch site or the complete output with data and graphics attached. In addition to being a great way to deliver output to someone else, this is also a great way to save your own hard copy. To try it out, simply click on the Mail link.
Creating bar plots from summary data
Mail   Print   Twitter   Facebook

Summary data in StatCrunch is used to refer to data sets that do not consist of individual measurements but rather data summarized from other sources. The attached New Hampshire primary data is an example of summary data. In this case, we do not have the results for all of the individual votes that were cast, but rather we have the summary totals for each candidate in the democratic and republican primaries.

Data set 1. NH Primary Data   [Info]
To analyze this data, please sign in.

This report will discuss how to make bar plots with summary data using the New Hampshire primary data as an example. The steps needed to construct a bar plot for the results from the democratic primary will be discussed. Begin by selecting the Graphics > Bar Plot > with summary option. Next, choose the Name column for the Categories in selector and the Votes column for the Counts in selector. Also, to consider only the democratic party results, input Party = Dem in the Where text box as shown below.

Result 1: Snapshot of Bar plot with summary Dialog   [Info]
Right click to copy

Click the Next button to specify more options. To combine the numbers for candidates with very low percentages (say less than 5%) so that they do not obscure the graph, specify 5 for the "Other" if percent less than option. Also, to order the bars in descending order in terms of vote percentage, choose Count Descending for the Order by option. By clicking the Next button again, you can also specify other graph options.

Result 2: Snapshot of Bar plot with summary Dialog   [Info]
Right click to copy

Finally, click Create Graph to generate the bar plot shown below.

Result 3: NH Democratic Primary Results   [Info]
Right click to copy

HTML link:
<A href="">Creating bar plots from summary data</A>

Want to comment? Subscribe
Already a member? Sign in.
By destirichardson
Dec 11, 2013

Do you know how to make the values go in descending order for a scattterplot?
By websterwest
Jun 2, 2009

Thanks I have fixed it now.
By amrothan
Jun 2, 2009

Just a little point: In the text "Also, to consider only the democratic party results, input Party = GOP in the Where text box as shown below" appears, but the correct "Party = Dem" is in the window that is shown.

Always Learning