{"id":5576,"date":"2022-09-27T11:51:11","date_gmt":"2022-09-27T11:51:11","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/?post_type=chapter&#038;p=5576"},"modified":"2022-10-18T07:57:08","modified_gmt":"2022-10-18T07:57:08","slug":"18b-preview","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/chapter\/18b-preview\/","title":{"raw":"18B Preview","rendered":"18B Preview"},"content":{"raw":"<div id=\"bp-page-1\" class=\"page\" data-page-number=\"1\" data-loaded=\"true\">\r\n<div class=\"textLayer\">Preparing for the next class<\/div>\r\n<div class=\"textLayer\">In the next in-class activity, you will need to create a bootstrap confidence interval for a population median and determine when it is appropriate to use a two-sample t confidence interval to estimate a difference in means. We have seen how to construct and interpret a bootstrap confidence interval for a population mean. The next in-class activity will extend bootstrap confidence intervals in two ways. We will consider how to construct bootstrap confidence intervals for population parameters other than the mean (including the median and the standard deviation). We will also see bootstrap confidence intervals for a difference in population means.<\/div>\r\n<div><\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 1<\/h3>\r\n<div class=\"textLayer\">1) In the previous in-class activity, a bootstrap confidence interval for a population mean was constructed by using percentiles from a bootstrap distribution formedby calculating the value of the sample mean for a large number of bootstrap samples. But what if we wanted to get a confidence interval for a different population parameter? For example, maybe a population distribution is quite skewed,so the median might be a better choice for describing the center of the distribution. Could we use sample data to calculate a confidence interval for the population median? There is no t confidence interval or z confidence interval for a population median.In the previous in-class activity, we were able to use sample data to construct a bootstrap confidence interval for a population mean by carrying out the following steps:<\/div>\r\n<div class=\"textLayer\">1. Create a bootstrap sample by selecting a sample with replacement from theoriginalsample.<\/div>\r\n<div class=\"textLayer\">2. Calculate the sample mean for the bootstrap sample.<\/div>\r\n<div class=\"textLayer\">3. Repeat Steps 1 and 2 a large number of times.<\/div>\r\n<div class=\"textLayer\">4. Createa bootstrap distribution of the bootstrap sample means and thendetermine the end points of the confidenceinterval by using appropriatepercentiles of the bootstrap distribution.<\/div>\r\n<div class=\"textLayer\">Part A: How could this procedure be modified to create a bootstrap confidence interval for a population median instead of a population mean?<\/div>\r\n<div class=\"textLayer\">Part B: Do you think that this same process could be used for other populationparameters, like the population standard deviation or the population interquartile range?<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"ba-Layer ba-Layer--region\" data-resin-fileid=\"910630328223\" data-resin-iscurrent=\"true\" data-resin-feature=\"annotations\" data-testid=\"ba-Layer--region\"><\/div>\r\n<\/div>\r\n<div id=\"bp-page-2\" class=\"page\" data-page-number=\"2\" data-loaded=\"true\">\r\n<div><\/div>\r\n<div class=\"textLayer\">Do dogs prefer petting or verbal praise? Researchers at the University of Florida collected data to try to answer this question.[footnote]Feuerbacher, E. N. &amp; Wynne, C. D. (2015). Shut up and pet me! Domestic dogs(canis lupus familiaris)prefer petting to vocal praise in concurrent and single-alternative choice procedures.Behavioural Processes, 110, 47\u201359.[\/footnote] They measured the amount of time a dog spent interacting with its owner during a five-minute period while the owner was offering petting for a sample of seven adult dogs. They also measured the amount of time a dog spent interacting with its owner during a five-minute period while the owner was offering verbal praise for a sample of seven adult dogs.<\/div>\r\n<div><\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 2<\/h3>\r\n<div class=\"textLayer\">2) We will assume that each of the two samples of dogs are representative of the population of all adult dogs and that the samples were independently selected.<\/div>\r\n<div class=\"textLayer\">Part A: How many sampleswere there in the study described?<\/div>\r\n<div class=\"textLayer\">Part B: The data for the two samples and the corresponding dotplots are given as follows. Time spent was measured in seconds.\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>Petting<\/td>\r\n<td>114<\/td>\r\n<td>203<\/td>\r\n<td>217<\/td>\r\n<td>254<\/td>\r\n<td>256<\/td>\r\n<td>284<\/td>\r\n<td>296<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Vocal praise<\/td>\r\n<td>4<\/td>\r\n<td>7<\/td>\r\n<td>24<\/td>\r\n<td>25<\/td>\r\n<td>48<\/td>\r\n<td>71<\/td>\r\n<td>294<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<img class=\"alignnone wp-image-2203\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5738\/2022\/01\/27023610\/Picture1381-300x66.png\" alt=\"Two side-by-side dot plots labeled \u201cTime (in seconds)\u201d on the x-axis. The first plot is labeled \u201cPetting\u201d and has a point at approximately 115, another at approximately 205, another at approximately 215, two at approximately 255, another at approximately 285, and another at approximately 295. The second plot is labeled \u201cVocal Praise\u201d and has two dots at approximately 5, two at approximately 25, one at approximately 50, another at approximately 70, and another at approximately 295.\" width=\"855\" height=\"188\" \/>Does it look like there is a difference in the amount of time that dogs spend interacting with their owners when being petted compared to being given verbal praise?<\/div>\r\n<div class=\"textLayer\">Part C: What are the assumptions for the two-sample t confidence interval?<\/div>\r\n<div class=\"textLayer\">Part D: Would it be appropriateto use a two-sample t confidence interval to estimate the difference in mean time spent interacting for dogs being offered pettingand dogs being offered verbal praise? Explain.<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>","rendered":"<div id=\"bp-page-1\" class=\"page\" data-page-number=\"1\" data-loaded=\"true\">\n<div class=\"textLayer\">Preparing for the next class<\/div>\n<div class=\"textLayer\">In the next in-class activity, you will need to create a bootstrap confidence interval for a population median and determine when it is appropriate to use a two-sample t confidence interval to estimate a difference in means. We have seen how to construct and interpret a bootstrap confidence interval for a population mean. The next in-class activity will extend bootstrap confidence intervals in two ways. We will consider how to construct bootstrap confidence intervals for population parameters other than the mean (including the median and the standard deviation). We will also see bootstrap confidence intervals for a difference in population means.<\/div>\n<div><\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 1<\/h3>\n<div class=\"textLayer\">1) In the previous in-class activity, a bootstrap confidence interval for a population mean was constructed by using percentiles from a bootstrap distribution formedby calculating the value of the sample mean for a large number of bootstrap samples. But what if we wanted to get a confidence interval for a different population parameter? For example, maybe a population distribution is quite skewed,so the median might be a better choice for describing the center of the distribution. Could we use sample data to calculate a confidence interval for the population median? There is no t confidence interval or z confidence interval for a population median.In the previous in-class activity, we were able to use sample data to construct a bootstrap confidence interval for a population mean by carrying out the following steps:<\/div>\n<div class=\"textLayer\">1. Create a bootstrap sample by selecting a sample with replacement from theoriginalsample.<\/div>\n<div class=\"textLayer\">2. Calculate the sample mean for the bootstrap sample.<\/div>\n<div class=\"textLayer\">3. Repeat Steps 1 and 2 a large number of times.<\/div>\n<div class=\"textLayer\">4. Createa bootstrap distribution of the bootstrap sample means and thendetermine the end points of the confidenceinterval by using appropriatepercentiles of the bootstrap distribution.<\/div>\n<div class=\"textLayer\">Part A: How could this procedure be modified to create a bootstrap confidence interval for a population median instead of a population mean?<\/div>\n<div class=\"textLayer\">Part B: Do you think that this same process could be used for other populationparameters, like the population standard deviation or the population interquartile range?<\/div>\n<\/div>\n<\/div>\n<div class=\"ba-Layer ba-Layer--region\" data-resin-fileid=\"910630328223\" data-resin-iscurrent=\"true\" data-resin-feature=\"annotations\" data-testid=\"ba-Layer--region\"><\/div>\n<\/div>\n<div id=\"bp-page-2\" class=\"page\" data-page-number=\"2\" data-loaded=\"true\">\n<div><\/div>\n<div class=\"textLayer\">Do dogs prefer petting or verbal praise? Researchers at the University of Florida collected data to try to answer this question.<a class=\"footnote\" title=\"Feuerbacher, E. N. &amp; Wynne, C. D. (2015). Shut up and pet me! Domestic dogs(canis lupus familiaris)prefer petting to vocal praise in concurrent and single-alternative choice procedures.Behavioural Processes, 110, 47\u201359.\" id=\"return-footnote-5576-1\" href=\"#footnote-5576-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a> They measured the amount of time a dog spent interacting with its owner during a five-minute period while the owner was offering petting for a sample of seven adult dogs. They also measured the amount of time a dog spent interacting with its owner during a five-minute period while the owner was offering verbal praise for a sample of seven adult dogs.<\/div>\n<div><\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 2<\/h3>\n<div class=\"textLayer\">2) We will assume that each of the two samples of dogs are representative of the population of all adult dogs and that the samples were independently selected.<\/div>\n<div class=\"textLayer\">Part A: How many sampleswere there in the study described?<\/div>\n<div class=\"textLayer\">Part B: The data for the two samples and the corresponding dotplots are given as follows. Time spent was measured in seconds.<\/p>\n<table>\n<tbody>\n<tr>\n<td>Petting<\/td>\n<td>114<\/td>\n<td>203<\/td>\n<td>217<\/td>\n<td>254<\/td>\n<td>256<\/td>\n<td>284<\/td>\n<td>296<\/td>\n<\/tr>\n<tr>\n<td>Vocal praise<\/td>\n<td>4<\/td>\n<td>7<\/td>\n<td>24<\/td>\n<td>25<\/td>\n<td>48<\/td>\n<td>71<\/td>\n<td>294<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2203\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5738\/2022\/01\/27023610\/Picture1381-300x66.png\" alt=\"Two side-by-side dot plots labeled \u201cTime (in seconds)\u201d on the x-axis. The first plot is labeled \u201cPetting\u201d and has a point at approximately 115, another at approximately 205, another at approximately 215, two at approximately 255, another at approximately 285, and another at approximately 295. The second plot is labeled \u201cVocal Praise\u201d and has two dots at approximately 5, two at approximately 25, one at approximately 50, another at approximately 70, and another at approximately 295.\" width=\"855\" height=\"188\" \/>Does it look like there is a difference in the amount of time that dogs spend interacting with their owners when being petted compared to being given verbal praise?<\/div>\n<div class=\"textLayer\">Part C: What are the assumptions for the two-sample t confidence interval?<\/div>\n<div class=\"textLayer\">Part D: Would it be appropriateto use a two-sample t confidence interval to estimate the difference in mean time spent interacting for dogs being offered pettingand dogs being offered verbal praise? Explain.<\/div>\n<\/div>\n<\/div>\n<\/div>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-5576-1\">Feuerbacher, E. N. &amp; Wynne, C. D. (2015). Shut up and pet me! Domestic dogs(canis lupus familiaris)prefer petting to vocal praise in concurrent and single-alternative choice procedures.Behavioural Processes, 110, 47\u201359. <a href=\"#return-footnote-5576-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":23592,"menu_order":68,"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-5576","chapter","type-chapter","status-publish","hentry"],"part":5563,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/users\/23592"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5576\/revisions"}],"predecessor-version":[{"id":5673,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5576\/revisions\/5673"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/parts\/5563"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5576\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/media?parent=5576"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapter-type?post=5576"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/contributor?post=5576"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/license?post=5576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}