Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_chi_squared_tests.wasp
Title produced by softwareChi-Squared Test, McNemar Test, and Fisher Exact Test
Date of computationWed, 13 Dec 2017 16:03:41 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Dec/13/t1513177474p8ikt8kb96wqdpm.htm/, Retrieved Thu, 16 May 2024 02:20:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=309330, Retrieved Thu, 16 May 2024 02:20:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact77
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] [Chi Kwadraat] [2017-12-13 15:03:41] [ff652b20bb7e11759c12f409641293b0] [Current]
Feedback Forum

Post a new message
Dataseries X:
2.444444444	3.333333333
4.333333333	3.666666667
4.444444444	3.666666667
3.777777778	4.333333333
4.222222222	2.333333333
4.333333333	4
4.333333333	3.666666667
4.222222222	4
3.444444444	4
3.777777778	4
3.555555556	3.666666667
4.111111111	4
4	3.333333333
4.222222222	4
3.222222222	3.333333333
3.666666667	5
3.888888889	4
3.777777778	5
5	4.333333333
3.333333333	4
3.666666667	4
3.333333333	3
4.444444444	4
3.777777778	2.666666667
3.444444444	3.333333333
3	3.666666667
3.666666667	4.666666667
4.666666667	4.666666667
4	3.666666667
3.666666667	3.666666667
4.666666667	3.666666667
3.666666667	3.333333333
2.333333333	2.666666667
4.777777778	4
3.777777778	3.333333333
3.555555556	4
3.777777778	2.666666667
3.111111111	3.333333333
3.333333333	3
3	4
3.222222222	5
4.444444444	4.333333333
3.222222222	3.666666667
4.555555556	4
3.666666667	4
4.666666667	3
4.333333333	4.666666667
3.888888889	3.333333333
3.666666667	4.666666667
3.666666667	4
4.888888889	5
3.777777778	3
3.333333333	4.666666667
3.333333333	3.333333333
3.888888889	3.666666667
4.333333333	3.666666667
3.777777778	4
4.333333333	3.666666667
2.777777778	3.333333333
4.333333333	4.333333333
3.666666667	2.666666667
3.777777778	3
4	3
3.777777778	5
3.444444444	2.666666667
3.888888889	4.333333333
3.777777778	3.333333333
4	4.333333333
4.444444444	5
3.444444444	3.333333333
3.666666667	3
3.111111111	4
4.666666667	4
4.222222222	4
3.888888889	4
3.777777778	3.333333333
3.111111111	3
3.888888889	4
2.777777778	4
4.333333333	4
2.777777778	2.666666667
3.555555556	3.666666667
3.888888889	3.333333333
4.555555556	5
3.777777778	4.333333333
3.666666667	3.666666667
3.555555556	4
3.777777778	3.666666667
2.777777778	3.666666667
4.222222222	4.666666667
4.111111111	4.666666667
4.222222222	4.666666667
4	4
4.333333333	3.333333333
3.444444444	4
4.444444444	3.666666667
3.777777778	5
3.666666667	3
3.555555556	3.666666667
3.666666667	4.666666667
3.555555556	3.333333333
3.111111111	4
3.555555556	3.333333333
3.777777778	4
4	4.333333333
4.222222222	4.333333333
3.444444444	4
4	4
3	3
3.444444444	3.333333333
3.111111111	2.333333333
3.333333333	4
3.222222222	4
3.222222222	4
3.444444444	4.333333333
3.888888889	4
4.666666667	5
3.111111111	2.666666667
4.222222222	2.333333333
3.777777778	3
3.111111111	3.666666667
3.333333333	3.666666667
2.888888889	2
3	2
3.444444444	2.666666667
3.888888889	3.666666667
3.666666667	4
3.777777778	4.333333333
3.333333333	3
3.111111111	3.333333333
3.333333333	3
3.222222222	3.333333333
3.555555556	4
3.777777778	2.333333333
3.777777778	4.333333333
3.888888889	3.333333333
4.444444444	3.333333333
3.777777778	3.666666667
3.111111111	2.666666667
3.888888889	4
3.444444444	1.333333333
3.666666667	4.333333333
4	4.333333333
3.333333333	3.333333333
3	4
3.333333333	2
2.777777778	2.666666667
4.333333333	4.333333333
4	4
3.444444444	3.333333333
3.666666667	3.333333333
3.333333333	3.333333333
3.444444444	2.666666667
3.555555556	3.666666667
3.666666667	4
4.777777778	4
3.888888889	4
4	3.666666667
4.666666667	4
3.444444444	3.333333333
2.888888889	4
4.222222222	4.333333333
3	3.333333333
3	2.333333333
3.444444444	3.666666667
3.555555556	3.333333333
4	4
4	3.666666667
2.777777778	3.333333333
3.666666667	4
3.555555556	3.666666667
4.444444444	4.666666667
4	4
4	4
3.888888889	3.333333333
3.444444444	3.666666667
3.444444444	4
4	4
4	4
4.111111111	2.666666667
3.444444444	3.666666667
3.444444444	2.666666667
2.888888889	2
3.888888889	4.333333333
3.555555556	3.666666667
4	3
4.111111111	3.666666667
3.777777778	4.666666667
3.666666667	3
3.888888889	4.333333333
3.444444444	4
4.222222222	4
4	3.666666667
3.555555556	3
3.111111111	2.333333333
3.666666667	3.333333333
3.444444444	4
3.777777778	3.666666667
3.666666667	3.666666667
4	3.666666667
4	4.333333333
3.222222222	3.666666667
3.444444444	2.666666667
3.888888889	3.666666667
3.444444444	3.333333333
3.888888889	4
4	2.666666667
3.888888889	4.333333333
4.222222222	3.333333333
3.111111111	3.666666667
3.111111111	3.666666667
3.111111111	2.666666667
3.777777778	4.333333333
3.444444444	4
4.888888889	3
4	5
4	4
3.777777778	4.666666667
3.555555556	2.333333333
4	3.666666667
4.222222222	3.333333333
3.111111111	2.333333333
4.111111111	3.666666667
3.555555556	3.666666667
4	3.333333333
3.333333333	3
4.222222222	3.666666667
4.111111111	4
3.666666667	3.333333333
4.777777778	4.333333333
2.888888889	3.333333333
3.666666667	3.333333333
3.777777778	4
4	4
4	4
4	4
4	4
4.333333333	4
3.666666667	2.333333333
3.888888889	4.666666667
2.777777778	3
2.888888889	2.666666667
3.888888889	4.333333333
1.777777778	2
4.444444444	4
1.555555556	2.666666667
2.444444444	2
2.333333333	2
4.222222222	4
4.222222222	3.333333333
3	3
4.444444444	3.666666667
4.444444444	4.666666667
2.111111111	2
3.222222222	3
4.111111111	3.666666667
3	3
2.888888889	2.666666667
2.666666667	2
3.222222222	3.333333333
2.888888889	2
3	3
3.888888889	4
4.333333333	4
4.222222222	4.333333333
4	4
4.111111111	4
4	3.333333333
3.555555556	3
3.666666667	4
4.333333333	4.666666667
3.777777778	2
4.333333333	4.333333333
4	4
3.666666667	4.333333333
3.333333333	2
4.333333333	4
4.111111111	3.333333333
4.111111111	3
3.888888889	4
3.555555556	2.333333333
4	3.333333333
4	3.666666667
4.555555556	5
4	3.333333333
4.111111111	4
3.222222222	3.333333333
4.333333333	4
4.111111111	3.666666667
3.555555556	3.666666667
4	4
4.777777778	5
3.333333333	4
3.666666667	3.666666667
3.111111111	3
3.333333333	3.666666667
3.111111111	3.666666667
4.333333333	3
3.777777778	5
3.777777778	4
3.222222222	3
3.555555556	4
3.666666667	4
3	3
3.888888889	3
4.222222222	3.666666667
4.444444444	4
3.777777778	4
3.777777778	4
2.888888889	4
4.333333333	2
3.777777778	3.666666667
4.333333333	4
2.888888889	3
3.333333333	3.666666667
3.777777778	3
3.777777778	3.333333333
3.222222222	3.333333333
4.555555556	3
4.777777778	4
3.444444444	3.666666667
3.666666667	3
3.777777778	3
3.333333333	4
2.555555556	2
3.222222222	3.333333333
3.888888889	4
4.444444444	3.666666667
3	4.666666667
3.333333333	2.666666667
3	3
3.222222222	3.333333333
3.666666667	3.333333333
3.555555556	3.333333333
3.666666667	3.666666667
4	3.333333333
3.777777778	4
5	4.666666667
3.333333333	3.333333333
2.444444444	2.666666667
2.666666667	2.666666667
2.777777778	2.333333333
2.888888889	3.666666667
3	2
3	3
3.888888889	4
4	4
3.555555556	4
3.888888889	3
3.888888889	5
4	5
4.111111111	4.333333333
3.666666667	3
2.777777778	4
3.888888889	3
4.111111111	5
4	3.666666667
3.888888889	3.666666667
3.222222222	2
3.888888889	4.666666667
3.444444444	3.666666667
3.333333333	2.666666667
4.111111111	3.333333333
4	3.333333333
3.888888889	3
3.555555556	2.666666667
3.777777778	3
4.111111111	3.333333333
4	3.666666667
4.333333333	4.666666667
4.111111111	4
3.444444444	3
4.444444444	4.333333333
4.222222222	2.666666667
3.888888889	4
4.222222222	4.666666667
3.555555556	3
4.555555556	3.333333333
3.111111111	4
4.444444444	4
2.777777778	3
3.111111111	3
4.111111111	4
4.111111111	5
4.444444444	4
2.888888889	3.666666667
3.333333333	2.666666667
3.555555556	3.666666667
3.444444444	3.666666667
3.111111111	3.333333333
3.777777778	4
4.333333333	3
3.666666667	3.666666667
4.777777778	5
4.111111111	4.666666667
3.444444444	2
3.444444444	3
3.777777778	3
3.555555556	2.666666667
3	2.333333333
3.777777778	3.333333333
3.111111111	2
3.555555556	3
4.333333333	3
3.111111111	2.333333333
4.333333333	3.666666667
3.555555556	3
4	4
3.444444444	3
4.333333333	3.333333333
2.555555556	3.666666667
2.777777778	2.333333333
3.555555556	4
3.555555556	2.666666667
4	4.333333333
4.333333333	3.666666667
3.444444444	3.666666667
3.555555556	4
3.111111111	3.666666667
3.777777778	4
3.111111111	1
4.222222222	3.333333333
3.888888889	4.333333333
3.555555556	3.333333333
2.888888889	2
3.555555556	3.666666667
3.111111111	4
3.444444444	3
3.666666667	3.333333333
4.222222222	5
4.222222222	3
4	2
3.444444444	3
4	5
4.777777778	5
4.111111111	3
3.111111111	3.666666667
3.888888889	3
3.777777778	3.666666667
4.444444444	3.333333333
3.444444444	3
4.555555556	2
3.888888889	4
4.222222222	4.333333333
4.111111111	4
3.444444444	4




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time4 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309330&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]4 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=309330&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309330&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R ServerBig Analytics Cloud Computing Center







