:: Chi-Squared Test, McNemar Test, and Fisher Exact Test - Free Statistics Software (Calculator) ::
All rights reserved. The non-commercial (academic) use of this software is free of charge. The only thing that is asked in return is to cite this software when results are used in publications.
This free online software (calculator) computes the following statistical hypothesis test: Pearson Chi-Squared test, Exact Pearson Chi-Squared by Simulation test, McNemar test, and Fisher Exact Test for count data.
The McNemar test is used for paired subjects (where subjects serve as their own control) for which the before and after treatment effects are compared.
The Fisher Exact Test can be used when the marginals can be assumed to be fixed (known beforehand).
This software also displays a colored association plot for the Pearson contingency table.
Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!
Click here to edit the underlying code of this R Module.
|Cite this software as:|
|Wessa P., 2014, Chi-Squared Test, McNemar Test, and Fisher Exact Test (v1.0.8) in Free Statistics Software (v1.1.23-r7), Office for Research Development and Education, URL http://www.wessa.net/rwasp_chi_squared_tests.wasp/|
|The R code is based on :|
|Hope, A. C. A. (1968) A simplified Monte Carlo significance test procedure., J. Roy, Statist. Soc. B, *30*, 582-598.|
|Patefield, W. M. (1981) Algorithm AS159. An efficient method of generating r x c tables with given row and column totals., Applied Statistics, *30*, 91-97.|
|Alan Agresti (1990), Categorical data analysis, New York: Wiley, Pages 350-354.|
To cite Wessa.net in publications use:
Wessa, P. (2017), Free Statistics Software, Office for Research Development and Education,
version 1.1.23-r7, URL http://www.wessa.net/
© All rights reserved. Academic license for non-commercial use only.
The free use of the scientific content, services, and applications in this website is
granted for non commercial use only. In any case,
the source (url) should always be clearly displayed. Under no circumstances are
you allowed to reproduce, copy or redistribute the design, layout, or any
content of this website (for commercial use) including any materials contained
herein without the express written permission.
on this web site is provided "AS IS" without warranty of any kind, either
express or implied, including, without limitation, warranties of
merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information
and periodically update the information, and software without notice. We
make no warranties or representations
as to the accuracy or completeness of such information (or software), and it assumes no
liability or responsibility for errors or omissions in the content of this web
site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and
under no legal theory shall we be liable to you or any other
person for any direct, indirect, special, incidental, exemplary, or
consequential damages arising from your access to, or use of, this web site.
Software Version : 1.1.23-r7
Algorithms & Software : Patrick Wessa, PhD
Server : wessa.net