of Irreproducible Research!
Description of Statistical Computation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Author's title | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Author | *The author of this computation has been verified* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R Software Module | rwasp_chi_squared_tests.wasp | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Title produced by software | Chi-Squared Test, McNemar Test, and Fisher Exact Test | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Date of computation | Mon, 14 Nov 2011 14:16:54 -0500 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cite this page as follows | Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Nov/14/t1321298224cyovzuhavsqhjk1.htm/, Retrieved Wed, 05 Nov 2025 07:49:12 +0000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=142304, Retrieved Wed, 05 Nov 2025 07:49:12 +0000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QR Codes: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Original text written by user: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IsPrivate? | No (this computation is public) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| User-defined keywords | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Estimated Impact | 406 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tree of Dependent Computations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [] [2011-11-11 13:51:26] [bc54fcbdb4f9c071218969745a8ec94b] - D [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [Seperateness - De...] [2011-11-12 11:13:05] [586787d3e7267c593af3e1f6b16aa21a] - R [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [] [2011-11-14 18:25:57] [74be16979710d4c4e7c6647856088456] - D [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [] [2011-11-14 18:45:32] [74be16979710d4c4e7c6647856088456] - PD [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [] [2011-11-14 19:16:54] [03e2d80b807f43987d5267414f2021cf] [Current] - P [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [] [2011-11-14 19:22:59] [4fa66579543b578a51dd12826fe0c6d2] - [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [] [2011-11-15 09:46:11] [74be16979710d4c4e7c6647856088456] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Feedback Forum | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Post a new message | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Dataset | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dataseries X: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
'HI' 'HI' 'HI' 'LO' 'LO' 'HI' 'LO' 'LO' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'LO' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'LO' 'LO' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'HI' 'LO' 'LO' 'LO' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'LO' 'LO' 'HI' 'LO' 'HI' 'LO' 'LO' 'LO' 'HI' 'LO' 'HI' 'LO' 'HI' 'LO' 'LO' 'LO' 'LO' 'LO' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'LO' 'HI' 'LO' 'LO' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'HI' 'LO' 'LO' 'LO' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'HI' 'LO' 'HI' 'LO' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'LO' 'HI' 'HI' 'LO' 'LO' 'HI' 'LO' 'LO' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'LO' 'HI' 'HI' 'LO' 'LO' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'LO' 'HI' 'HI' 'LO' 'LO' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'LO' 'LO' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'HI' 'LO' 'LO' 'HI' 'LO' 'LO' 'LO' 'LO' 'HI' 'HI' 'LO' 'HI' 'HI' 'HI' 'LO' 'HI' 'LO' 'HI' 'LO' 'LO' 'LO' 'LO' 'HI' 'HI' 'HI' 'HI' 'LO' 'LO' 'LO' 'HI' 'LO' 'HI' | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tables (Output of Computation) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code) \tabularnewline
Raw Output & view raw output of R engine \tabularnewline
Computing time & 1 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=142304&T=0[TABLE] [ROW][C]Summary of computational transaction[/C][/ROW] [ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW] [ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW] [ROW][C]Computing time[/C][C]1 seconds[/C][/ROW] [ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=142304&T=0
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=142304&T=0
As an alternative you can also use a QR Code: The GUIDs for individual cells are displayed in the table below:
\begin{tabular}{lllllllll}
\hline
Tabulation of Results \tabularnewline
Happiness x Separated \tabularnewline
& HI & LO \tabularnewline
HI & 65 & 38 \tabularnewline
LO & 25 & 34 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=142304&T=1[TABLE] [ROW][C]Tabulation of Results[/C][/ROW] [ROW][C]Happiness x Separated[/C][/ROW] [ROW][C] [/C][C]HI[/C][C]LO[/C][/ROW] [C]HI[/C][C]65[/C][C]38[/C][/ROW] [C]LO[/C][C]25[/C][C]34[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=142304&T=1
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=142304&T=1
As an alternative you can also use a QR Code: The GUIDs for individual cells are displayed in the table below:
\begin{tabular}{lllllllll}
\hline
Tabulation of Expected Results \tabularnewline
Happiness x Separated \tabularnewline
& HI & LO \tabularnewline
HI & 57.22 & 45.78 \tabularnewline
LO & 32.78 & 26.22 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=142304&T=2[TABLE] [ROW][C]Tabulation of Expected Results[/C][/ROW] [ROW][C]Happiness x Separated[/C][/ROW] [ROW][C] [/C][C]HI[/C][C]LO[/C][/ROW] [C]HI[/C][C]57.22[/C][C]45.78[/C][/ROW] [C]LO[/C][C]32.78[/C][C]26.22[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=142304&T=2
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=142304&T=2
As an alternative you can also use a QR Code: The GUIDs for individual cells are displayed in the table below:
\begin{tabular}{lllllllll}
\hline
Statistical Results \tabularnewline
Pearson's Chi-squared test with simulated p-value
(based on 2000 replicates) \tabularnewline
Exact Pearson Chi Square Statistic & 6.53 \tabularnewline
P value & 0.01 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=142304&T=3[TABLE] [ROW][C]Statistical Results[/C][/ROW] [ROW][C]Pearson's Chi-squared test with simulated p-value (based on 2000 replicates)[/C][/ROW] [ROW][C]Exact Pearson Chi Square Statistic[/C][C]6.53[/C][/ROW] [ROW][C]P value[/C][C]0.01[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=142304&T=3
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=142304&T=3
As an alternative you can also use a QR Code: The GUIDs for individual cells are displayed in the table below:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Figures (Output of Computation) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Input Parameters & R Code | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters (Session): | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| par1 = 1 ; par2 = 2 ; par3 = Exact Pearson Chi-Squared by Simulation ; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters (R input): | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| par1 = 1 ; par2 = 2 ; par3 = Exact Pearson Chi-Squared by Simulation ; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R code (references can be found in the software module): | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
library(vcd) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||