{"id":337,"date":"2016-04-21T22:43:40","date_gmt":"2016-04-21T22:43:40","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/introstats1xmaster\/?post_type=chapter&#038;p=337"},"modified":"2016-04-21T22:43:40","modified_gmt":"2016-04-21T22:43:40","slug":"distribution-needed-for-hypothesis-testing","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/chapter\/distribution-needed-for-hypothesis-testing\/","title":{"raw":"Distribution Needed for Hypothesis Testing","rendered":"Distribution Needed for Hypothesis Testing"},"content":{"raw":"<p>Earlier in the course, we discussed sampling distributions.\u00a0<strong>Particular distributions are associated with hypothesis testing.<\/strong> Perform tests of a population mean using a <strong>normal distribution<\/strong> or a <strong>Student's <em data-redactor-tag=\"em\">t-<\/em>distribution<\/strong>. (Remember, use a Student's <em>t<\/em>-distribution when the population <strong>standard deviation<\/strong> is unknown and the distribution of the sample mean is approximately normal.) We perform tests of a population proportion using a normal distribution (usually <em>n<\/em> is large or the sample size is large).\n\nIf you are testing a\u00a0<strong>single population mean<\/strong>, the distribution for the test is for <strong>means<\/strong>:\n\n[latex]\\displaystyle\\overline{{X}}~{N}{\\left(\\mu_{{X}}\\frac{{\\sigma_{{X}}}}{\\sqrt{{n}}}\\right)}{\\quad\\text{or}\\quad}{t}_{{{d}{f}}}[\/latex]\n\nThe population parameter is\u00a0<em>\u03bc<\/em>. The estimated value (point estimate) for \u03bc is [latex]\\displaystyle\\overline{{x}}[\/latex], the sample mean.\n\nIf you are testing a\u00a0<strong>single population proportion<\/strong>, the distribution for the test is for proportions or percentages:\n\n[latex]\\displaystyle{P}\\prime~{N}{\\left({p}\\sqrt{{\\frac{{{p}{q}}}{{n}}}}\\right)}[\/latex]\n\nThe population parameter is\u00a0<em>p<\/em>. The estimated value (point estimate) for <em>p<\/em> is <em>p\u2032<\/em>. [latex]\\displaystyle{p}\\prime=\\frac{{x}}{{n}}[\/latex] where <em>x<\/em> is the number of successes and <em>n<\/em> is the sample size.\n<\/p><h2>Assumptions<\/h2>\nWhen you perform a\u00a0<strong>hypothesis test of a single population mean <\/strong><em><strong data-redactor-tag=\"strong\">\u03bc<\/strong><\/em> using a <strong>Student's <em data-redactor-tag=\"em\">t<\/em>-distribution<\/strong> (often called a t-test), there are fundamental assumptions that need to be met in order for the test to work properly. Your data should be a <strong>simple random sample<\/strong> that comes from a population that is approximately <strong>normally distributed<\/strong>. You use the sample <strong>standard deviation<\/strong> to approximate the population standard deviation. (Note that if the sample size is sufficiently large, a t-test will work even if the population is not approximately normally distributed).\n\nWhen you perform a\u00a0<strong>hypothesis test of a single population mean <em data-redactor-tag=\"em\">\u03bc<\/em> <\/strong>using a normal distribution (often called a <em>z<\/em>-test), you take a simple random sample from the population. The population you are testing is normally distributed or your sample size is sufficiently large. You know the value of the population standard deviation which, in reality, is rarely known.\n<p style=\"text-align: left;\">When you perform a\u00a0<strong>hypothesis test of a single population proportion <\/strong><em><strong data-redactor-tag=\"strong\">p<\/strong><\/em>, you take a simple random sample from the population. You must meet the conditions for a <strong>binomial distribution<\/strong> which are as follows: there are a certain number <em>n<\/em> of independent trials, the outcomes of any trial are success or failure, and each trial has the same probability of a success <em>p<\/em>. The shape of the binomial distribution needs to be similar to the shape of the normal distribution. To ensure this, the quantities <em>np\u00a0<\/em>and <em>nq<\/em> must both be greater than five (<em>np<\/em> &gt; 5 and <em>nq<\/em> &gt; 5). Then the binomial distribution of a sample (estimated) proportion can be approximated by the normal distribution with <em>\u03bc<\/em> = <em>p<\/em> and [latex]\\displaystyle\\sigma=\\sqrt{{\\frac{{{p}{q}}}{{n}}}}[\/latex]<span style=\"line-height: normal; white-space: nowrap;\">.<\/span> Remember that <em>q<\/em> = 1 \u2013 <em>p<\/em>.<\/p>\n\n<h2>Concept Review<\/h2>\nIn order for a hypothesis test's results to be generalized to a population, certain requirements must be satisfied.\n\nWhen testing for a single population mean:\n<ol><li>A Student's <em>t<\/em>-test should be used if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with an unknown standard deviation.<\/li>\n\t<li>The normal test will work if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with a known standard deviation.<\/li>\n<\/ol>\nWhen testing a single population proportion use a normal test for a single population proportion if the data comes from a simple, random sample, fill the requirements for a binomial distribution, and the mean number of success and the mean number of failures satisfy the conditions:\u00a0<em>np<\/em> &gt; 5 and <em>nq<\/em> &gt; <em>n<\/em> where <em>n<\/em> is the sample size, <em>p<\/em> is the probability of a success, and <em>q<\/em> is the probability of a failure.\n<h2>Formula Review<\/h2>\nIf there is no given preconceived\u00a0<em>\u03b1<\/em>, then use <em>\u03b1<\/em> = 0.05.\n\n<strong>Types of Hypothesis Tests<\/strong>\n<ul><li>Single population mean, <strong>known<\/strong> population variance (or standard deviation): <strong>Normal test<\/strong>.<\/li>\n\t<li>Single population mean, <strong>unknown<\/strong> population variance (or standard deviation): <strong>Student's <em data-redactor-tag=\"em\">t<\/em>-test<\/strong>.<\/li>\n\t<li>Single population proportion: <strong>Normal test<\/strong>.<\/li>\n\t<li>For a <strong>single population mean<\/strong>, we may use a normal distribution with the following mean and standard deviation. Means: [latex]\\displaystyle\\mu=\\mu_{{\\overline{{x}}}}{\\quad\\text{and}\\quad}\\sigma_{{\\overline{{x}}}}=\\frac{{\\sigma_{{x}}}}{\\sqrt{{n}}}[\/latex]<\/li>\n\t<li>A <strong>single population proportion<\/strong>, we may use a normal distribution with the following mean and standard deviation. Proportions: [latex]\\displaystyle\\mu={p}{\\quad\\text{and}\\quad}\\sigma=\\sqrt{{\\frac{{{p}{q}}}{{n}}}}[\/latex].<\/li>\n<\/ul>","rendered":"<p>Earlier in the course, we discussed sampling distributions.\u00a0<strong>Particular distributions are associated with hypothesis testing.<\/strong> Perform tests of a population mean using a <strong>normal distribution<\/strong> or a <strong>Student&#8217;s <em data-redactor-tag=\"em\">t-<\/em>distribution<\/strong>. (Remember, use a Student&#8217;s <em>t<\/em>-distribution when the population <strong>standard deviation<\/strong> is unknown and the distribution of the sample mean is approximately normal.) We perform tests of a population proportion using a normal distribution (usually <em>n<\/em> is large or the sample size is large).<\/p>\n<p>If you are testing a\u00a0<strong>single population mean<\/strong>, the distribution for the test is for <strong>means<\/strong>:<\/p>\n<p>[latex]\\displaystyle\\overline{{X}}~{N}{\\left(\\mu_{{X}}\\frac{{\\sigma_{{X}}}}{\\sqrt{{n}}}\\right)}{\\quad\\text{or}\\quad}{t}_{{{d}{f}}}[\/latex]<\/p>\n<p>The population parameter is\u00a0<em>\u03bc<\/em>. The estimated value (point estimate) for \u03bc is [latex]\\displaystyle\\overline{{x}}[\/latex], the sample mean.<\/p>\n<p>If you are testing a\u00a0<strong>single population proportion<\/strong>, the distribution for the test is for proportions or percentages:<\/p>\n<p>[latex]\\displaystyle{P}\\prime~{N}{\\left({p}\\sqrt{{\\frac{{{p}{q}}}{{n}}}}\\right)}[\/latex]<\/p>\n<p>The population parameter is\u00a0<em>p<\/em>. The estimated value (point estimate) for <em>p<\/em> is <em>p\u2032<\/em>. [latex]\\displaystyle{p}\\prime=\\frac{{x}}{{n}}[\/latex] where <em>x<\/em> is the number of successes and <em>n<\/em> is the sample size.\n<\/p>\n<h2>Assumptions<\/h2>\n<p>When you perform a\u00a0<strong>hypothesis test of a single population mean <\/strong><em><strong data-redactor-tag=\"strong\">\u03bc<\/strong><\/em> using a <strong>Student&#8217;s <em data-redactor-tag=\"em\">t<\/em>-distribution<\/strong> (often called a t-test), there are fundamental assumptions that need to be met in order for the test to work properly. Your data should be a <strong>simple random sample<\/strong> that comes from a population that is approximately <strong>normally distributed<\/strong>. You use the sample <strong>standard deviation<\/strong> to approximate the population standard deviation. (Note that if the sample size is sufficiently large, a t-test will work even if the population is not approximately normally distributed).<\/p>\n<p>When you perform a\u00a0<strong>hypothesis test of a single population mean <em data-redactor-tag=\"em\">\u03bc<\/em> <\/strong>using a normal distribution (often called a <em>z<\/em>-test), you take a simple random sample from the population. The population you are testing is normally distributed or your sample size is sufficiently large. You know the value of the population standard deviation which, in reality, is rarely known.<\/p>\n<p style=\"text-align: left;\">When you perform a\u00a0<strong>hypothesis test of a single population proportion <\/strong><em><strong data-redactor-tag=\"strong\">p<\/strong><\/em>, you take a simple random sample from the population. You must meet the conditions for a <strong>binomial distribution<\/strong> which are as follows: there are a certain number <em>n<\/em> of independent trials, the outcomes of any trial are success or failure, and each trial has the same probability of a success <em>p<\/em>. The shape of the binomial distribution needs to be similar to the shape of the normal distribution. To ensure this, the quantities <em>np\u00a0<\/em>and <em>nq<\/em> must both be greater than five (<em>np<\/em> &gt; 5 and <em>nq<\/em> &gt; 5). Then the binomial distribution of a sample (estimated) proportion can be approximated by the normal distribution with <em>\u03bc<\/em> = <em>p<\/em> and [latex]\\displaystyle\\sigma=\\sqrt{{\\frac{{{p}{q}}}{{n}}}}[\/latex]<span style=\"line-height: normal; white-space: nowrap;\">.<\/span> Remember that <em>q<\/em> = 1 \u2013 <em>p<\/em>.<\/p>\n<h2>Concept Review<\/h2>\n<p>In order for a hypothesis test&#8217;s results to be generalized to a population, certain requirements must be satisfied.<\/p>\n<p>When testing for a single population mean:<\/p>\n<ol>\n<li>A Student&#8217;s <em>t<\/em>-test should be used if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with an unknown standard deviation.<\/li>\n<li>The normal test will work if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with a known standard deviation.<\/li>\n<\/ol>\n<p>When testing a single population proportion use a normal test for a single population proportion if the data comes from a simple, random sample, fill the requirements for a binomial distribution, and the mean number of success and the mean number of failures satisfy the conditions:\u00a0<em>np<\/em> &gt; 5 and <em>nq<\/em> &gt; <em>n<\/em> where <em>n<\/em> is the sample size, <em>p<\/em> is the probability of a success, and <em>q<\/em> is the probability of a failure.<\/p>\n<h2>Formula Review<\/h2>\n<p>If there is no given preconceived\u00a0<em>\u03b1<\/em>, then use <em>\u03b1<\/em> = 0.05.<\/p>\n<p><strong>Types of Hypothesis Tests<\/strong><\/p>\n<ul>\n<li>Single population mean, <strong>known<\/strong> population variance (or standard deviation): <strong>Normal test<\/strong>.<\/li>\n<li>Single population mean, <strong>unknown<\/strong> population variance (or standard deviation): <strong>Student&#8217;s <em data-redactor-tag=\"em\">t<\/em>-test<\/strong>.<\/li>\n<li>Single population proportion: <strong>Normal test<\/strong>.<\/li>\n<li>For a <strong>single population mean<\/strong>, we may use a normal distribution with the following mean and standard deviation. Means: [latex]\\displaystyle\\mu=\\mu_{{\\overline{{x}}}}{\\quad\\text{and}\\quad}\\sigma_{{\\overline{{x}}}}=\\frac{{\\sigma_{{x}}}}{\\sqrt{{n}}}[\/latex]<\/li>\n<li>A <strong>single population proportion<\/strong>, we may use a normal distribution with the following mean and standard deviation. Proportions: [latex]\\displaystyle\\mu={p}{\\quad\\text{and}\\quad}\\sigma=\\sqrt{{\\frac{{{p}{q}}}{{n}}}}[\/latex].<\/li>\n<\/ul>\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-337\">\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>Distribution Needed for Hypothesis Testing. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"\"><\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li>Introductory Statistics . <strong>Authored by<\/strong>: Barbara Illowski, Susan Dean. <strong>Provided by<\/strong>: Open Stax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\">http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download for free at http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44<\/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":21,"menu_order":4,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Distribution Needed for Hypothesis Testing\",\"author\":\"\",\"organization\":\"OpenStax\",\"url\":\"Download for free at http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"Introductory Statistics \",\"author\":\"Barbara Illowski, Susan Dean\",\"organization\":\"Open Stax\",\"url\":\"http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download for free at http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-337","chapter","type-chapter","status-publish","hentry"],"part":330,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/pressbooks\/v2\/chapters\/337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/wp\/v2\/users\/21"}],"version-history":[{"count":2,"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/pressbooks\/v2\/chapters\/337\/revisions"}],"predecessor-version":[{"id":1456,"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/pressbooks\/v2\/chapters\/337\/revisions\/1456"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/pressbooks\/v2\/parts\/330"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/pressbooks\/v2\/chapters\/337\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/wp\/v2\/media?parent=337"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/pressbooks\/v2\/chapter-type?post=337"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/wp\/v2\/contributor?post=337"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-fmcc-introstats1\/wp-json\/wp\/v2\/license?post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}