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, 17 Dec 2014 13:42:40 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Dec/17/t141882388046wh1fjngshg4xf.htm/, Retrieved Thu, 16 May 2024 05:58:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=270256, Retrieved Thu, 16 May 2024 05:58:15 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact54
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] [] [2014-12-17 13:42:40] [8fb8f54f5311a3bdb9fc3d530bb27adb] [Current]
Feedback Forum

Post a new message
Dataseries X:
12 13
8 8
11 14
13 16
11 14
10 13
7 15
10 13
15 20
12 17
12 15
10 16
10 12
14 17
6 11
12 16
14 16
11 15
8 13
12 14
15 19
13 16
11 17
12 10
7 15
11 14
7 14
12 16
12 15
13 17
9 14
11 16
12 15
15 16
12 16
6 10
5 8
13 17
11 14
6 10
12 14
10 12
6 16
12 16
11 16
6 8
12 16
12 15
8 8
10 13
11 14
7 13
12 16
13 19
14 19
12 14
6 15
14 13
10 10
12 16
11 15
10 11
7 9
12 16
7 12
12 12
12 14
10 14
10 13
12 15
12 17
12 14
8 11
10 9
5 7
10 15
12 12
11 15
9 14
12 16
11 14
10 13
12 16
10 13
9 16
11 16
12 16
7 10
11 12
12 12
6 12
9 12
15 19
10 14
11 13
12 16
12 15
12 12
11 8
9 10
11 16
12 16
12 10
14 18
8 12
10 16
9 10
10 14
9 12
10 11
12 15
11 7
9 16
11 16
12 16
12 16
7 12
12 15
12 14
12 15
10 16
15 13
10 10
15 17
10 15
15 18
9 16
15 20
12 16
13 17
12 16
12 15
8 13
9 16
15 16
12 16
12 17
15 20
11 14
12 17
6 6
14 16
12 15
12 16
12 16
11 14
12 16
12 16
12 16
12 14
8 14
8 16
12 16
12 15
11 16
10 16
11 18
12 15
13 16
12 16
12 16
10 17
10 14
11 18
8 9
12 15
9 14
12 15
9 13
11 16
15 20
8 14
8 12
11 15
11 15
11 15
13 16
7 11
12 16
8 7
8 11
4 9
11 15
10 16
7 14
12 15
11 13
9 13
10 12
8 16
8 14
11 16
12 14
10 15
10 10
12 16
8 14
11 16
8 12
10 16
14 16
9 15
9 14
10 16
13 11
12 15
13 18
8 13
3 7
8 7
12 17
11 18
9 15
12 8
12 13
12 13
10 15
13 18
9 16
12 14
11 15
14 19
11 16
9 12
12 16
8 11
15 16
12 15
14 19
12 15
9 14
9 14
13 17
13 16
15 20
11 16
7 9
10 13
11 15
14 19
14 16
13 17
12 16
8 9
13 11
9 14
12 19
13 13
11 14
11 15
13 15
12 14
12 16
10 17
9 12
10 15
13 17
13 15
9 10
11 16
12 15
8 11
12 16
12 16
12 16
9 14
12 14
12 16
11 16
12 18
6 14
7 20
10 15
12 16
10 16
12 16
9 12




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=270256&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=270256&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=270256&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 Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Tabulation of Results
CONFSOFTTOT x CONFSTATTOT
67891011121314151617181920
3010000000000000
4000100000000000
5011000000000000
6101021101110000
7000211212200001
8022204334020000
9000030528250000
10000132374682000
1101100012910131300
12001020431120375110
13000002010256210
14000000010041140
15000000010031125

