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 | Wed, 16 Nov 2011 07:57:46 -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/16/t1321448441mgewo4sc17z787i.htm/, Retrieved Thu, 06 Nov 2025 02:46:16 +0000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=143857, Retrieved Thu, 06 Nov 2025 02:46:16 +0000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QR Codes: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Original text written by user: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IsPrivate? | No (this computation is public) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| User-defined keywords | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Estimated Impact | 430 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tree of Dependent Computations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - [Chi-Squared and McNemar Tests] [happ x conn] [2010-11-12 18:30:46] [9894f466352df31a128e82ec8d720241] - D [Chi-Squared and McNemar Tests] [happ x depress] [2010-11-12 18:40:07] [9894f466352df31a128e82ec8d720241] - D [Chi-Squared and McNemar Tests] [happ x sep] [2010-11-12 18:48:14] [9894f466352df31a128e82ec8d720241] - [Chi-Squared and McNemar Tests] [] [2010-11-25 15:30:16] [2e1e44f0ae3cb9513dc28781dfdb387b] - R [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [happiness and sep...] [2011-11-16 12:57:46] [5a15ab6cc81a4d08ac9d21b238bcb336] [Current] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Feedback Forum | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Post a new message | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Dataset | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||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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 & 2 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=143857&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]2 seconds[/C][/ROW] [ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=143857&T=0
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=143857&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 Separate \tabularnewline
& HI & LO \tabularnewline
HI & 65 & 38 \tabularnewline
LO & 25 & 34 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=143857&T=1[TABLE] [ROW][C]Tabulation of Results[/C][/ROW] [ROW][C]Happiness x Separate[/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=143857&T=1
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=143857&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 Separate \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=143857&T=2[TABLE] [ROW][C]Tabulation of Expected Results[/C][/ROW] [ROW][C]Happiness x Separate[/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=143857&T=2
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=143857&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 Yates' continuity correction \tabularnewline
Pearson Chi Square Statistic & 5.72 \tabularnewline
Degrees of Freedom & 1 \tabularnewline
P value & 0.02 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=143857&T=3[TABLE] [ROW][C]Statistical Results[/C][/ROW] [ROW][C]Pearson's Chi-squared test with Yates' continuity correction[/C][/ROW] [ROW][C]Pearson Chi Square Statistic[/C][C]5.72[/C][/ROW] [ROW][C]Degrees of Freedom[/C][C]1[/C][/ROW] [ROW][C]P value[/C][C]0.02[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=143857&T=3
Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=143857&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 = Pearson Chi-Squared ; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters (R input): | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| par1 = 1 ; par2 = 2 ; par3 = Pearson Chi-Squared ; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R code (references can be found in the software module): | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
library(vcd) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||