{"id":5995,"date":"2012-01-19T10:46:24","date_gmt":"2012-01-19T10:46:24","guid":{"rendered":"http:\/\/scienceblogs.com\/principles\/2012\/01\/19\/how-to-present-scientific-data\/"},"modified":"2012-01-19T10:46:24","modified_gmt":"2012-01-19T10:46:24","slug":"how-to-present-scientific-data","status":"publish","type":"post","link":"http:\/\/chadorzel.com\/principles\/2012\/01\/19\/how-to-present-scientific-data\/","title":{"rendered":"How to Present Scientific Data"},"content":{"rendered":"<p>In the same basic vein as last week&#8217;s <a href=\"http:\/\/scienceblogs.com\/principles\/2012\/01\/how_to_read_a_scientific_paper.php\">How to Read a Scientific Paper<\/a>, here&#8217;s a kind of online draft of the class I&#8217;m going to give Friday on the appropriate ways to present scientific data. &#8220;Present&#8221; here meaning the more general &#8220;display in some form, be it a talk, a poster, a paper, or just a graph taped into a lab notebook,&#8221; not specifically standing up and doing a PowerPoint talk (which I&#8217;ve <a href=\"http:\/\/scienceblogs.com\/principles\/2010\/06\/bad_and_good_presentation_grap.php\">posted about before<\/a>). <\/p>\n<p><p>So, you&#8217;ve made some measurements of a natural phenomenon. Congratulations, you&#8217;ve done Science! Now, you need to tell the world all about it, in a compact form that allows the viewer to make a good assessment of your results. Here are some rough notes on the best ways to go about this, starting with:<\/p>\n<p><strong>STEP ZERO: Know what point you&#8217;re trying to make.<\/strong> If you&#8217;re trying to interpret brand-new data, in the privacy of your own lab, office, or coffee shop, you can just slap together any quick-and-dirty sort of graph that you like, so you can see what you&#8217;re dealing with. When you&#8217;re preparing to present data to somebody else, though, you need to have a specific purpose in mind. Are you just comparing two numbers? Looking at how some property changes over time? Trying to characterize a distribution of numbers? Different goals will be best served by different types of presentations, and it&#8217;s important to have a clear idea of what you want to accomplish, so you can choose the right sort of graph for the job.<\/p>\n<p><strong>STEP ONE: Know your options.<\/strong> There are a whole host of different options when making a graph, as even a casual glance at Excel will show you. Some of these are versatile and powerful, some are only useful for such a ridiculously narrow range of purposes that I&#8217;ve never seen one used effectively. And, of course, if you look into data visualization, you&#8217;ll find a whole community of people who are really hard core about this stuff, crafting wholly original graphics specifically designed for each new data set they work with.<\/p>\n<p>If you&#8217;re at a point where you have need of my input, though, there are really only a handful of options that you need to be aware of. As you get a better feel for your subject, you can start to explore others, but these will get you started. The &#8220;starter set&#8221; of data presentation methods, with appropriate applications is:<\/p>\n<p><!--more--><\/p>\n<p><strong>Option 0: Data Table<\/strong> On the one hand, you can&#8217;t go wrong with just giving the reader the numbers and having done with it. There&#8217;s almost no way to mislead people with a table full of raw data, and they can always do their own analysis of the data and make whatever kind of graph they like best. The down side of this is that it&#8217;s pretty much a punt&#8211; admitting that you really don&#8217;t have any good idea how to visualize your numbers.<\/p>\n<p><strong><em>Option 1: Scatter Plot<\/em><\/strong> This is the most basic form of plot you can make: you just plot one quantity versus another, as a bunch of dots on a square field. As basic as it is, though, it&#8217;s the best application for a lot of data in physics. If you&#8217;re looking at the <a href=\"http:\/\/scienceblogs.com\/principles\/2011\/07\/roller_slide_physics_explained.php\">position of a moving object<\/a>, or the <a href=\"http:\/\/scienceblogs.com\/principles\/2010\/07\/when_should_you_open_your_car.php\">rate at which something heats up<\/a>, a scatter plot is the way to go. It gives you a very clean presentation of the data, and an easy way to analyze the behavior as you make quantitative changes in some parameter.<\/p>\n<p>A special case of the scatter plot is the <strong><em>logarithmic plot<\/em><\/strong>, which is the appropriate choice for data spanning a range of multiple orders of magnitude, such as <a href=\"http:\/\/scienceblogs.com\/principles\/2011\/04\/how_many_books_is_that_modelin.php\">book sales<\/a>. This is a little trickier to interpret, but still has the same ability to give you a clear idea of quantitative trends.<\/p>\n<p>The students in my class are currently making their own measurements of time-related quantities, and among the obvious choices there, the <a href=\"http:\/\/scienceblogs.com\/principles\/2011\/07\/the_testing_of_time_2_freezing.php\">long-term measurement of a timer&#8217;s performance<\/a> is best demonstrated by a scatter plot:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/scienceblogs.com\/principles\/wp-content\/blogs.dir\/467\/files\/2012\/04\/i-2d003b1a6a3c61d7d1acf183023bf5e1-sm_TimerTestFridgeColor.JPG\" alt=\"i-2d003b1a6a3c61d7d1acf183023bf5e1-sm_TimerTestFridgeColor.JPG\" \/><\/p>\n<p>This clearly shows that there&#8217;s a linear drift for each timer, and a simple linear fit to the data lets you determine the rate of that drift.<\/p>\n<p><strong><em>Option 2: Bar Graph<\/em><\/strong> This is the other most common form of graph, the one you&#8217;re most likely to see in the newspaper or on tv. Here, you represent the magnitude of some quantity by the length of a horizontal or vertical bar.<\/p>\n<p>A bar graph is the appropriate choice when you want to compare a small number of qualitatively different scenarios, and so it&#8217;s very common in social-science sorts of applications, comparing the <a href=\"http:\/\/scienceblogs.com\/principles\/2011\/08\/economic_astronomy_gender_gaps.php\">earnings of people with different levels of education<\/a>, for example. There&#8217;s no simple quantitative relationship between the different levels that would let you make a scatter plot (I suppose you could do &#8220;years of schooling&#8221; as one axis, but that&#8217;s kind of contrived&#8230;). If you&#8217;re comparing two or more quantities for each of your qualitatively different conditions, bar graphs give you a very quick visual way to identify the relative sizes.<\/p>\n<p>Bar graphs are also one of the easiest forms to make <a href=\"http:\/\/scienceblogs.com\/principles\/2011\/07\/great_moments_in_deceptive_gra.php\">annoyingly deceptive<\/a>, so they need to be used with care.<\/p>\n<p><strong><em>Option 3: Histogram<\/em><\/strong> At first glance, a histogram appears to be just a special case of a bar graph, but it&#8217;s different enough to rate its own category. When you make a histogram, you&#8217;re not representing the size of a single parameter, but characterizing a distribution of measurements. For a histogram, the lengths of the bars represent the number of measurements falling into a particular range of values.<\/p>\n<p>I&#8217;ve posted a bunch of histograms here over the years, for everything from the <a href=\"http:\/\/scienceblogs.com\/principles\/2008\/08\/babies_are_quantized.php\">distribution of baby feeding times<\/a> to <a href=\"http:\/\/scienceblogs.com\/principles\/2011\/11\/scientific_commuting_the_data.php\">commute times<\/a>. A histogram gives you a good sense of not only the size of an effect, but the spread of the measured values. It&#8217;s the best way to tell whether you&#8217;re dealing with a nice, normal &#8220;bell curve&#8221; type distribution or something more complicated.<\/p>\n<p>For the class of the moment, the measurement best represented by a histogram is the <a href=\"http:\/\/scienceblogs.com\/principles\/2012\/01\/the_testing_of_time_the_surpri.php\">test of a cheap sand timer<\/a>:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/scienceblogs.com\/principles\/wp-content\/blogs.dir\/467\/files\/2012\/04\/i-215a6d819cf1c9bc1403e5926fc75b62-sm_Hourglass_Histogram.PNG\" alt=\"i-215a6d819cf1c9bc1403e5926fc75b62-sm_Hourglass_Histogram.PNG\" \/><\/p>\n<p>This graph lets you see right away that the two ends of the timer have different characteristic emptying times, and that there&#8217;s virtually no overlap between them.<\/p>\n<p><strong><em>Option 4: The color map.<\/em><\/strong> sometimes, you need to characterize the behavior of some measured quantity as you change not one but two other parameters. In such cases, you can make a visual representation of the system by mapping your measured value onto the color (or greyscale density) of points on a two-dimensional grid, where the grid coordinates represent the values of the two variable parameters. These are tricky to interpret, and a friend at work still gives me grief about the <a href=\"http:\/\/scienceblogs.com\/principles\/2008\/11\/baby_science_still_no_pattern.php\">color plots of SteelyKid&#8217;s feeding schedule<\/a> from back in the day, but it&#8217;s a category of plot that&#8217;s reasonably common these days, since computers have gotten powerful enough to make these more or less effortlessly.<\/p>\n<p>There are tons of variants on these&#8211; you can turn a color map into a surface plot, or make a scatter plot with two different axes, or stacked-bar graphs&#8211; but these are the most basic methods for presenting data to someone else who might be interested in it.<\/p>\n<p><strong>STEP 2: Remember your audience<\/strong> No matter who you&#8217;re preparing the graph for, even other people in the same lab, they won&#8217;t be as familiar with the data as you are. Keep that in mind, and work to make your graph as self-explanatory as possible:<\/p>\n<p>&#8212;<strong><em>Keep it simple<\/em><\/strong> Yes, you <em>can<\/em> use modern scientific software to make a scatter plot with fifteen different quantities, two separate vertical axes, with three inset plots and a 3-D surface map on the side. But nobody will ever be able to make sense of that unless they already understand the data as well as you do. As much as possible, you want to keep your graph simple: if you&#8217;re comparing things, pare it down to only the 2-3 most representative of whatever it is you&#8217;re trying to show.<\/p>\n<p>&#8212;<strong><em>Make it clear<\/em><\/strong> If you&#8217;re plotting multiple quantities, make sure that they&#8217;re visually distinct. Don&#8217;t make a graph with points that are distinguished only by color (some people won&#8217;t be able to see that), but make sure that the shapes of the markers are easily distinguishable. Make sure that different datasets in a scatter plot aren&#8217;t on top of each other (unless that&#8217;s the point you&#8217;re trying to make), that the bars on your bar graph are wide enough to show up clearly, that your histogram doesn&#8217;t have an excessive number of bins, and so on. <\/p>\n<p>&#8212;<strong><em>Label everything<\/em><\/strong> No matter what sort of plot you&#8217;re making, make sure that it has clear, comprehensible descriptive labels for everything that matters. Your axes should be readily identifiable, with appropriate units (or lack thereof) provided. If you&#8217;re plotting a calculated quantity that isn&#8217;t represented by absolutely standard notation, label the relevant axis in words. There&#8217;s nothing worse than coming across a scatter plot with axes labelled only with those squiggly Greek letters that nobody can keep straight (lowercase zeta? lowercase xi? who can tell?) and having to go searching through the body of a paper to find the definition. If you&#8217;re using multiple symbols, there should either be a clear legend in the plot itself, or a clear statement of what each represents in the figure caption.<\/p>\n<p>A good visual presentation of data can make a complicated result come clear in an instant. A bad visual presentation of data will remain baffling no matter how many times you read its description. There aren&#8217;t any hard and fast rules here that can never be broken, but if you take this advice as a starting point, you&#8217;ll be fairly safe.<\/p>\n<p>(I&#8217;m probably forgetting a few items that will come to me five minutes after this psot goes live. Just in case I don&#8217;t think of them, though, feel free to point them out in the comments.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the same basic vein as last week&#8217;s How to Read a Scientific Paper, here&#8217;s a kind of online draft of the class I&#8217;m going to give Friday on the appropriate ways to present scientific data. &#8220;Present&#8221; here meaning the more general &#8220;display in some form, be it a talk, a poster, a paper, or&hellip; <a class=\"more-link\" href=\"http:\/\/chadorzel.com\/principles\/2012\/01\/19\/how-to-present-scientific-data\/\">Continue reading <span class=\"screen-reader-text\">How to Present Scientific Data<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"1","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[134,144,13,7,147,11],"tags":[],"class_list":["post-5995","post","type-post","status-publish","format-standard","hentry","category-course_reports","category-data_presentation","category-education","category-physics","category-playing-with-graphs","category-science","entry"],"_links":{"self":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/5995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/comments?post=5995"}],"version-history":[{"count":0,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/5995\/revisions"}],"wp:attachment":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/media?parent=5995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/categories?post=5995"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/tags?post=5995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}