\begin{tabular}{lllllllll}
\hline
Tabulation of Results \tabularnewline CONFSOFTTOT x CONFSTATTOT \tabularnewline & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20 \tabularnewline 3 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline 4 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline 5 & 0 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline 6 & 1 & 0 & 1 & 0 & 2 & 1 & 1 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 0 \tabularnewline 7 & 0 & 0 & 0 & 2 & 1 & 1 & 2 & 1 & 2 & 2 & 0 & 0 & 0 & 0 & 1 \tabularnewline 8 & 0 & 2 & 2 & 2 & 0 & 4 & 3 & 3 & 4 & 0 & 2 & 0 & 0 & 0 & 0 \tabularnewline 9 & 0 & 0 & 0 & 0 & 3 & 0 & 5 & 2 & 8 & 2 & 5 & 0 & 0 & 0 & 0 \tabularnewline 10 & 0 & 0 & 0 & 1 & 3 & 2 & 3 & 7 & 4 & 6 & 8 & 2 & 0 & 0 & 0 \tabularnewline 11 & 0 & 1 & 1 & 0 & 0 & 0 & 1 & 2 & 9 & 10 & 13 & 1 & 3 & 0 & 0 \tabularnewline 12 & 0 & 0 & 1 & 0 & 2 & 0 & 4 & 3 & 11 & 20 & 37 & 5 & 1 & 1 & 0 \tabularnewline 13 & 0 & 0 & 0 & 0 & 0 & 2 & 0 & 1 & 0 & 2 & 5 & 6 & 2 & 1 & 0 \tabularnewline 14 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 4 & 1 & 1 & 4 & 0 \tabularnewline 15 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 3 & 1 & 1 & 2 & 5 \tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=270256&T=1