Tabulation of Results
A x B
11.33333333322.3333333332.66666666733.3333333333.66666666744.3333333334.6666666675
1.555555556000010000000
1.777777778001000000000
2.111111111001000000000
2.333333333001010000000
2.444444444001010100000
2.555555556001000010000
2.666666667001010000000
2.777777778000222212000
2.888888889004021122000
3002207112010
3.111111111101433364000
3.222222222001002722001
3.333333333002035434010
3.444444444011056678100
3.5555555560002355107000
3.666666667000115768231
3.7777777780011275510524
3.8888888890000054413621
40010127918503
4.111111111000012347122
4.222222222000211425431
4.333333333001003267330
4.444444444000000245221
4.555555556001001101002
4.666666667000001012011
4.777777778000000003103
4.888888889000001000001
5000000000110

\begin{tabular}{lllllllll}
\hline
Tabulation of Results \tabularnewline
A  x  B \tabularnewline
  & 1 & 1.333333333 & 2 & 2.333333333 & 2.666666667 & 3 & 3.333333333 & 3.666666667 & 4 & 4.333333333 & 4.666666667 & 5 \tabularnewline
1.555555556 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline
1.777777778 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline
2.111111111 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline
2.333333333 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline
2.444444444 & 0 & 0 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \tabularnewline
2.555555556 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \tabularnewline
2.666666667 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline
2.777777778 & 0 & 0 & 0 & 2 & 2 & 2 & 2 & 1 & 2 & 0 & 0 & 0 \tabularnewline
2.888888889 & 0 & 0 & 4 & 0 & 2 & 1 & 1 & 2 & 2 & 0 & 0 & 0 \tabularnewline
3 & 0 & 0 & 2 & 2 & 0 & 7 & 1 & 1 & 2 & 0 & 1 & 0 \tabularnewline
3.111111111 & 1 & 0 & 1 & 4 & 3 & 3 & 3 & 6 & 4 & 0 & 0 & 0 \tabularnewline
3.222222222 & 0 & 0 & 1 & 0 & 0 & 2 & 7 & 2 & 2 & 0 & 0 & 1 \tabularnewline
3.333333333 & 0 & 0 & 2 & 0 & 3 & 5 & 4 & 3 & 4 & 0 & 1 & 0 \tabularnewline
3.444444444 & 0 & 1 & 1 & 0 & 5 & 6 & 6 & 7 & 8 & 1 & 0 & 0 \tabularnewline
3.555555556 & 0 & 0 & 0 & 2 & 3 & 5 & 5 & 10 & 7 & 0 & 0 & 0 \tabularnewline
3.666666667 & 0 & 0 & 0 & 1 & 1 & 5 & 7 & 6 & 8 & 2 & 3 & 1 \tabularnewline
3.777777778 & 0 & 0 & 1 & 1 & 2 & 7 & 5 & 5 & 10 & 5 & 2 & 4 \tabularnewline
3.888888889 & 0 & 0 & 0 & 0 & 0 & 5 & 4 & 4 & 13 & 6 & 2 & 1 \tabularnewline
4 & 0 & 0 & 1 & 0 & 1 & 2 & 7 & 9 & 18 & 5 & 0 & 3 \tabularnewline
4.111111111 & 0 & 0 & 0 & 0 & 1 & 2 & 3 & 4 & 7 & 1 & 2 & 2 \tabularnewline
4.222222222 & 0 & 0 & 0 & 2 & 1 & 1 & 4 & 2 & 5 & 4 & 3 & 1 \tabularnewline
4.333333333 & 0 & 0 & 1 & 0 & 0 & 3 & 2 & 6 & 7 & 3 & 3 & 0 \tabularnewline
4.444444444 & 0 & 0 & 0 & 0 & 0 & 0 & 2 & 4 & 5 & 2 & 2 & 1 \tabularnewline
4.555555556 & 0 & 0 & 1 & 0 & 0 & 1 & 1 & 0 & 1 & 0 & 0 & 2 \tabularnewline
4.666666667 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 1 & 2 & 0 & 1 & 1 \tabularnewline
4.777777778 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 3 & 1 & 0 & 3 \tabularnewline
4.888888889 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 \tabularnewline
5 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309330&T=1

