{"id":1468,"date":"2023-06-22T02:28:59","date_gmt":"2023-06-22T02:28:59","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/transforming-data-learn-it-2\/"},"modified":"2025-05-17T02:38:53","modified_gmt":"2025-05-17T02:38:53","slug":"transforming-data-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/transforming-data-learn-it-2\/","title":{"raw":"Transforming Data - Learn It 2","rendered":"Transforming Data &#8211; Learn It 2"},"content":{"raw":"<section class=\"textbox learningGoals\">\r\n<ul>\r\n\t<li><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Decide which transformation to use for the different type of data sets and analyze the results&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:6913,&quot;3&quot;:{&quot;1&quot;:0},&quot;11&quot;:4,&quot;12&quot;:0,&quot;14&quot;:{&quot;1&quot;:2,&quot;2&quot;:0},&quot;15&quot;:&quot;Calibri&quot;}\">Decide which transformation to use for the different type of data sets and analyze the results<\/span><\/li>\r\n<\/ul>\r\n<\/section>\r\n<h2>Transformation of Data<\/h2>\r\n<p>A transformation has the effect of making the data less skewed and making the variation more uniform.<\/p>\r\n<section class=\"textbox keyTakeaway\">\r\n<h3><b>data\u00a0transformation<\/b><\/h3>\r\n<p>[footnote]https:\/\/en.wikipedia.org\/wiki\/Data_transformation_(statistics)[\/footnote]In\u00a0statistics,\u00a0<b>data\u00a0transformation<\/b> is the application of a deterministic mathematical function to each point in a data set. Transformations are usually applied so that the data appear to more closely meet the assumptions of a statistical inference procedure that is to be applied, or to improve the interpretability or appearance of graphs.<\/p>\r\n<\/section>\r\n<p>[footnote]https:\/\/en.wikipedia.org\/wiki\/Data_transformation_(statistics)[\/footnote]Nearly always, the function that is used to transform the data is invertible, and generally is continuous. The transformation is usually applied to a collection of comparable measurements. For example, if we are working with data on people's incomes in some currency unit, it would be common to transform each person's income value by the logarithm function.<\/p>\r\n<p>Let's recall two of the most common data transformation functions: square root and logarithm.<\/p>\r\n<section class=\"textbox recall\">The <strong>square root<\/strong> of a number is a value that, when multiplied by itself, gives the number.[footnote]Definition of square root. (n.d.). Mathisfun.com. https:\/\/www.mathsisfun.com\/definitions\/square-root.html[\/footnote]For example: [latex]\\sqrt{9}=3[\/latex]<\/section>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]3077[\/ohm2_question]<\/section>\r\n<section>\r\n<section class=\"textbox recall\" aria-label=\"Recall\">\r\n<p>A<strong> logarithm<\/strong> answers the question, \u201cTo what power must we raise one number to get another number?\u201d<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>For example, consider the question: \u201cTo what power must we raise 2 to get 8?\u201d We see that [latex]2 \\cdot 2 \\cdot 2 = 2^3 = 8[\/latex]. The way we write this logarithm is [latex]\\text{log}_2(8)=3[\/latex].<\/p>\r\n<p>&nbsp;<\/p>\r\n<p class=\"para\">In general, the statements<\/p>\r\n<p class=\"para\" style=\"text-align: center;\">[latex]b^x = a[\/latex] and [latex]\\text{log}_b(a)=x[\/latex]<\/p>\r\n<p>contain the same information. In both the exponential form and the logarithmic form, the quantity [latex]b[\/latex]\u00a0is called the <strong>base<\/strong>.<\/p>\r\n<\/section>\r\n<\/section>\r\n<section class=\"textbox proTip\">\r\n<ul>\r\n\t<li>A base that is often used in logarithms is [latex]10[\/latex]; instead of writing [latex]\\text{log}_{10}(x)[\/latex], we often just write [latex]\\text{log}(x)[\/latex].<\/li>\r\n<\/ul>\r\n<p style=\"text-align: center;\">[latex]\\text{log}_{10}(x) = \\text{log}(x)[\/latex]<\/p>\r\n<ul>\r\n\t<li>Another common base that you may encounter is the irrational number [latex]e[\/latex], which is approximately equal to [latex]2.718[\/latex]; instead of writing [latex]\\text{log}_e(x)[\/latex], we often just write [latex]\\text{ln}(x)[\/latex] and call this the \u201cnatural logarithm of [latex]x[\/latex].\u201d<\/li>\r\n<\/ul>\r\n<p style=\"text-align: center;\">[latex]\\text{log}_e(x) = \\text{ln}(x)[\/latex]<\/p>\r\n<\/section>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]3082[\/ohm2_question]<\/section>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]3206[\/ohm2_question]<\/section>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]3207[\/ohm2_question]<\/section>","rendered":"<section class=\"textbox learningGoals\">\n<ul>\n<li><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Decide which transformation to use for the different type of data sets and analyze the results&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:6913,&quot;3&quot;:{&quot;1&quot;:0},&quot;11&quot;:4,&quot;12&quot;:0,&quot;14&quot;:{&quot;1&quot;:2,&quot;2&quot;:0},&quot;15&quot;:&quot;Calibri&quot;}\">Decide which transformation to use for the different type of data sets and analyze the results<\/span><\/li>\n<\/ul>\n<\/section>\n<h2>Transformation of Data<\/h2>\n<p>A transformation has the effect of making the data less skewed and making the variation more uniform.<\/p>\n<section class=\"textbox keyTakeaway\">\n<h3><b>data\u00a0transformation<\/b><\/h3>\n<p><a class=\"footnote\" title=\"https:\/\/en.wikipedia.org\/wiki\/Data_transformation_(statistics)\" id=\"return-footnote-1468-1\" href=\"#footnote-1468-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a>In\u00a0statistics,\u00a0<b>data\u00a0transformation<\/b> is the application of a deterministic mathematical function to each point in a data set. Transformations are usually applied so that the data appear to more closely meet the assumptions of a statistical inference procedure that is to be applied, or to improve the interpretability or appearance of graphs.<\/p>\n<\/section>\n<p><a class=\"footnote\" title=\"https:\/\/en.wikipedia.org\/wiki\/Data_transformation_(statistics)\" id=\"return-footnote-1468-2\" href=\"#footnote-1468-2\" aria-label=\"Footnote 2\"><sup class=\"footnote\">[2]<\/sup><\/a>Nearly always, the function that is used to transform the data is invertible, and generally is continuous. The transformation is usually applied to a collection of comparable measurements. For example, if we are working with data on people&#8217;s incomes in some currency unit, it would be common to transform each person&#8217;s income value by the logarithm function.<\/p>\n<p>Let&#8217;s recall two of the most common data transformation functions: square root and logarithm.<\/p>\n<section class=\"textbox recall\">The <strong>square root<\/strong> of a number is a value that, when multiplied by itself, gives the number.<a class=\"footnote\" title=\"Definition of square root. (n.d.). Mathisfun.com. https:\/\/www.mathsisfun.com\/definitions\/square-root.html\" id=\"return-footnote-1468-3\" href=\"#footnote-1468-3\" aria-label=\"Footnote 3\"><sup class=\"footnote\">[3]<\/sup><\/a>For example: [latex]\\sqrt{9}=3[\/latex]<\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm3077\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=3077&theme=lumen&iframe_resize_id=ohm3077&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section>\n<section class=\"textbox recall\" aria-label=\"Recall\">\n<p>A<strong> logarithm<\/strong> answers the question, \u201cTo what power must we raise one number to get another number?\u201d<\/p>\n<p>&nbsp;<\/p>\n<p>For example, consider the question: \u201cTo what power must we raise 2 to get 8?\u201d We see that [latex]2 \\cdot 2 \\cdot 2 = 2^3 = 8[\/latex]. The way we write this logarithm is [latex]\\text{log}_2(8)=3[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<p class=\"para\">In general, the statements<\/p>\n<p class=\"para\" style=\"text-align: center;\">[latex]b^x = a[\/latex] and [latex]\\text{log}_b(a)=x[\/latex]<\/p>\n<p>contain the same information. In both the exponential form and the logarithmic form, the quantity [latex]b[\/latex]\u00a0is called the <strong>base<\/strong>.<\/p>\n<\/section>\n<\/section>\n<section class=\"textbox proTip\">\n<ul>\n<li>A base that is often used in logarithms is [latex]10[\/latex]; instead of writing [latex]\\text{log}_{10}(x)[\/latex], we often just write [latex]\\text{log}(x)[\/latex].<\/li>\n<\/ul>\n<p style=\"text-align: center;\">[latex]\\text{log}_{10}(x) = \\text{log}(x)[\/latex]<\/p>\n<ul>\n<li>Another common base that you may encounter is the irrational number [latex]e[\/latex], which is approximately equal to [latex]2.718[\/latex]; instead of writing [latex]\\text{log}_e(x)[\/latex], we often just write [latex]\\text{ln}(x)[\/latex] and call this the \u201cnatural logarithm of [latex]x[\/latex].\u201d<\/li>\n<\/ul>\n<p style=\"text-align: center;\">[latex]\\text{log}_e(x) = \\text{ln}(x)[\/latex]<\/p>\n<\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm3082\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=3082&theme=lumen&iframe_resize_id=ohm3082&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm3206\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=3206&theme=lumen&iframe_resize_id=ohm3206&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm3207\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=3207&theme=lumen&iframe_resize_id=ohm3207&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-1468-1\">https:\/\/en.wikipedia.org\/wiki\/Data_transformation_(statistics) <a href=\"#return-footnote-1468-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><li id=\"footnote-1468-2\">https:\/\/en.wikipedia.org\/wiki\/Data_transformation_(statistics) <a href=\"#return-footnote-1468-2\" class=\"return-footnote\" aria-label=\"Return to footnote 2\">&crarr;<\/a><\/li><li id=\"footnote-1468-3\">Definition of square root. (n.d.). Mathisfun.com. https:\/\/www.mathsisfun.com\/definitions\/square-root.html <a href=\"#return-footnote-1468-3\" class=\"return-footnote\" aria-label=\"Return to footnote 3\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":8,"menu_order":27,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":1438,"module-header":"learn_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1468"}],"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\/8"}],"version-history":[{"count":13,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1468\/revisions"}],"predecessor-version":[{"id":6902,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1468\/revisions\/6902"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/parts\/1438"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1468\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/media?parent=1468"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapter-type?post=1468"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/contributor?post=1468"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/license?post=1468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}