[TABLE]
[ROW]
Tabulation of Results[/C][/ROW] [ROW]CONFSOFTTOT x CONFSTATTOT[/C][/ROW] [ROW][C] [/C][C]6[/C][C]7[/C][C]8[/C][C]9[/C][C]10[/C][C]11[/C][C]12[/C][C]13[/C][C]14[/C][C]15[/C][C]16[/C][C]17[/C][C]18[/C][C]19[/C][C]20[/C][/ROW] [C]3[/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][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]4[/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][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]5[/C][C]0[/C][C]1[/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][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]6[/C][C]1[/C][C]0[/C][C]1[/C][C]0[/C][C]2[/C][C]1[/C][C]1[/C][C]0[/C][C]1[/C][C]1[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]7[/C][C]0[/C][C]0[/C][C]0[/C][C]2[/C][C]1[/C][C]1[/C][C]2[/C][C]1[/C][C]2[/C][C]2[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][/ROW] [C]8[/C][C]0[/C][C]2[/C][C]2[/C][C]2[/C][C]0[/C][C]4[/C][C]3[/C][C]3[/C][C]4[/C][C]0[/C][C]2[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]9[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]3[/C][C]0[/C][C]5[/C][C]2[/C][C]8[/C][C]2[/C][C]5[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]10[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]3[/C][C]2[/C][C]3[/C][C]7[/C][C]4[/C][C]6[/C][C]8[/C][C]2[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]11[/C][C]0[/C][C]1[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]2[/C][C]9[/C][C]10[/C][C]13[/C][C]1[/C][C]3[/C][C]0[/C][C]0[/C][/ROW] [C]12[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]2[/C][C]0[/C][C]4[/C][C]3[/C][C]11[/C][C]20[/C][C]37[/C][C]5[/C][C]1[/C][C]1[/C][C]0[/C][/ROW] [C]13[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]2[/C][C]0[/C][C]1[/C][C]0[/C][C]2[/C][C]5[/C][C]6[/C][C]2[/C][C]1[/C][C]0[/C][/ROW] [C]14[/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]0[/C][C]0[/C][C]4[/C][C]1[/C][C]1[/C][C]4[/C][C]0[/C][/ROW] [C]15[/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]0[/C][C]0[/C][C]3[/C][C]1[/C][C]1[/C][C]2[/C][C]5[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=270256&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=270256&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
CONFSOFTTOT x CONFSTATTOT
67891011121314151617181920
3010000000000000
4000100000000000
5011000000000000
6101021101110000
7000211212200001
8022204334020000
9000030528250000
10000132374682000
1101100012910131300
12001020431120375110
13000002010256210
14000000010041140
15000000010031125







Tabulation of Expected Results
CONFSOFTTOT x CONFSTATTOT
67891011121314151617181920
300.020.020.020.040.040.070.080.140.160.280.060.030.030.02
400.020.020.020.040.040.070.080.140.160.280.060.030.030.02
50.010.040.040.040.080.070.140.150.280.310.560.120.060.060.04
60.030.160.190.190.360.320.620.681.271.42.530.520.260.260.19
70.040.220.260.260.480.430.820.911.691.863.380.690.350.350.26
80.080.40.480.480.870.791.511.673.13.426.191.270.640.640.48
90.090.450.540.540.990.91.711.93.523.887.041.440.720.720.54
100.130.650.780.781.431.32.472.735.075.5910.142.081.041.040.78
110.150.740.890.891.631.482.813.115.776.3611.552.371.181.180.89
120.311.531.841.843.383.075.836.4411.9713.1923.944.912.452.451.84
130.070.340.410.410.750.691.31.442.682.955.351.10.550.550.41
140.040.20.240.240.440.40.750.831.551.713.10.640.320.320.24
150.050.230.280.280.520.470.890.991.832.023.660.750.380.380.28

\begin{tabular}{lllllllll}
\hline
Tabulation of Expected Results \tabularnewline CONFSOFTTOT x CONFSTATTOT \tabularnewline & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20 \tabularnewline 3 & 0 & 0.02 & 0.02 & 0.02 & 0.04 & 0.04 & 0.07 & 0.08 & 0.14 & 0.16 & 0.28 & 0.06 & 0.03 & 0.03 & 0.02 \tabularnewline 4 & 0 & 0.02 & 0.02 & 0.02 & 0.04 & 0.04 & 0.07 & 0.08 & 0.14 & 0.16 & 0.28 & 0.06 & 0.03 & 0.03 & 0.02 \tabularnewline 5 & 0.01 & 0.04 & 0.04 & 0.04 & 0.08 & 0.07 & 0.14 & 0.15 & 0.28 & 0.31 & 0.56 & 0.12 & 0.06 & 0.06 & 0.04 \tabularnewline 6 & 0.03 & 0.16 & 0.19 & 0.19 & 0.36 & 0.32 & 0.62 & 0.68 & 1.27 & 1.4 & 2.53 & 0.52 & 0.26 & 0.26 & 0.19 \tabularnewline 7 & 0.04 & 0.22 & 0.26 & 0.26 & 0.48 & 0.43 & 0.82 & 0.91 & 1.69 & 1.86 & 3.38 & 0.69 & 0.35 & 0.35 & 0.26 \tabularnewline 8 & 0.08 & 0.4 & 0.48 & 0.48 & 0.87 & 0.79 & 1.51 & 1.67 & 3.1 & 3.42 & 6.19 & 1.27 & 0.64 & 0.64 & 0.48 \tabularnewline 9 & 0.09 & 0.45 & 0.54 & 0.54 & 0.99 & 0.9 & 1.71 & 1.9 & 3.52 & 3.88 & 7.04 & 1.44 & 0.72 & 0.72 & 0.54 \tabularnewline 10 & 0.13 & 0.65 & 0.78 & 0.78 & 1.43 & 1.3 & 2.47 & 2.73 & 5.07 & 5.59 & 10.14 & 2.08 & 1.04 & 1.04 & 0.78 \tabularnewline 11 & 0.15 & 0.74 & 0.89 & 0.89 & 1.63 & 1.48 & 2.81 & 3.11 & 5.77 & 6.36 & 11.55 & 2.37 & 1.18 & 1.18 & 0.89 \tabularnewline 12 & 0.31 & 1.53 & 1.84 & 1.84 & 3.38 & 3.07 & 5.83 & 6.44 & 11.97 & 13.19 & 23.94 & 4.91 & 2.45 & 2.45 & 1.84 \tabularnewline 13 & 0.07 & 0.34 & 0.41 & 0.41 & 0.75 & 0.69 & 1.3 & 1.44 & 2.68 & 2.95 & 5.35 & 1.1 & 0.55 & 0.55 & 0.41 \tabularnewline 14 & 0.04 & 0.2 & 0.24 & 0.24 & 0.44 & 0.4 & 0.75 & 0.83 & 1.55 & 1.71 & 3.1 & 0.64 & 0.32 & 0.32 & 0.24 \tabularnewline 15 & 0.05 & 0.23 & 0.28 & 0.28 & 0.52 & 0.47 & 0.89 & 0.99 & 1.83 & 2.02 & 3.66 & 0.75 & 0.38 & 0.38 & 0.28 \tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=270256&T=2

[TABLE]
[ROW]
Tabulation of Expected Results[/C][/ROW] [ROW]CONFSOFTTOT x CONFSTATTOT[/C][/ROW] [ROW][C] [/C][C]6[/C][C]7[/C][C]8[/C][C]9[/C][C]10[/C][C]11[/C][C]12[/C][C]13[/C][C]14[/C][C]15[/C][C]16[/C][C]17[/C][C]18[/C][C]19[/C][C]20[/C][/ROW] [C]3[/C][C]0[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][C]0.04[/C][C]0.04[/C][C]0.07[/C][C]0.08[/C][C]0.14[/C][C]0.16[/C][C]0.28[/C][C]0.06[/C][C]0.03[/C][C]0.03[/C][C]0.02[/C][/ROW] [C]4[/C][C]0[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][C]0.04[/C][C]0.04[/C][C]0.07[/C][C]0.08[/C][C]0.14[/C][C]0.16[/C][C]0.28[/C][C]0.06[/C][C]0.03[/C][C]0.03[/C][C]0.02[/C][/ROW] [C]5[/C][C]0.01[/C][C]0.04[/C][C]0.04[/C][C]0.04[/C][C]0.08[/C][C]0.07[/C][C]0.14[/C][C]0.15[/C][C]0.28[/C][C]0.31[/C][C]0.56[/C][C]0.12[/C][C]0.06[/C][C]0.06[/C][C]0.04[/C][/ROW] [C]6[/C][C]0.03[/C][C]0.16[/C][C]0.19[/C][C]0.19[/C][C]0.36[/C][C]0.32[/C][C]0.62[/C][C]0.68[/C][C]1.27[/C][C]1.4[/C][C]2.53[/C][C]0.52[/C][C]0.26[/C][C]0.26[/C][C]0.19[/C][/ROW] [C]7[/C][C]0.04[/C][C]0.22[/C][C]0.26[/C][C]0.26[/C][C]0.48[/C][C]0.43[/C][C]0.82[/C][C]0.91[/C][C]1.69[/C][C]1.86[/C][C]3.38[/C][C]0.69[/C][C]0.35[/C][C]0.35[/C][C]0.26[/C][/ROW] [C]8[/C][C]0.08[/C][C]0.4[/C][C]0.48[/C][C]0.48[/C][C]0.87[/C][C]0.79[/C][C]1.51[/C][C]1.67[/C][C]3.1[/C][C]3.42[/C][C]6.19[/C][C]1.27[/C][C]0.64[/C][C]0.64[/C][C]0.48[/C][/ROW] [C]9[/C][C]0.09[/C][C]0.45[/C][C]0.54[/C][C]0.54[/C][C]0.99[/C][C]0.9[/C][C]1.71[/C][C]1.9[/C][C]3.52[/C][C]3.88[/C][C]7.04[/C][C]1.44[/C][C]0.72[/C][C]0.72[/C][C]0.54[/C][/ROW] [C]10[/C][C]0.13[/C][C]0.65[/C][C]0.78[/C][C]0.78[/C][C]1.43[/C][C]1.3[/C][C]2.47[/C][C]2.73[/C][C]5.07[/C][C]5.59[/C][C]10.14[/C][C]2.08[/C][C]1.04[/C][C]1.04[/C][C]0.78[/C][/ROW] [C]11[/C][C]0.15[/C][C]0.74[/C][C]0.89[/C][C]0.89[/C][C]1.63[/C][C]1.48[/C][C]2.81[/C][C]3.11[/C][C]5.77[/C][C]6.36[/C][C]11.55[/C][C]2.37[/C][C]1.18[/C][C]1.18[/C][C]0.89[/C][/ROW] [C]12[/C][C]0.31[/C][C]1.53[/C][C]1.84[/C][C]1.84[/C][C]3.38[/C][C]3.07[/C][C]5.83[/C][C]6.44[/C][C]11.97[/C][C]13.19[/C][C]23.94[/C][C]4.91[/C][C]2.45[/C][C]2.45[/C][C]1.84[/C][/ROW] [C]13[/C][C]0.07[/C][C]0.34[/C][C]0.41[/C][C]0.41[/C][C]0.75[/C][C]0.69[/C][C]1.3[/C][C]1.44[/C][C]2.68[/C][C]2.95[/C][C]5.35[/C][C]1.1[/C][C]0.55[/C][C]0.55[/C][C]0.41[/C][/ROW] [C]14[/C][C]0.04[/C][C]0.2[/C][C]0.24[/C][C]0.24[/C][C]0.44[/C][C]0.4[/C][C]0.75[/C][C]0.83[/C][C]1.55[/C][C]1.71[/C][C]3.1[/C][C]0.64[/C][C]0.32[/C][C]0.32[/C][C]0.24[/C][/ROW] [C]15[/C][C]0.05[/C][C]0.23[/C][C]0.28[/C][C]0.28[/C][C]0.52[/C][C]0.47[/C][C]0.89[/C][C]0.99[/C][C]1.83[/C][C]2.02[/C][C]3.66[/C][C]0.75[/C][C]0.38[/C][C]0.38[/C][C]0.28[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=270256&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=270256&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
CONFSOFTTOT x CONFSTATTOT
67891011121314151617181920
300.020.020.020.040.040.070.080.140.160.280.060.030.030.02
400.020.020.020.040.040.070.080.140.160.280.060.030.030.02
50.010.040.040.040.080.070.140.150.280.310.560.120.060.060.04
60.030.160.190.190.360.320.620.681.271.42.530.520.260.260.19
70.040.220.260.260.480.430.820.911.691.863.380.690.350.350.26
80.080.40.480.480.870.791.511.673.13.426.191.270.640.640.48
90.090.450.540.540.990.91.711.93.523.887.041.440.720.720.54
100.130.650.780.781.431.32.472.735.075.5910.142.081.041.040.78
110.150.740.890.891.631.482.813.115.776.3611.552.371.181.180.89
120.311.531.841.843.383.075.836.4411.9713.1923.944.912.452.451.84
130.070.340.410.410.750.691.31.442.682.955.351.10.550.550.41
140.040.20.240.240.440.40.750.831.551.713.10.640.320.320.24
150.050.230.280.280.520.470.890.991.832.023.660.750.380.380.28







Statistical Results
Pearson's Chi-squared test
Pearson Chi Square Statistic514.7
Degrees of Freedom168
P value0

\begin{tabular}{lllllllll}
\hline
Statistical Results \tabularnewline
Pearson's Chi-squared test \tabularnewline
Pearson Chi Square Statistic & 514.7 \tabularnewline
Degrees of Freedom & 168 \tabularnewline
P value & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=270256&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]514.7[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]168[/C][/ROW]
[ROW][C]P value[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=270256&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=270256&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 Statistic514.7
Degrees of Freedom168
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')