[TABLE]
[ROW][C]Tabulation of Results[/C][/ROW]
[ROW][C]A  x  B[/C][/ROW]
[ROW][C] [/C][C]1[/C][C]1.333333333[/C][C]2[/C][C]2.333333333[/C][C]2.666666667[/C][C]3[/C][C]3.333333333[/C][C]3.666666667[/C][C]4[/C][C]4.333333333[/C][C]4.666666667[/C][C]5[/C][/ROW]
[C]1.555555556[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]1.777777778[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]2.111111111[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]2.333333333[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]2.444444444[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]1[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]2.555555556[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]2.666666667[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]2.777777778[/C][C]0[/C][C]0[/C][C]0[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]1[/C][C]2[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]2.888888889[/C][C]0[/C][C]0[/C][C]4[/C][C]0[/C][C]2[/C][C]1[/C][C]1[/C][C]2[/C][C]2[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]3[/C][C]0[/C][C]0[/C][C]2[/C][C]2[/C][C]0[/C][C]7[/C][C]1[/C][C]1[/C][C]2[/C][C]0[/C][C]1[/C][C]0[/C][/ROW]
[C]3.111111111[/C][C]1[/C][C]0[/C][C]1[/C][C]4[/C][C]3[/C][C]3[/C][C]3[/C][C]6[/C][C]4[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]3.222222222[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]2[/C][C]7[/C][C]2[/C][C]2[/C][C]0[/C][C]0[/C][C]1[/C][/ROW]
[C]3.333333333[/C][C]0[/C][C]0[/C][C]2[/C][C]0[/C][C]3[/C][C]5[/C][C]4[/C][C]3[/C][C]4[/C][C]0[/C][C]1[/C][C]0[/C][/ROW]
[C]3.444444444[/C][C]0[/C][C]1[/C][C]1[/C][C]0[/C][C]5[/C][C]6[/C][C]6[/C][C]7[/C][C]8[/C][C]1[/C][C]0[/C][C]0[/C][/ROW]
[C]3.555555556[/C][C]0[/C][C]0[/C][C]0[/C][C]2[/C][C]3[/C][C]5[/C][C]5[/C][C]10[/C][C]7[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[C]3.666666667[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]5[/C][C]7[/C][C]6[/C][C]8[/C][C]2[/C][C]3[/C][C]1[/C][/ROW]
[C]3.777777778[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]2[/C][C]7[/C][C]5[/C][C]5[/C][C]10[/C][C]5[/C][C]2[/C][C]4[/C][/ROW]
[C]3.888888889[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]5[/C][C]4[/C][C]4[/C][C]13[/C][C]6[/C][C]2[/C][C]1[/C][/ROW]
[C]4[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]1[/C][C]2[/C][C]7[/C][C]9[/C][C]18[/C][C]5[/C][C]0[/C][C]3[/C][/ROW]
[C]4.111111111[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]2[/C][C]3[/C][C]4[/C][C]7[/C][C]1[/C][C]2[/C][C]2[/C][/ROW]
[C]4.222222222[/C][C]0[/C][C]0[/C][C]0[/C][C]2[/C][C]1[/C][C]1[/C][C]4[/C][C]2[/C][C]5[/C][C]4[/C][C]3[/C][C]1[/C][/ROW]
[C]4.333333333[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]3[/C][C]2[/C][C]6[/C][C]7[/C][C]3[/C][C]3[/C][C]0[/C][/ROW]
[C]4.444444444[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]2[/C][C]4[/C][C]5[/C][C]2[/C][C]2[/C][C]1[/C][/ROW]
[C]4.555555556[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]2[/C][/ROW]
[C]4.666666667[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]1[/C][C]2[/C][C]0[/C][C]1[/C][C]1[/C][/ROW]
[C]4.777777778[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]3[/C][C]1[/C][C]0[/C][C]3[/C][/ROW]
[C]4.888888889[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][/ROW]
[C]5[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=309330&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309330&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Tabulation of Results
A x B
11.33333333322.3333333332.66666666733.3333333333.66666666744.3333333334.6666666675
1.555555556000010000000
1.777777778001000000000
2.111111111001000000000
2.333333333001010000000
2.444444444001010100000
2.555555556001000010000
2.666666667001010000000
2.777777778000222212000
2.888888889004021122000
3002207112010
3.111111111101433364000
3.222222222001002722001
3.333333333002035434010
3.444444444011056678100
3.5555555560002355107000
3.666666667000115768231
3.7777777780011275510524
3.8888888890000054413621
40010127918503
4.111111111000012347122
4.222222222000211425431
4.333333333001003267330
4.444444444000000245221
4.555555556001001101002
4.666666667000001012011
4.777777778000000003103
4.888888889000001000001
5000000000110







Tabulation of Expected Results
A x B
11.33333333322.3333333332.66666666733.3333333333.66666666744.3333333334.6666666675
1.555555556000.050.030.060.130.150.170.250.070.050.05
1.777777778000.050.030.060.130.150.170.250.070.050.05
2.111111111000.050.030.060.130.150.170.250.070.050.05
2.333333333000.090.060.130.260.290.330.490.140.090.09
2.4444444440.010.010.140.090.190.40.440.50.740.210.140.14
2.555555556000.090.060.130.260.290.330.490.140.090.09
2.666666667000.090.060.130.260.290.330.490.140.090.09
2.7777777780.020.020.520.350.691.461.61.832.710.760.520.52
2.8888888890.030.030.570.380.751.591.751.992.960.830.570.57
30.040.040.750.512.122.332.653.951.110.750.75
3.1111111110.060.061.180.781.573.313.644.156.171.741.181.18
3.2222222220.030.030.710.470.941.982.192.493.71.040.710.71
3.3333333330.050.051.040.691.382.913.213.655.431.531.041.04
3.4444444440.080.081.651.12.24.635.15.818.632.431.651.65
3.5555555560.070.071.5112.014.234.665.317.892.221.511.51
3.6666666670.080.081.61.072.134.54.965.648.392.361.61.6
3.7777777780.090.091.981.322.645.566.126.9710.362.921.981.98
3.8888888890.080.081.651.12.24.635.15.818.632.431.651.65
40.10.12.171.442.896.096.77.6311.353.22.172.17
4.1111111110.050.051.040.691.382.913.213.655.431.531.041.04
4.2222222220.050.051.080.721.443.043.353.825.671.61.081.08
4.3333333330.060.061.180.781.573.313.644.156.171.741.181.18
4.4444444440.040.040.750.512.122.332.653.951.110.750.75
4.5555555560.010.010.280.190.380.790.8711.480.420.280.28
4.6666666670.010.010.280.190.380.790.8711.480.420.280.28
4.7777777780.020.020.330.220.440.931.021.161.730.490.330.33
4.888888889000.090.060.130.260.290.330.490.140.090.09
5000.090.060.130.260.290.330.490.140.090.09

\begin{tabular}{lllllllll}
\hline
Tabulation of Expected Results \tabularnewline
A  x  B \tabularnewline
  & 1 & 1.333333333 & 2 & 2.333333333 & 2.666666667 & 3 & 3.333333333 & 3.666666667 & 4 & 4.333333333 & 4.666666667 & 5 \tabularnewline
1.555555556 & 0 & 0 & 0.05 & 0.03 & 0.06 & 0.13 & 0.15 & 0.17 & 0.25 & 0.07 & 0.05 & 0.05 \tabularnewline
1.777777778 & 0 & 0 & 0.05 & 0.03 & 0.06 & 0.13 & 0.15 & 0.17 & 0.25 & 0.07 & 0.05 & 0.05 \tabularnewline
2.111111111 & 0 & 0 & 0.05 & 0.03 & 0.06 & 0.13 & 0.15 & 0.17 & 0.25 & 0.07 & 0.05 & 0.05 \tabularnewline
2.333333333 & 0 & 0 & 0.09 & 0.06 & 0.13 & 0.26 & 0.29 & 0.33 & 0.49 & 0.14 & 0.09 & 0.09 \tabularnewline
2.444444444 & 0.01 & 0.01 & 0.14 & 0.09 & 0.19 & 0.4 & 0.44 & 0.5 & 0.74 & 0.21 & 0.14 & 0.14 \tabularnewline
2.555555556 & 0 & 0 & 0.09 & 0.06 & 0.13 & 0.26 & 0.29 & 0.33 & 0.49 & 0.14 & 0.09 & 0.09 \tabularnewline
2.666666667 & 0 & 0 & 0.09 & 0.06 & 0.13 & 0.26 & 0.29 & 0.33 & 0.49 & 0.14 & 0.09 & 0.09 \tabularnewline
2.777777778 & 0.02 & 0.02 & 0.52 & 0.35 & 0.69 & 1.46 & 1.6 & 1.83 & 2.71 & 0.76 & 0.52 & 0.52 \tabularnewline
2.888888889 & 0.03 & 0.03 & 0.57 & 0.38 & 0.75 & 1.59 & 1.75 & 1.99 & 2.96 & 0.83 & 0.57 & 0.57 \tabularnewline
3 & 0.04 & 0.04 & 0.75 & 0.5 & 1 & 2.12 & 2.33 & 2.65 & 3.95 & 1.11 & 0.75 & 0.75 \tabularnewline
3.111111111 & 0.06 & 0.06 & 1.18 & 0.78 & 1.57 & 3.31 & 3.64 & 4.15 & 6.17 & 1.74 & 1.18 & 1.18 \tabularnewline
3.222222222 & 0.03 & 0.03 & 0.71 & 0.47 & 0.94 & 1.98 & 2.19 & 2.49 & 3.7 & 1.04 & 0.71 & 0.71 \tabularnewline
3.333333333 & 0.05 & 0.05 & 1.04 & 0.69 & 1.38 & 2.91 & 3.21 & 3.65 & 5.43 & 1.53 & 1.04 & 1.04 \tabularnewline
3.444444444 & 0.08 & 0.08 & 1.65 & 1.1 & 2.2 & 4.63 & 5.1 & 5.81 & 8.63 & 2.43 & 1.65 & 1.65 \tabularnewline
3.555555556 & 0.07 & 0.07 & 1.51 & 1 & 2.01 & 4.23 & 4.66 & 5.31 & 7.89 & 2.22 & 1.51 & 1.51 \tabularnewline
3.666666667 & 0.08 & 0.08 & 1.6 & 1.07 & 2.13 & 4.5 & 4.96 & 5.64 & 8.39 & 2.36 & 1.6 & 1.6 \tabularnewline
3.777777778 & 0.09 & 0.09 & 1.98 & 1.32 & 2.64 & 5.56 & 6.12 & 6.97 & 10.36 & 2.92 & 1.98 & 1.98 \tabularnewline
3.888888889 & 0.08 & 0.08 & 1.65 & 1.1 & 2.2 & 4.63 & 5.1 & 5.81 & 8.63 & 2.43 & 1.65 & 1.65 \tabularnewline
4 & 0.1 & 0.1 & 2.17 & 1.44 & 2.89 & 6.09 & 6.7 & 7.63 & 11.35 & 3.2 & 2.17 & 2.17 \tabularnewline
4.111111111 & 0.05 & 0.05 & 1.04 & 0.69 & 1.38 & 2.91 & 3.21 & 3.65 & 5.43 & 1.53 & 1.04 & 1.04 \tabularnewline
4.222222222 & 0.05 & 0.05 & 1.08 & 0.72 & 1.44 & 3.04 & 3.35 & 3.82 & 5.67 & 1.6 & 1.08 & 1.08 \tabularnewline
4.333333333 & 0.06 & 0.06 & 1.18 & 0.78 & 1.57 & 3.31 & 3.64 & 4.15 & 6.17 & 1.74 & 1.18 & 1.18 \tabularnewline
4.444444444 & 0.04 & 0.04 & 0.75 & 0.5 & 1 & 2.12 & 2.33 & 2.65 & 3.95 & 1.11 & 0.75 & 0.75 \tabularnewline
4.555555556 & 0.01 & 0.01 & 0.28 & 0.19 & 0.38 & 0.79 & 0.87 & 1 & 1.48 & 0.42 & 0.28 & 0.28 \tabularnewline
4.666666667 & 0.01 & 0.01 & 0.28 & 0.19 & 0.38 & 0.79 & 0.87 & 1 & 1.48 & 0.42 & 0.28 & 0.28 \tabularnewline
4.777777778 & 0.02 & 0.02 & 0.33 & 0.22 & 0.44 & 0.93 & 1.02 & 1.16 & 1.73 & 0.49 & 0.33 & 0.33 \tabularnewline
4.888888889 & 0 & 0 & 0.09 & 0.06 & 0.13 & 0.26 & 0.29 & 0.33 & 0.49 & 0.14 & 0.09 & 0.09 \tabularnewline
5 & 0 & 0 & 0.09 & 0.06 & 0.13 & 0.26 & 0.29 & 0.33 & 0.49 & 0.14 & 0.09 & 0.09 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309330&T=2

[TABLE]
[ROW][C]Tabulation of Expected Results[/C][/ROW]
[ROW][C]A  x  B[/C][/ROW]
[ROW][C] [/C][C]1[/C][C]1.333333333[/C][C]2[/C][C]2.333333333[/C][C]2.666666667[/C][C]3[/C][C]3.333333333[/C][C]3.666666667[/C][C]4[/C][C]4.333333333[/C][C]4.666666667[/C][C]5[/C][/ROW]
[C]1.555555556[/C][C]0[/C][C]0[/C][C]0.05[/C][C]0.03[/C][C]0.06[/C][C]0.13[/C][C]0.15[/C][C]0.17[/C][C]0.25[/C][C]0.07[/C][C]0.05[/C][C]0.05[/C][/ROW]
[C]1.777777778[/C][C]0[/C][C]0[/C][C]0.05[/C][C]0.03[/C][C]0.06[/C][C]0.13[/C][C]0.15[/C][C]0.17[/C][C]0.25[/C][C]0.07[/C][C]0.05[/C][C]0.05[/C][/ROW]
[C]2.111111111[/C][C]0[/C][C]0[/C][C]0.05[/C][C]0.03[/C][C]0.06[/C][C]0.13[/C][C]0.15[/C][C]0.17[/C][C]0.25[/C][C]0.07[/C][C]0.05[/C][C]0.05[/C][/ROW]
[C]2.333333333[/C][C]0[/C][C]0[/C][C]0.09[/C][C]0.06[/C][C]0.13[/C][C]0.26[/C][C]0.29[/C][C]0.33[/C][C]0.49[/C][C]0.14[/C][C]0.09[/C][C]0.09[/C][/ROW]
[C]2.444444444[/C][C]0.01[/C][C]0.01[/C][C]0.14[/C][C]0.09[/C][C]0.19[/C][C]0.4[/C][C]0.44[/C][C]0.5[/C][C]0.74[/C][C]0.21[/C][C]0.14[/C][C]0.14[/C][/ROW]
[C]2.555555556[/C][C]0[/C][C]0[/C][C]0.09[/C][C]0.06[/C][C]0.13[/C][C]0.26[/C][C]0.29[/C][C]0.33[/C][C]0.49[/C][C]0.14[/C][C]0.09[/C][C]0.09[/C][/ROW]
[C]2.666666667[/C][C]0[/C][C]0[/C][C]0.09[/C][C]0.06[/C][C]0.13[/C][C]0.26[/C][C]0.29[/C][C]0.33[/C][C]0.49[/C][C]0.14[/C][C]0.09[/C][C]0.09[/C][/ROW]
[C]2.777777778[/C][C]0.02[/C][C]0.02[/C][C]0.52[/C][C]0.35[/C][C]0.69[/C][C]1.46[/C][C]1.6[/C][C]1.83[/C][C]2.71[/C][C]0.76[/C][C]0.52[/C][C]0.52[/C][/ROW]
[C]2.888888889[/C][C]0.03[/C][C]0.03[/C][C]0.57[/C][C]0.38[/C][C]0.75[/C][C]1.59[/C][C]1.75[/C][C]1.99[/C][C]2.96[/C][C]0.83[/C][C]0.57[/C][C]0.57[/C][/ROW]
[C]3[/C][C]0.04[/C][C]0.04[/C][C]0.75[/C][C]0.5[/C][C]1[/C][C]2.12[/C][C]2.33[/C][C]2.65[/C][C]3.95[/C][C]1.11[/C][C]0.75[/C][C]0.75[/C][/ROW]
[C]3.111111111[/C][C]0.06[/C][C]0.06[/C][C]1.18[/C][C]0.78[/C][C]1.57[/C][C]3.31[/C][C]3.64[/C][C]4.15[/C][C]6.17[/C][C]1.74[/C][C]1.18[/C][C]1.18[/C][/ROW]
[C]3.222222222[/C][C]0.03[/C][C]0.03[/C][C]0.71[/C][C]0.47[/C][C]0.94[/C][C]1.98[/C][C]2.19[/C][C]2.49[/C][C]3.7[/C][C]1.04[/C][C]0.71[/C][C]0.71[/C][/ROW]
[C]3.333333333[/C][C]0.05[/C][C]0.05[/C][C]1.04[/C][C]0.69[/C][C]1.38[/C][C]2.91[/C][C]3.21[/C][C]3.65[/C][C]5.43[/C][C]1.53[/C][C]1.04[/C][C]1.04[/C][/ROW]
[C]3.444444444[/C][C]0.08[/C][C]0.08[/C][C]1.65[/C][C]1.1[/C][C]2.2[/C][C]4.63[/C][C]5.1[/C][C]5.81[/C][C]8.63[/C][C]2.43[/C][C]1.65[/C][C]1.65[/C][/ROW]
[C]3.555555556[/C][C]0.07[/C][C]0.07[/C][C]1.51[/C][C]1[/C][C]2.01[/C][C]4.23[/C][C]4.66[/C][C]5.31[/C][C]7.89[/C][C]2.22[/C][C]1.51[/C][C]1.51[/C][/ROW]
[C]3.666666667[/C][C]0.08[/C][C]0.08[/C][C]1.6[/C][C]1.07[/C][C]2.13[/C][C]4.5[/C][C]4.96[/C][C]5.64[/C][C]8.39[/C][C]2.36[/C][C]1.6[/C][C]1.6[/C][/ROW]
[C]3.777777778[/C][C]0.09[/C][C]0.09[/C][C]1.98[/C][C]1.32[/C][C]2.64[/C][C]5.56[/C][C]6.12[/C][C]6.97[/C][C]10.36[/C][C]2.92[/C][C]1.98[/C][C]1.98[/C][/ROW]
[C]3.888888889[/C][C]0.08[/C][C]0.08[/C][C]1.65[/C][C]1.1[/C][C]2.2[/C][C]4.63[/C][C]5.1[/C][C]5.81[/C][C]8.63[/C][C]2.43[/C][C]1.65[/C][C]1.65[/C][/ROW]
[C]4[/C][C]0.1[/C][C]0.1[/C][C]2.17[/C][C]1.44[/C][C]2.89[/C][C]6.09[/C][C]6.7[/C][C]7.63[/C][C]11.35[/C][C]3.2[/C][C]2.17[/C][C]2.17[/C][/ROW]
[C]4.111111111[/C][C]0.05[/C][C]0.05[/C][C]1.04[/C][C]0.69[/C][C]1.38[/C][C]2.91[/C][C]3.21[/C][C]3.65[/C][C]5.43[/C][C]1.53[/C][C]1.04[/C][C]1.04[/C][/ROW]
[C]4.222222222[/C][C]0.05[/C][C]0.05[/C][C]1.08[/C][C]0.72[/C][C]1.44[/C][C]3.04[/C][C]3.35[/C][C]3.82[/C][C]5.67[/C][C]1.6[/C][C]1.08[/C][C]1.08[/C][/ROW]
[C]4.333333333[/C][C]0.06[/C][C]0.06[/C][C]1.18[/C][C]0.78[/C][C]1.57[/C][C]3.31[/C][C]3.64[/C][C]4.15[/C][C]6.17[/C][C]1.74[/C][C]1.18[/C][C]1.18[/C][/ROW]
[C]4.444444444[/C][C]0.04[/C][C]0.04[/C][C]0.75[/C][C]0.5[/C][C]1[/C][C]2.12[/C][C]2.33[/C][C]2.65[/C][C]3.95[/C][C]1.11[/C][C]0.75[/C][C]0.75[/C][/ROW]
[C]4.555555556[/C][C]0.01[/C][C]0.01[/C][C]0.28[/C][C]0.19[/C][C]0.38[/C][C]0.79[/C][C]0.87[/C][C]1[/C][C]1.48[/C][C]0.42[/C][C]0.28[/C][C]0.28[/C][/ROW]
[C]4.666666667[/C][C]0.01[/C][C]0.01[/C][C]0.28[/C][C]0.19[/C][C]0.38[/C][C]0.79[/C][C]0.87[/C][C]1[/C][C]1.48[/C][C]0.42[/C][C]0.28[/C][C]0.28[/C][/ROW]
[C]4.777777778[/C][C]0.02[/C][C]0.02[/C][C]0.33[/C][C]0.22[/C][C]0.44[/C][C]0.93[/C][C]1.02[/C][C]1.16[/C][C]1.73[/C][C]0.49[/C][C]0.33[/C][C]0.33[/C][/ROW]
[C]4.888888889[/C][C]0[/C][C]0[/C][C]0.09[/C][C]0.06[/C][C]0.13[/C][C]0.26[/C][C]0.29[/C][C]0.33[/C][C]0.49[/C][C]0.14[/C][C]0.09[/C][C]0.09[/C][/ROW]
[C]5[/C][C]0[/C][C]0[/C][C]0.09[/C][C]0.06[/C][C]0.13[/C][C]0.26[/C][C]0.29[/C][C]0.33[/C][C]0.49[/C][C]0.14[/C][C]0.09[/C][C]0.09[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=309330&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309330&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Tabulation of Expected Results
A x B
11.33333333322.3333333332.66666666733.3333333333.66666666744.3333333334.6666666675
1.555555556000.050.030.060.130.150.170.250.070.050.05
1.777777778000.050.030.060.130.150.170.250.070.050.05
2.111111111000.050.030.060.130.150.170.250.070.050.05
2.333333333000.090.060.130.260.290.330.490.140.090.09
2.4444444440.010.010.140.090.190.40.440.50.740.210.140.14
2.555555556000.090.060.130.260.290.330.490.140.090.09
2.666666667000.090.060.130.260.290.330.490.140.090.09
2.7777777780.020.020.520.350.691.461.61.832.710.760.520.52
2.8888888890.030.030.570.380.751.591.751.992.960.830.570.57
30.040.040.750.512.122.332.653.951.110.750.75
3.1111111110.060.061.180.781.573.313.644.156.171.741.181.18
3.2222222220.030.030.710.470.941.982.192.493.71.040.710.71
3.3333333330.050.051.040.691.382.913.213.655.431.531.041.04
3.4444444440.080.081.651.12.24.635.15.818.632.431.651.65
3.5555555560.070.071.5112.014.234.665.317.892.221.511.51
3.6666666670.080.081.61.072.134.54.965.648.392.361.61.6
3.7777777780.090.091.981.322.645.566.126.9710.362.921.981.98
3.8888888890.080.081.651.12.24.635.15.818.632.431.651.65
40.10.12.171.442.896.096.77.6311.353.22.172.17
4.1111111110.050.051.040.691.382.913.213.655.431.531.041.04
4.2222222220.050.051.080.721.443.043.353.825.671.61.081.08
4.3333333330.060.061.180.781.573.313.644.156.171.741.181.18
4.4444444440.040.040.750.512.122.332.653.951.110.750.75
4.5555555560.010.010.280.190.380.790.8711.480.420.280.28
4.6666666670.010.010.280.190.380.790.8711.480.420.280.28
4.7777777780.020.020.330.220.440.931.021.161.730.490.330.33
4.888888889000.090.060.130.260.290.330.490.140.090.09
5000.090.060.130.260.290.330.490.140.090.09







Statistical Results
Pearson's Chi-squared test
Pearson Chi Square Statistic418.24
Degrees of Freedom297
P value0

\begin{tabular}{lllllllll}
\hline
Statistical Results \tabularnewline
Pearson's Chi-squared test \tabularnewline
Pearson Chi Square Statistic & 418.24 \tabularnewline
Degrees of Freedom & 297 \tabularnewline
P value & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309330&T=3

[TABLE]
[ROW][C]Statistical Results[/C][/ROW]
[ROW][C]Pearson's Chi-squared test[/C][/ROW]
[ROW][C]Pearson Chi Square Statistic[/C][C]418.24[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]297[/C][/ROW]
[ROW][C]P value[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=309330&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309330&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Statistical Results
Pearson's Chi-squared test
Pearson Chi Square Statistic418.24
Degrees of Freedom297
P value0



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)
cat1 <- as.numeric(par1) #
cat2<- as.numeric(par2) #
simulate.p.value=FALSE
if (par3 == 'Exact Pearson Chi-Squared by Simulation') simulate.p.value=TRUE
x <- t(x)
(z <- array(unlist(x),dim=c(length(x[,1]),length(x[1,]))))
(table1 <- table(z[,cat1],z[,cat2]))
(V1<-dimnames(y)[[1]][cat1])
(V2<-dimnames(y)[[1]][cat2])
bitmap(file='pic1.png')
assoc(ftable(z[,cat1],z[,cat2],row.vars=1,dnn=c(V1,V2)),shade=T)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Tabulation of Results',ncol(table1)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste(V1,' x ', V2),ncol(table1)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, ' ', 1,TRUE)
for(nc in 1:ncol(table1)){
a<-table.element(a, colnames(table1)[nc], 1, TRUE)
}
a<-table.row.end(a)
for(nr in 1:nrow(table1) ){
a<-table.element(a, rownames(table1)[nr], 1, TRUE)
for(nc in 1:ncol(table1) ){
a<-table.element(a, table1[nr, nc], 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
(cst<-chisq.test(table1, simulate.p.value=simulate.p.value) )
if (par3 == 'McNemar Chi-Squared') {
(cst <- mcnemar.test(table1))
}
if (par3=='Fisher Exact Test') {
(cst <- fisher.test(table1))
}
if ((par3 != 'McNemar Chi-Squared') & (par3 != 'Fisher Exact Test')) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Tabulation of Expected Results',ncol(table1)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste(V1,' x ', V2),ncol(table1)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, ' ', 1,TRUE)
for(nc in 1:ncol(table1)){
a<-table.element(a, colnames(table1)[nc], 1, TRUE)
}
a<-table.row.end(a)
for(nr in 1:nrow(table1) ){
a<-table.element(a, rownames(table1)[nr], 1, TRUE)
for(nc in 1:ncol(table1) ){
a<-table.element(a, round(cst$expected[nr, nc], digits=2), 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
}
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Statistical Results',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, cst$method, 2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
if (par3=='Pearson Chi-Squared') a<-table.element(a, 'Pearson Chi Square Statistic', 1, TRUE)
if (par3=='Exact Pearson Chi-Squared by Simulation') a<-table.element(a, 'Exact Pearson Chi Square Statistic', 1, TRUE)
if (par3=='McNemar Chi-Squared') a<-table.element(a, 'McNemar Chi Square Statistic', 1, TRUE)
if (par3=='Fisher Exact Test') a<-table.element(a, 'Odds Ratio', 1, TRUE)
if (par3=='Fisher Exact Test') {
if ((ncol(table1) == 2) & (nrow(table1) == 2)) {
a<-table.element(a, round(cst$estimate, digits=2), 1,FALSE)
} else {
a<-table.element(a, '--', 1,FALSE)
}
} else {
a<-table.element(a, round(cst$statistic, digits=2), 1,FALSE)
}
a<-table.row.end(a)
if(!simulate.p.value){
if(par3!='Fisher Exact Test') {
a<-table.row.start(a)
a<-table.element(a, 'Degrees of Freedom', 1, TRUE)
a<-table.element(a, cst$parameter, 1,FALSE)
a<-table.row.end(a)
}
}
a<-table.row.start(a)
a<-table.element(a, 'P value', 1, TRUE)
a<-table.element(a, round(cst$p.value, digits=2), 1,FALSE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable2.tab')