{"id":33,"date":"2023-01-31T00:45:54","date_gmt":"2023-01-31T00:45:54","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/displaying-categorical-data-apply-it-1\/"},"modified":"2025-10-27T19:11:42","modified_gmt":"2025-10-27T19:11:42","slug":"displaying-categorical-data-apply-it-1","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/displaying-categorical-data-apply-it-1\/","title":{"raw":"Displaying Categorical Data: Apply It 1","rendered":"Displaying Categorical Data: Apply It 1"},"content":{"raw":"<section class=\"textbox learningGoals\">\r\n<ul>\r\n\t<li>Create frequency tables, bar graphs, and pie charts by hand and with technology<\/li>\r\n\t<li>Answer questions using information from frequency tables, bar graphs, and pie charts<\/li>\r\n<\/ul>\r\n<\/section>\r\n<p>In 2013, students in a statistics class at FSEV UK, a Slovakian university, were asked to invite their friends to participate in a survey. They were asked a large variety of questions on different topics, including:<\/p>\r\n<ul>\r\n\t<li><strong>Music preferences<\/strong>\u00a0(19 items)<\/li>\r\n\t<li><strong>Movie preferences<\/strong>\u00a0(12 items)<\/li>\r\n\t<li><strong>Hobbies and interests<\/strong>\u00a0(32 items)<\/li>\r\n\t<li><strong>Phobias<\/strong>\u00a0(10 items)<\/li>\r\n\t<li><strong>Health habits<\/strong>\u00a0(3 items)<\/li>\r\n\t<li><strong>Personality traits, views on life, and opinions<\/strong>\u00a0(57 items)<\/li>\r\n\t<li><strong>Spending habits<\/strong>\u00a0(7 items)<\/li>\r\n\t<li><strong>Demographics<\/strong>\u00a0(10 items)<\/li>\r\n<\/ul>\r\n<section class=\"textbox interact\">\r\n<div>\r\n<p>Use the data analysis tool below to create a frequency table, bar graph, and pie chart for the Slovakian students' preferences on one of the musical genres. Then answer the analysis questions.<\/p>\r\n<p>Follow these steps:<\/p>\r\n<\/div>\r\n<div>\r\n<p style=\"padding-left: 30px;\"><strong>STEP 1: <\/strong>Under \"Enter Data\" choose \"Individual Observations.\"<\/p>\r\n<p style=\"padding-left: 30px;\"><strong>STEP 2:<\/strong> Copy the data from the column that contains the musical genre you are interested in analyzing. Be careful not to include the column header. You can find the <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1v_yo_OqlJ01oKu-NYaXEbIU7L800sVYBOEAv4ZY1Kxo\/edit?usp=sharing\">complete spreadsheet<\/a> here, but you'll also see it in the question below once you've selected your genre.<\/p>\r\n<p style=\"padding-left: 30px;\"><strong>STEP 3:<\/strong> In \"Name of Variable,\" enter the musical genre you selected.<\/p>\r\n<p style=\"padding-left: 30px;\"><strong>STEP 4:<\/strong> If needed, select \"Customize Order\" so the graph displays preference ratings in order.<\/p>\r\n<\/div>\r\n<\/section>\r\n<p><iframe src=\"https:\/\/lumen-learning.shinyapps.io\/eda_categorical\/\" width=\"100%\" height=\"850\" frameborder=\"no\"><\/iframe><\/p>\r\n<p><br \/>\r\n[<a href=\"https:\/\/lumen-learning.shinyapps.io\/eda_categorical\/\" target=\"_blank\" rel=\"noopener\">Trouble viewing? Click to open in a new tab.<\/a>]<\/p>\r\n<section class=\"textbox youChoose\">\r\n<p>[choosedataset divId=\"tnh-choose-dataset\" title=\"Choose Your Own Dataset\" label=\"For this problem, you'll create and analyze the graph for a music genre of your choosing.\" default=\"Choose a Dataset\"]<br \/>\r\n[datasetoption]<br \/>\r\n[displayname]Folk[\/displayname]<br \/>\r\n[ohmid]2862[\/ohmid]<br \/>\r\n[\/datasetoption][datasetoption]<br \/>\r\n[displayname]Country[\/displayname]<br \/>\r\n[ohmid]2964[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Classical[\/displayname]<br \/>\r\n[ohmid]2965[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Musical[\/displayname]<br \/>\r\n[ohmid]2966[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Pop[\/displayname]<br \/>\r\n[ohmid]2967[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Rock[\/displayname]<br \/>\r\n[ohmid]2968[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Metal or Hard rock[\/displayname]<br \/>\r\n[ohmid]2969[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Punk[\/displayname]<br \/>\r\n[ohmid]2970[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Hip-hop, Rap[\/displayname]<br \/>\r\n[ohmid]2971[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Swing, Jazz[\/displayname]<br \/>\r\n[ohmid]2972[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Alternative[\/displayname]<br \/>\r\n[ohmid]2973[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Latino[\/displayname]<br \/>\r\n[ohmid]2974[\/ohmid]<br \/>\r\n[\/datasetoption]<\/p>\r\n<p>[datasetoption]<br \/>\r\n[displayname]Techno[\/displayname]<br \/>\r\n[ohmid]2975[\/ohmid]<br \/>\r\n[\/datasetoption]<br \/>\r\n[\/choosedataset]<\/p>\r\n<\/section>","rendered":"<section class=\"textbox learningGoals\">\n<ul>\n<li>Create frequency tables, bar graphs, and pie charts by hand and with technology<\/li>\n<li>Answer questions using information from frequency tables, bar graphs, and pie charts<\/li>\n<\/ul>\n<\/section>\n<p>In 2013, students in a statistics class at FSEV UK, a Slovakian university, were asked to invite their friends to participate in a survey. They were asked a large variety of questions on different topics, including:<\/p>\n<ul>\n<li><strong>Music preferences<\/strong>\u00a0(19 items)<\/li>\n<li><strong>Movie preferences<\/strong>\u00a0(12 items)<\/li>\n<li><strong>Hobbies and interests<\/strong>\u00a0(32 items)<\/li>\n<li><strong>Phobias<\/strong>\u00a0(10 items)<\/li>\n<li><strong>Health habits<\/strong>\u00a0(3 items)<\/li>\n<li><strong>Personality traits, views on life, and opinions<\/strong>\u00a0(57 items)<\/li>\n<li><strong>Spending habits<\/strong>\u00a0(7 items)<\/li>\n<li><strong>Demographics<\/strong>\u00a0(10 items)<\/li>\n<\/ul>\n<section class=\"textbox interact\">\n<div>\n<p>Use the data analysis tool below to create a frequency table, bar graph, and pie chart for the Slovakian students&#8217; preferences on one of the musical genres. Then answer the analysis questions.<\/p>\n<p>Follow these steps:<\/p>\n<\/div>\n<div>\n<p style=\"padding-left: 30px;\"><strong>STEP 1: <\/strong>Under &#8220;Enter Data&#8221; choose &#8220;Individual Observations.&#8221;<\/p>\n<p style=\"padding-left: 30px;\"><strong>STEP 2:<\/strong> Copy the data from the column that contains the musical genre you are interested in analyzing. Be careful not to include the column header. You can find the <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1v_yo_OqlJ01oKu-NYaXEbIU7L800sVYBOEAv4ZY1Kxo\/edit?usp=sharing\">complete spreadsheet<\/a> here, but you&#8217;ll also see it in the question below once you&#8217;ve selected your genre.<\/p>\n<p style=\"padding-left: 30px;\"><strong>STEP 3:<\/strong> In &#8220;Name of Variable,&#8221; enter the musical genre you selected.<\/p>\n<p style=\"padding-left: 30px;\"><strong>STEP 4:<\/strong> If needed, select &#8220;Customize Order&#8221; so the graph displays preference ratings in order.<\/p>\n<\/div>\n<\/section>\n<p><iframe loading=\"lazy\" src=\"https:\/\/lumen-learning.shinyapps.io\/eda_categorical\/\" width=\"100%\" height=\"850\" frameborder=\"no\"><\/iframe><\/p>\n<p>\n[<a href=\"https:\/\/lumen-learning.shinyapps.io\/eda_categorical\/\" target=\"_blank\" rel=\"noopener\">Trouble viewing? Click to open in a new tab.<\/a>]<\/p>\n<section class=\"textbox youChoose\">\n<div id=\"tnh-choose-dataset\" class=\"chooseDataset\">\n<h3>Choose Your Own Dataset<\/h3>\n<h4>For this problem, you'll create and analyze the graph for a music genre of your choosing.<\/h4>\n<form><select name=\"dataset\"><option value=\"\">Choose a Dataset<\/option><option value=\"2862\">Folk<\/option><option value=\"2964\">Country<\/option><option value=\"2965\">Classical<\/option><option value=\"2966\">Musical<\/option><option value=\"2967\">Pop<\/option><option value=\"2968\">Rock<\/option><option value=\"2969\">Metal or Hard rock<\/option><option value=\"2970\">Punk<\/option><option value=\"2971\">Hip-hop, Rap<\/option><option value=\"2972\">Swing, Jazz<\/option><option value=\"2973\">Alternative<\/option><option value=\"2974\">Latino<\/option><option value=\"2975\">Techno<\/option><\/select><\/form>\n<div class=\"ohmContainer\"><\/div>\n<\/p><\/div>\n<\/p>\n<\/section>\n","protected":false},"author":6,"menu_order":9,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":20,"module-header":"apply_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":[{"divId":"tnh-choose-dataset","title":"Choose Your Own Dataset","label":"For this problem, you'll create and analyze the graph for a music genre of your choosing.","default":"Choose a Dataset","try_it_collection":[{"displayName":"Folk","value":"2862"},{"displayName":"Country","value":"2964"},{"displayName":"Classical","value":"2965"},{"displayName":"Musical","value":"2966"},{"displayName":"Pop","value":"2967"},{"displayName":"Rock","value":"2968"},{"displayName":"Metal or Hard rock","value":"2969"},{"displayName":"Punk","value":"2970"},{"displayName":"Hip-hop, Rap","value":"2971"},{"displayName":"Swing, Jazz","value":"2972"},{"displayName":"Alternative","value":"2973"},{"displayName":"Latino","value":"2974"},{"displayName":"Techno","value":"2975"}]}],"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/33"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":24,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/33\/revisions"}],"predecessor-version":[{"id":7131,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/33\/revisions\/7131"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/parts\/20"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/33\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapter-type?post=33"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/contributor?post=33"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/license?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}