Skip to main content
Statistics LibreTexts

15: Two Independent Proportions Comparison

  • Page ID
    19749
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\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}}\)

    Two Independent Proportions Comparison

    This calculator performs the hypothesis test and also constructs a confidence interval for \(p_1\)−\(p_2\) given statistics. Please report the error to Dr. Jessica Kuang at jkuangATvcccd.edu.

    To learn how to use this calculator, please watch a short video here.

     

    Input

    Enter the sample size and the number of successes for each sample, choose the test, and enter the confidence level then hit Calculate. The test statistic, p-value, and the boundaries of the confidence interval will be shown.  Be sure to enter the confidence level as a decimal, e.g., enter 95% as 0.95.

      Sample Size (N) Number of Successes (X)
    First Sample
     

    choose a test

        \(\lt\)

        \(\gt\)

        \(\neq\)

    Second Sample
    Confidence Level (enter a decimal):  

     

    Output

    Test Statistics (z): p-value: Lower Bound: Upper Bound:

    (Powered by Desmos)


    15: Two Independent Proportions Comparison is shared under a CC BY license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?