Skip to main content
Statistics LibreTexts

Proportion SD

  • Page ID
    64220
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Hypothesis Testing for a Proportion and 

    for a Mean with Unknown Population Standard Deviation

     

    Small Sample Hypothesis Tests For a Normal population

    When we have a small sample from a normal population, we use the same method as a large sample except we use the t statistic instead of the z-statistic.  Hence, we need to find the degrees of freedom (n - 1) and use the t-table in the back of the book.  

    Example

    Is the temperature required to damage a computer on the average less than 110 degrees?  Because of the price of testing, twenty computers were tested to see what minimum temperature will damage the computer.  The damaging temperature averaged 109 degrees with a standard deviation of 3 degrees.   Assume that the distribution of all computers' damaging temperatures is approximately normal.  (use \(\alpha\) = .05)

    We test the hypothesis 

            H0:   \(\mu\) = 110

            H1:   \(\mu\) < 110

    We compute the t statistic:

            \(\frac{109 - 110}{3/\sqrt{20}} = -1.49\)

    This is a one tailed test, so we can go to our t-table with 19 degrees of freedom to find that Normal Curve whit left tail area -1.73

            tc   =  1.73

    Since 

            -1.49  >  -1.73

    We see that the test statistic does not fall in the critical region.  We fail to reject the null hypothesis and conclude that there is insufficient evidence to suggest that the temperature required to damage a computer on the average less than 110 degrees.

     


     

    Hypothesis Testing for a Population Proportion

    We have seen how to conduct hypothesis tests for a mean.  We now turn to proportions.  The process is completely analogous, although we will need to use the standard deviation formula for a proportion.

    Example  

    Suppose that you interview 1000 exiting voters about who they voted for governor.  Of the 1000 voters, 550 reported that they voted for the democratic candidate.  Is there sufficient evidence to suggest that the democratic candidate will win the election at the .01 level?  

            H0: p =.5

            H1:  p >.5

    Since it a large sample we can use the central limit theorem to say that the distribution of proportions is approximately normal. We compute the test statistic:Normal curve with right tail area 2.33

    \( z = \frac{\hat{p}-p}{\sqrt{pq/n}}\)

    \( = \frac{0.6-0.5}{\sqrt{(0.5)(0.5)/1000}} = 3.16\)

    Notice that in this formula, we have used the hypothesized proportion rather than the sample proportion.  This is because if the null hypothesis is correct, then .5 is the true proportion and we are not making any approximations.  We compute the rejection region using the z-table.  We find that zc  =  2.33.

    The picture shows us that 3.16 is in the rejection region.  Therefore we reject H0 so can conclude that the democratic candidate will win with a p-value of .0008.

     


    Example

    1500 randomly selected pine trees were tested for traces of the Bark Beetle infestation.  It was found that 153 of the trees showed such traces.  Test the hypothesis that more than 10% of the Tahoe trees have been infested.  (Use a 5% level of significance)

    Solution

    The hypothesis isNormal Curve with right tail area 1.645

            H0:  p  =  .1        

            H1:  p  > .1

    We have that 

            \( \hat{p} = \frac{153}{1500} = 0.102 \)

    Next we compute the z-score

                    \( = \frac{0.102-0.1}{\sqrt{(0.1)(1 - 0.1)/1500}} = 0.26\)

    Since we are using a 95% level of significance with a one tailed test, we have  zc  =  1.645.  The rejection region is shown in the picture.  We see that 0.26 does not lie in the rejection region, hence we fail to reject the null hypothesis.  We say that there is insufficient evidence to make a conclusion about the percentage of infested pines being greater than 10%.

     


    Exercises

    1. If 40% of the nation is registered republican.  Does the Tahoe environment reflect the national proportion?  Test the hypothesis that Tahoe residents differ from the rest of the nation in their affiliation, if of 200 locals surveyed, 75 are registered republican.
       

    2. If 10% of California residents are vegetarians, test the hypothesis that people who gamble are less likely to be vegetarians.  If the 120 people polled, 10 claimed to be a vegetarian.

     


    Back to the Hypothesis Testing Home Page

     

     

    Proportion SD is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?