{"id":49,"date":"2017-04-15T03:15:17","date_gmt":"2017-04-15T03:15:17","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/conceptstest1\/chapter\/what-is-data\/"},"modified":"2017-05-27T23:58:41","modified_gmt":"2017-05-27T23:58:41","slug":"what-is-data","status":"web-only","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/chapter\/what-is-data\/","title":{"raw":"Categorical vs. Quantitative Data","rendered":"Categorical vs. Quantitative Data"},"content":{"raw":"&nbsp;\r\n<div class=\"textbox learning-objectives\">\r\n<h3>Learning Objectives<\/h3>\r\n<ul>\r\n \t<li>Distinguish between quantitative and categorical variables in context.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<strong>Data<\/strong> consist of <strong>individuals<\/strong> and <strong>variables <\/strong> that give us information about those individuals. An individual can be an object or a person. A variable is an attribute, such as a measurement or a label.\r\n<div class=\"textbox examples\">\r\n<h3>Example<\/h3>\r\n<h2>Medical Records<\/h2>\r\nThis dataset is from a medical study. In this study, researchers wanted to identify variables connected to low birth weights.\r\n\r\n<img class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15031512\/m2_summarizing_data_topic_2_1__m2_1_dataset_image1.png\" alt=\"Dataset showing variables associated with low birth weight\" width=\"439\" height=\"176\" \/>\r\n\r\nIn this example, the individuals are the patients (the mothers). There are six variables in this dataset:\r\n<ul>\r\n \t<li>Mother\u2019s age at delivery (years)<\/li>\r\n \t<li>Mother\u2019s weight prior to pregnancy (pounds)<\/li>\r\n \t<li>Whether mother smoked during pregnancy (yes, no)<\/li>\r\n \t<li>Number of doctor visits during first trimester of pregnancy<\/li>\r\n \t<li>Mother\u2019s race (Caucasian, African American, Asian, etc.)<\/li>\r\n \t<li>Baby\u2019s birth weight (grams)<\/li>\r\n<\/ul>\r\n<\/div>\r\nThere are two types of variables: quantitative and categorical.\r\n<ul>\r\n \t<li><strong>Categorical variables<\/strong> take category or label values and place an individual into one of several groups. Each observation can be placed in only one category, and the categories are mutually exclusive. In our example of medical records, smoking is a categorical variable, with two groups, since each participant can be categorized only as either a nonsmoker or a smoker. Gender and race are the two other categorical variables in our medical records example.<\/li>\r\n \t<li><strong>Quantitative variables<\/strong> take numerical values and represent some kind of measurement. In our medical example, age is an example of a quantitative variable because it can take on multiple numerical values. It also makes sense to think about it in numerical form; that is, a person can be 18 years old or 80 years old. Weight and height are also examples of quantitative variables.<\/li>\r\n<\/ul>\r\n<div class=\"textbox exercises\">\r\n<h3>Learn By Doing<\/h3>\r\n<h3><\/h3>\r\nWe took a random sample from the 2000 US Census. Here is part of the dataset.\r\n\r\n<img class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15031514\/m2_summarizing_data_topic_2_1__m2_1_dotplots_activities_image1.png\" alt=\"Census 2000 dataset that shows average family size and annual income by zip codes within states\" width=\"372\" height=\"168\" \/>https:\/\/assessments.lumenlearning.com\/assessments\/3411\r\n\r\nhttps:\/\/assessments.lumenlearning.com\/assessments\/3412\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Learn By Doing<\/h3>\r\n<em>Consumer Reports <\/em>analyzed a dataset of 77 breakfast cereals. Here is a part of the dataset.\r\n\r\n(Note: Consumer Reports is an non-profit organization that rates products in an effort to help consumers make informed decisions.)\r\n\r\n<img class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15031516\/m2_summarizing_data_topic_2_1__m2_1_dotplots_activities_image2.png\" alt=\"Data set of seven breakfast cereals that shows manufacturer, where on the grocery store shelf they are located, their target (adult of child), and percentage of calories, sodium and fat per serving.\" width=\"747\" height=\"230\" \/>\r\n\r\nhttps:\/\/assessments.lumenlearning.com\/assessments\/3415\r\n\r\nhttps:\/\/assessments.lumenlearning.com\/assessments\/3416\r\n\r\n<\/div>","rendered":"<p>&nbsp;<\/p>\n<div class=\"textbox learning-objectives\">\n<h3>Learning Objectives<\/h3>\n<ul>\n<li>Distinguish between quantitative and categorical variables in context.<\/li>\n<\/ul>\n<\/div>\n<p><strong>Data<\/strong> consist of <strong>individuals<\/strong> and <strong>variables <\/strong> that give us information about those individuals. An individual can be an object or a person. A variable is an attribute, such as a measurement or a label.<\/p>\n<div class=\"textbox examples\">\n<h3>Example<\/h3>\n<h2>Medical Records<\/h2>\n<p>This dataset is from a medical study. In this study, researchers wanted to identify variables connected to low birth weights.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15031512\/m2_summarizing_data_topic_2_1__m2_1_dataset_image1.png\" alt=\"Dataset showing variables associated with low birth weight\" width=\"439\" height=\"176\" \/><\/p>\n<p>In this example, the individuals are the patients (the mothers). There are six variables in this dataset:<\/p>\n<ul>\n<li>Mother\u2019s age at delivery (years)<\/li>\n<li>Mother\u2019s weight prior to pregnancy (pounds)<\/li>\n<li>Whether mother smoked during pregnancy (yes, no)<\/li>\n<li>Number of doctor visits during first trimester of pregnancy<\/li>\n<li>Mother\u2019s race (Caucasian, African American, Asian, etc.)<\/li>\n<li>Baby\u2019s birth weight (grams)<\/li>\n<\/ul>\n<\/div>\n<p>There are two types of variables: quantitative and categorical.<\/p>\n<ul>\n<li><strong>Categorical variables<\/strong> take category or label values and place an individual into one of several groups. Each observation can be placed in only one category, and the categories are mutually exclusive. In our example of medical records, smoking is a categorical variable, with two groups, since each participant can be categorized only as either a nonsmoker or a smoker. Gender and race are the two other categorical variables in our medical records example.<\/li>\n<li><strong>Quantitative variables<\/strong> take numerical values and represent some kind of measurement. In our medical example, age is an example of a quantitative variable because it can take on multiple numerical values. It also makes sense to think about it in numerical form; that is, a person can be 18 years old or 80 years old. Weight and height are also examples of quantitative variables.<\/li>\n<\/ul>\n<div class=\"textbox exercises\">\n<h3>Learn By Doing<\/h3>\n<h3><\/h3>\n<p>We took a random sample from the 2000 US Census. Here is part of the dataset.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15031514\/m2_summarizing_data_topic_2_1__m2_1_dotplots_activities_image1.png\" alt=\"Census 2000 dataset that shows average family size and annual income by zip codes within states\" width=\"372\" height=\"168\" \/>https:\/\/assessments.lumenlearning.com\/assessments\/3411<\/p>\n<p>\t<iframe id=\"lumen_assessment_3412\" class=\"resizable\" src=\"https:\/\/assessments.lumenlearning.com\/assessments\/load?assessment_id=3412&#38;embed=1&#38;external_user_id=&#38;external_context_id=&#38;iframe_resize_id=lumen_assessment_3412\" frameborder=\"0\" style=\"border:none;width:100%;height:100%;min-height:400px;\"><br \/>\n\t<\/iframe><\/p>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Learn By Doing<\/h3>\n<p><em>Consumer Reports <\/em>analyzed a dataset of 77 breakfast cereals. Here is a part of the dataset.<\/p>\n<p>(Note: Consumer Reports is an non-profit organization that rates products in an effort to help consumers make informed decisions.)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15031516\/m2_summarizing_data_topic_2_1__m2_1_dotplots_activities_image2.png\" alt=\"Data set of seven breakfast cereals that shows manufacturer, where on the grocery store shelf they are located, their target (adult of child), and percentage of calories, sodium and fat per serving.\" width=\"747\" height=\"230\" \/><\/p>\n<p>\t<iframe id=\"lumen_assessment_3415\" class=\"resizable\" src=\"https:\/\/assessments.lumenlearning.com\/assessments\/load?assessment_id=3415&#38;embed=1&#38;external_user_id=&#38;external_context_id=&#38;iframe_resize_id=lumen_assessment_3415\" frameborder=\"0\" style=\"border:none;width:100%;height:100%;min-height:400px;\"><br \/>\n\t<\/iframe><\/p>\n<p>\t<iframe id=\"lumen_assessment_3416\" class=\"resizable\" src=\"https:\/\/assessments.lumenlearning.com\/assessments\/load?assessment_id=3416&#38;embed=1&#38;external_user_id=&#38;external_context_id=&#38;iframe_resize_id=lumen_assessment_3416\" frameborder=\"0\" style=\"border:none;width:100%;height:100%;min-height:400px;\"><br \/>\n\t<\/iframe><\/p>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-49\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Concepts in Statistics. <strong>Provided by<\/strong>: Open Learning Initiative. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/oli.cmu.edu\">http:\/\/oli.cmu.edu<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":163,"menu_order":3,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Concepts in Statistics\",\"author\":\"\",\"organization\":\"Open Learning Initiative\",\"url\":\"http:\/\/oli.cmu.edu\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"95381d41-ab1c-40a2-a0b9-611217eb11cd","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-49","chapter","type-chapter","status-web-only","hentry"],"part":43,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/wp\/v2\/users\/163"}],"version-history":[{"count":8,"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/49\/revisions"}],"predecessor-version":[{"id":1239,"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/49\/revisions\/1239"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/pressbooks\/v2\/parts\/43"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/49\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/pressbooks\/v2\/chapter-type?post=49"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/wp\/v2\/contributor?post=49"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-hccc-wm-concepts-statistics\/wp-json\/wp\/v2\/license?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}