Skip to main content
Statistics LibreTexts

17: Two Independent Sample Means Comparison Given Data

  • Page ID
    19748
  • \( \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 Samples Means Comparison Given Data

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

    To learn how to use this calculator, please watch a short video here (coming up).

     

    Input

    Type in the values from the two data sets separated by commas, for example, 2,4,5,8,11,2.  Enter the statistics, the tail type, and the confidence level then hit Calculate. The test statistic, p-value, and the boundaries for the confidence interval.  Be sure to enter the confidence level as a decimal, e.g., 95% should be entered as 0.95.

    Data 1:

    choose a test

        \(\lt\)

        \(\gt\)

        \(\neq\)

    Data 2:

    Confidence Level (enter a decimal):

     

    Output

    Test Statistics (t): p-value Lower bound Upper Bound

    (Powered by Desmos)

     

    17: Two Independent Sample Means Comparison Given Data is shared under a CC BY license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?