Skip to main content
Statistics LibreTexts

19: Chi-Square Test for Goodness of Fit

  • Page ID
    19752
  • \( \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}}\)

     Chi-Square Test for Goodness of Fit

    This calculator performs the Chi-Square test for goodness of fit. 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

    Type in the values from the observed and expected sets separated by commas, for example, 2,4,5,8,11,2.  Then hit Calculate, the test statistic and the p-value will be shown.

    Observed:

    Expected:

     

    Output

    Test Statistics (\(\chi^{2}\)): p-value:

    (Powered by Desmos)


    19: Chi-Square Test for Goodness of Fit is shared under a CC BY license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?