{"id":392,"date":"2022-06-17T16:53:27","date_gmt":"2022-06-17T16:53:27","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/alphamodule\/?post_type=chapter&#038;p=392"},"modified":"2022-06-17T16:53:27","modified_gmt":"2022-06-17T16:53:27","slug":"displaying-categorical-data-forming-connections-2","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/alphamodule\/chapter\/displaying-categorical-data-forming-connections-2\/","title":{"raw":"Displaying Categorical Data: Forming Connections 2","rendered":"Displaying Categorical Data: Forming Connections 2"},"content":{"raw":"<h2 id=\"Constructing Pie Charts\">Pie Charts<\/h2>\r\nLet\u2019s use technology to create a pie chart that visualizes the distribution of Chronotype for all [latex]253[\/latex] students in the study.\r\n<div class=\"textbox tryit\">\r\n<h3>video placement<\/h3>\r\n<span style=\"background-color: #e6daf7;\">[Guiding: \"This will be your first time using this tool in an activity. Let's see how it should look together. [display the tool, going through the steps below to create a pie chart.] ]<\/span>\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n\r\nGo to the\u00a0<em>Describing and Exploring Categorical Data<\/em> tool at\u00a0<a href=\"https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/\" target=\"_blank\" rel=\"noopener\">https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/<\/a>\r\n<p style=\"padding-left: 30px;\">Step 1) Select the\u00a0<strong>One Categorical Variable<\/strong> tab.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 2)\u00a0Locate the dropdown under <strong>Enter Data<\/strong> and select <strong>From Textbook<\/strong>.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 3) Click on the dropdown menu for <strong>Data Set<\/strong> and choose <strong>Sleep Study \u2013 Lark vs. Owl<\/strong>.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 4) Scroll down to <strong>Additional Plots<\/strong> and select the <strong>Pie Chart<\/strong> option.\u00a0 The pie chart will appear below the bar graph.<\/p>\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>question 4<\/h3>\r\n[ohm_question hide_question_numbers=1]240759[\/ohm_question]\r\n\r\n[reveal-answer q=\"926672\"]Hint[\/reveal-answer]\r\n[hidden-answer a=\"926672\"]Be sure that you have selected the correct data set: \"Sleep Study - Lark vs. Owl.\"[\/hidden-answer]\r\n\r\n<\/div>\r\nConsider a hypothetical class of [latex]42[\/latex] students, each of whom\u00a0answered the question, \"are you a lark, an owl, or neither?\" Let's suppose that [latex]12[\/latex] responded that they were larks, [latex]20[\/latex] that they were owls, and [latex]10[\/latex] said they were neither a lark nor an owl.\r\n<div class=\"textbox tryit\">\r\n<h3>video placement<\/h3>\r\n<span style=\"background-color: #e6daf7;\">[Guiding: \"[First demonstrate using fake information for a few observations (say, n = 5 or 6, for simplicity)to create a frequency table, then display the tool, going through the steps below to enter the data from the frequency table. Also show that students may, alternatively, enter the data as \"observations\" by making the appropriate selection under \"Enter Data\" and then entering observations as \"lark lark owl etc...] ]<\/span>\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n\r\nUse the <em><a href=\"https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/\" target=\"_blank\" rel=\"noopener\">Describing and Exploring Categorical Data<\/a><\/em> tool to create a pie graph for these data. Follow these steps:\r\n<p style=\"padding-left: 30px;\">Step 1) Select the <strong>One Categorical Variable<\/strong> tab.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 2)\u00a0Locate the dropdown under <strong>Enter Data<\/strong> and select <strong>Frequency Table.<\/strong><\/p>\r\n<p style=\"padding-left: 30px;\">Step 3) Enter \u201c3\u201d for <strong>Number of Categories.<\/strong><\/p>\r\n<p style=\"padding-left: 30px;\">Step 4) In the box under <strong>Name of Variable<\/strong>, type\u00a0Chronotype.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 5) Enter the labels for the 3 chronotypes and their respective numbers observed in the hypothetical class.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 6) Scroll down to locate\u00a0<strong>Additional Plots\u00a0<\/strong>and select <strong>Pie Chart<\/strong>.<\/p>\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>question 5<\/h3>\r\n[ohm_question hide_question_numbers=1]240595[\/ohm_question]\r\n\r\n[reveal-answer q=\"242128\"]Hint[\/reveal-answer]\r\n[hidden-answer a=\"242128\"]Double-check the information you entered in the tool if your pie chart appears differently.[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>question 6<\/h3>\r\n[ohm_question hide_question_numbers=1]240774[\/ohm_question]\r\n\r\n[reveal-answer q=\"239421\"]Hint[\/reveal-answer]\r\n[hidden-answer a=\"239421\"]Use the analysis you've done via the tool to answer this question.[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2 id=\"Constructing Bar Graphs\">Bar Graphs<\/h2>\r\nLet's use a bar graph to examine another of the variables from the sleep study <em>Alcohol use<\/em>.\r\n<div class=\"textbox tryit\">\r\n<h3>video placement<\/h3>\r\n<span style=\"background-color: #e6daf7;\">[Guiding:\u00a0 [display the tool, going through the steps below to create a bar graph.] ]<\/span>\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n\r\nIn the <a href=\"https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/\" target=\"_blank\" rel=\"noopener\"><em>Describing and Exploring Categorical Data<\/em><\/a> tool, follow these steps:\r\n<p style=\"padding-left: 30px;\">Step 1)\u00a0Select the <strong>One Categorical Variable<\/strong> tab.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 2) Under <strong>Enter Data<\/strong> choose <strong>From Textbook<\/strong>.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 3) Under <strong>Data Set<\/strong>, select <strong>Sleep Study \u2013 Alcohol Use<\/strong>.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 4) Under <strong>Options<\/strong>, check the <strong>Customize Order<\/strong> box to change the order of the bars to provide more meaning.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 5) Click in the box under <strong>Choose Order of Categories<\/strong> and the order should be abstain, light, moderate, heavy.<\/p>\r\n<p style=\"padding-left: 30px;\">Step 6) Under\u00a0<strong>Additional Plots<\/strong> select None.<\/p>\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>question 7<\/h3>\r\n[ohm_question hide_question_numbers=1]240763[\/ohm_question]\r\n\r\n[reveal-answer q=\"11007\"]Hint[\/reveal-answer]\r\n[hidden-answer a=\"11007\"]Double-check the information you entered in the tool if your pie chart appears differently.[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>question 8<\/h3>\r\n[ohm_question hide_question_numbers=1]240764[\/ohm_question]\r\n\r\n[reveal-answer q=\"965028\"]Hint[\/reveal-answer]\r\n[hidden-answer a=\"965028\"]Analyze the bar graph you created to answer this.[\/hidden-answer]\r\n\r\n<\/div>","rendered":"<h2 id=\"Constructing Pie Charts\">Pie Charts<\/h2>\n<p>Let\u2019s use technology to create a pie chart that visualizes the distribution of Chronotype for all [latex]253[\/latex] students in the study.<\/p>\n<div class=\"textbox tryit\">\n<h3>video placement<\/h3>\n<p><span style=\"background-color: #e6daf7;\">[Guiding: &#8220;This will be your first time using this tool in an activity. Let&#8217;s see how it should look together. [display the tool, going through the steps below to create a pie chart.] ]<\/span><\/p>\n<\/div>\n<div class=\"textbox\">\n<p>Go to the\u00a0<em>Describing and Exploring Categorical Data<\/em> tool at\u00a0<a href=\"https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/\" target=\"_blank\" rel=\"noopener\">https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/<\/a><\/p>\n<p style=\"padding-left: 30px;\">Step 1) Select the\u00a0<strong>One Categorical Variable<\/strong> tab.<\/p>\n<p style=\"padding-left: 30px;\">Step 2)\u00a0Locate the dropdown under <strong>Enter Data<\/strong> and select <strong>From Textbook<\/strong>.<\/p>\n<p style=\"padding-left: 30px;\">Step 3) Click on the dropdown menu for <strong>Data Set<\/strong> and choose <strong>Sleep Study \u2013 Lark vs. Owl<\/strong>.<\/p>\n<p style=\"padding-left: 30px;\">Step 4) Scroll down to <strong>Additional Plots<\/strong> and select the <strong>Pie Chart<\/strong> option.\u00a0 The pie chart will appear below the bar graph.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>question 4<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm240759\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=240759&theme=oea&iframe_resize_id=ohm240759\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q926672\">Hint<\/span><\/p>\n<div id=\"q926672\" class=\"hidden-answer\" style=\"display: none\">Be sure that you have selected the correct data set: &#8220;Sleep Study &#8211; Lark vs. Owl.&#8221;<\/div>\n<\/div>\n<\/div>\n<p>Consider a hypothetical class of [latex]42[\/latex] students, each of whom\u00a0answered the question, &#8220;are you a lark, an owl, or neither?&#8221; Let&#8217;s suppose that [latex]12[\/latex] responded that they were larks, [latex]20[\/latex] that they were owls, and [latex]10[\/latex] said they were neither a lark nor an owl.<\/p>\n<div class=\"textbox tryit\">\n<h3>video placement<\/h3>\n<p><span style=\"background-color: #e6daf7;\">[Guiding: &#8220;[First demonstrate using fake information for a few observations (say, n = 5 or 6, for simplicity)to create a frequency table, then display the tool, going through the steps below to enter the data from the frequency table. Also show that students may, alternatively, enter the data as &#8220;observations&#8221; by making the appropriate selection under &#8220;Enter Data&#8221; and then entering observations as &#8220;lark lark owl etc&#8230;] ]<\/span><\/p>\n<\/div>\n<div class=\"textbox\">\n<p>Use the <em><a href=\"https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/\" target=\"_blank\" rel=\"noopener\">Describing and Exploring Categorical Data<\/a><\/em> tool to create a pie graph for these data. Follow these steps:<\/p>\n<p style=\"padding-left: 30px;\">Step 1) Select the <strong>One Categorical Variable<\/strong> tab.<\/p>\n<p style=\"padding-left: 30px;\">Step 2)\u00a0Locate the dropdown under <strong>Enter Data<\/strong> and select <strong>Frequency Table.<\/strong><\/p>\n<p style=\"padding-left: 30px;\">Step 3) Enter \u201c3\u201d for <strong>Number of Categories.<\/strong><\/p>\n<p style=\"padding-left: 30px;\">Step 4) In the box under <strong>Name of Variable<\/strong>, type\u00a0Chronotype.<\/p>\n<p style=\"padding-left: 30px;\">Step 5) Enter the labels for the 3 chronotypes and their respective numbers observed in the hypothetical class.<\/p>\n<p style=\"padding-left: 30px;\">Step 6) Scroll down to locate\u00a0<strong>Additional Plots\u00a0<\/strong>and select <strong>Pie Chart<\/strong>.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>question 5<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm240595\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=240595&theme=oea&iframe_resize_id=ohm240595\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q242128\">Hint<\/span><\/p>\n<div id=\"q242128\" class=\"hidden-answer\" style=\"display: none\">Double-check the information you entered in the tool if your pie chart appears differently.<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>question 6<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm240774\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=240774&theme=oea&iframe_resize_id=ohm240774\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q239421\">Hint<\/span><\/p>\n<div id=\"q239421\" class=\"hidden-answer\" style=\"display: none\">Use the analysis you&#8217;ve done via the tool to answer this question.<\/div>\n<\/div>\n<\/div>\n<h2 id=\"Constructing Bar Graphs\">Bar Graphs<\/h2>\n<p>Let&#8217;s use a bar graph to examine another of the variables from the sleep study <em>Alcohol use<\/em>.<\/p>\n<div class=\"textbox tryit\">\n<h3>video placement<\/h3>\n<p><span style=\"background-color: #e6daf7;\">[Guiding:\u00a0 [display the tool, going through the steps below to create a bar graph.] ]<\/span><\/p>\n<\/div>\n<div class=\"textbox\">\n<p>In the <a href=\"https:\/\/dcmathpathways.shinyapps.io\/EDA_categorical\/\" target=\"_blank\" rel=\"noopener\"><em>Describing and Exploring Categorical Data<\/em><\/a> tool, follow these steps:<\/p>\n<p style=\"padding-left: 30px;\">Step 1)\u00a0Select the <strong>One Categorical Variable<\/strong> tab.<\/p>\n<p style=\"padding-left: 30px;\">Step 2) Under <strong>Enter Data<\/strong> choose <strong>From Textbook<\/strong>.<\/p>\n<p style=\"padding-left: 30px;\">Step 3) Under <strong>Data Set<\/strong>, select <strong>Sleep Study \u2013 Alcohol Use<\/strong>.<\/p>\n<p style=\"padding-left: 30px;\">Step 4) Under <strong>Options<\/strong>, check the <strong>Customize Order<\/strong> box to change the order of the bars to provide more meaning.<\/p>\n<p style=\"padding-left: 30px;\">Step 5) Click in the box under <strong>Choose Order of Categories<\/strong> and the order should be abstain, light, moderate, heavy.<\/p>\n<p style=\"padding-left: 30px;\">Step 6) Under\u00a0<strong>Additional Plots<\/strong> select None.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>question 7<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm240763\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=240763&theme=oea&iframe_resize_id=ohm240763\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q11007\">Hint<\/span><\/p>\n<div id=\"q11007\" class=\"hidden-answer\" style=\"display: none\">Double-check the information you entered in the tool if your pie chart appears differently.<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>question 8<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm240764\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=240764&theme=oea&iframe_resize_id=ohm240764\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q965028\">Hint<\/span><\/p>\n<div id=\"q965028\" class=\"hidden-answer\" style=\"display: none\">Analyze the bar graph you created to answer this.<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":17533,"menu_order":8,"template":"","meta":{"_candela_citation":"[]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-392","chapter","type-chapter","status-publish","hentry"],"part":160,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/pressbooks\/v2\/chapters\/392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/wp\/v2\/users\/17533"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/pressbooks\/v2\/chapters\/392\/revisions"}],"predecessor-version":[{"id":402,"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/pressbooks\/v2\/chapters\/392\/revisions\/402"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/pressbooks\/v2\/parts\/160"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/pressbooks\/v2\/chapters\/392\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/wp\/v2\/media?parent=392"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/pressbooks\/v2\/chapter-type?post=392"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/wp\/v2\/contributor?post=392"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/alphamodule\/wp-json\/wp\/v2\/license?post=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}