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 computationThu, 17 Nov 2011 04:47:42 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Nov/17/t132152329933xcl5tylg7v1or.htm/, Retrieved Fri, 01 Nov 2024 00:30:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=144295, Retrieved Fri, 01 Nov 2024 00:30:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact143
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-17 09:47:42] [c8f7c4812ba63eaa5bf379ee3b4bd6a3] [Current]
Feedback Forum

Post a new message
Dataseries X:
14	41
18	39
11	30
12	31
16	34
18	35
14	39
14	34
15	36
15	37
17	38
19	36
10	38
16	39
18	33
14	32
14	36
17	38
14	39
16	32
18	32
11	31
14	39
12	37
17	39
9	41
16	36
14	33
15	33
11	34
16	31
13	27
17	37
15	34
14	34
16	32
9	29
15	36
17	29
13	35
15	37
16	34
16	38
12	35
12	38
11	37
15	38
15	33
17	36
13	38
16	32
14	32
11	32
12	34
12	32
15	37
16	39
15	29
12	37
12	35
8	30
13	38
11	34
14	31
15	34
10	35
11	36
12	30
15	39
15	35
14	38
16	31
15	34
15	38
13	34
12	39
17	37
13	34
15	28
13	37
15	33
16	37
15	35
16	37
15	32
14	33
15	38
14	33
13	29
7	33
17	31
13	36
15	35
14	32
13	29
16	39
12	37
14	35
17	37
15	32
17	38
12	37
16	36
11	32
15	33
9	40
16	38
15	41
10	36
10	43
15	30
11	31
13	32
14	32
18	37
16	37
14	33
14	34
14	33
14	38
12	33
14	31
15	38
15	37
15	33
13	31
17	39
17	44
19	33
15	35
13	32
9	28
15	40
15	27
15	37
16	32
11	28
14	34
11	30
15	35
13	31
15	32
16	30
14	30
15	31
16	40
16	32
11	36
12	32
9	35
16	38
13	42
16	34
12	35
9	35
13	33
13	36
14	32
19	33
13	34
12	32
13	34




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=144295&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]3 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=144295&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=144295&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 time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Tabulation of Results
Happiness x Connected
272829303132333435363738394041424344
7000000100000000000
8000100000000000000
9011000002000011000
10000000001101000010
11010222020210000000
12000113113041100000
13102022141212000100
14000125541102301000
15111113535254111000
16000125030233310000
17001010000133200001
18000001101010100000
19000000200100000000

\begin{tabular}{lllllllll}
\hline
Tabulation of Results \tabularnewline Happiness x Connected \tabularnewline & 27 & 28 & 29 & 30 & 31 & 32 & 33 & 34 & 35 & 36 & 37 & 38 & 39 & 40 & 41 & 42 & 43 & 44 \tabularnewline 7 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline 8 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline 9 & 0 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 2 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & 0 \tabularnewline 10 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 1 & 0 \tabularnewline 11 & 0 & 1 & 0 & 2 & 2 & 2 & 0 & 2 & 0 & 2 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline 12 & 0 & 0 & 0 & 1 & 1 & 3 & 1 & 1 & 3 & 0 & 4 & 1 & 1 & 0 & 0 & 0 & 0 & 0 \tabularnewline 13 & 1 & 0 & 2 & 0 & 2 & 2 & 1 & 4 & 1 & 2 & 1 & 2 & 0 & 0 & 0 & 1 & 0 & 0 \tabularnewline 14 & 0 & 0 & 0 & 1 & 2 & 5 & 5 & 4 & 1 & 1 & 0 & 2 & 3 & 0 & 1 & 0 & 0 & 0 \tabularnewline 15 & 1 & 1 & 1 & 1 & 1 & 3 & 5 & 3 & 5 & 2 & 5 & 4 & 1 & 1 & 1 & 0 & 0 & 0 \tabularnewline 16 & 0 & 0 & 0 & 1 & 2 & 5 & 0 & 3 & 0 & 2 & 3 & 3 & 3 & 1 & 0 & 0 & 0 & 0 \tabularnewline 17 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 1 & 3 & 3 & 2 & 0 & 0 & 0 & 0 & 1 \tabularnewline 18 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \tabularnewline 19 & 0 & 0 & 0 & 0 & 0 & 0 & 2 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=144295&T=1

[TABLE]
[ROW]
Tabulation of Results[/C][/ROW] [ROW]Happiness x Connected[/C][/ROW] [ROW][C] [/C][C]27[/C][C]28[/C][C]29[/C][C]30[/C][C]31[/C][C]32[/C][C]33[/C][C]34[/C][C]35[/C][C]36[/C][C]37[/C][C]38[/C][C]39[/C][C]40[/C][C]41[/C][C]42[/C][C]43[/C][C]44[/C][/ROW] [C]7[/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]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]8[/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][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]9[/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]2[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]10[/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][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][/ROW] [C]11[/C][C]0[/C][C]1[/C][C]0[/C][C]2[/C][C]2[/C][C]2[/C][C]0[/C][C]2[/C][C]0[/C][C]2[/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]12[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]3[/C][C]1[/C][C]1[/C][C]3[/C][C]0[/C][C]4[/C][C]1[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]13[/C][C]1[/C][C]0[/C][C]2[/C][C]0[/C][C]2[/C][C]2[/C][C]1[/C][C]4[/C][C]1[/C][C]2[/C][C]1[/C][C]2[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][/ROW] [C]14[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]2[/C][C]5[/C][C]5[/C][C]4[/C][C]1[/C][C]1[/C][C]0[/C][C]2[/C][C]3[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]15[/C][C]1[/C][C]1[/C][C]1[/C][C]1[/C][C]1[/C][C]3[/C][C]5[/C][C]3[/C][C]5[/C][C]2[/C][C]5[/C][C]4[/C][C]1[/C][C]1[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]16[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]2[/C][C]5[/C][C]0[/C][C]3[/C][C]0[/C][C]2[/C][C]3[/C][C]3[/C][C]3[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]17[/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]1[/C][C]3[/C][C]3[/C][C]2[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][/ROW] [C]18[/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][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]19[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]2[/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][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=144295&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=144295&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
Happiness x Connected
272829303132333435363738394041424344
7000000100000000000
8000100000000000000
9011000002000011000
10000000001101000010
11010222020210000000
12000113113041100000
13102022141212000100
14000125541102301000
15111113535254111000
16000125030233310000
17001010000133200001
18000001101010100000
19000000200100000000







Tabulation of Expected Results
Happiness x Connected
272829303132333435363738394041424344
70.010.020.030.040.070.130.10.10.090.070.110.10.070.020.020.010.010.01
80.010.020.030.040.070.130.10.10.090.070.110.10.070.020.020.010.010.01
90.070.110.190.260.410.780.590.630.520.440.670.590.410.110.110.040.040.04
100.050.070.120.170.270.520.40.420.350.30.440.40.270.070.070.020.020.02
110.150.220.370.520.811.561.191.261.040.891.331.190.810.220.220.070.070.07
120.20.30.490.691.092.071.581.681.381.191.781.581.090.30.30.10.10.1
130.230.350.590.821.292.461.881.991.641.412.111.881.290.350.350.120.120.12
140.310.460.771.081.73.242.472.622.161.852.782.471.70.460.460.150.150.15
150.430.651.081.512.384.543.463.673.022.593.893.462.380.650.650.220.220.22
160.280.430.710.991.562.982.272.411.991.72.562.271.560.430.430.140.140.14
170.150.220.370.520.811.561.191.261.040.891.331.190.810.220.220.070.070.07
180.060.090.150.220.340.650.490.520.430.370.560.490.340.090.090.030.030.03
190.040.060.090.130.20.390.30.310.260.220.330.30.20.060.060.020.020.02

\begin{tabular}{lllllllll}
\hline
Tabulation of Expected Results \tabularnewline Happiness x Connected \tabularnewline & 27 & 28 & 29 & 30 & 31 & 32 & 33 & 34 & 35 & 36 & 37 & 38 & 39 & 40 & 41 & 42 & 43 & 44 \tabularnewline 7 & 0.01 & 0.02 & 0.03 & 0.04 & 0.07 & 0.13 & 0.1 & 0.1 & 0.09 & 0.07 & 0.11 & 0.1 & 0.07 & 0.02 & 0.02 & 0.01 & 0.01 & 0.01 \tabularnewline 8 & 0.01 & 0.02 & 0.03 & 0.04 & 0.07 & 0.13 & 0.1 & 0.1 & 0.09 & 0.07 & 0.11 & 0.1 & 0.07 & 0.02 & 0.02 & 0.01 & 0.01 & 0.01 \tabularnewline 9 & 0.07 & 0.11 & 0.19 & 0.26 & 0.41 & 0.78 & 0.59 & 0.63 & 0.52 & 0.44 & 0.67 & 0.59 & 0.41 & 0.11 & 0.11 & 0.04 & 0.04 & 0.04 \tabularnewline 10 & 0.05 & 0.07 & 0.12 & 0.17 & 0.27 & 0.52 & 0.4 & 0.42 & 0.35 & 0.3 & 0.44 & 0.4 & 0.27 & 0.07 & 0.07 & 0.02 & 0.02 & 0.02 \tabularnewline 11 & 0.15 & 0.22 & 0.37 & 0.52 & 0.81 & 1.56 & 1.19 & 1.26 & 1.04 & 0.89 & 1.33 & 1.19 & 0.81 & 0.22 & 0.22 & 0.07 & 0.07 & 0.07 \tabularnewline 12 & 0.2 & 0.3 & 0.49 & 0.69 & 1.09 & 2.07 & 1.58 & 1.68 & 1.38 & 1.19 & 1.78 & 1.58 & 1.09 & 0.3 & 0.3 & 0.1 & 0.1 & 0.1 \tabularnewline 13 & 0.23 & 0.35 & 0.59 & 0.82 & 1.29 & 2.46 & 1.88 & 1.99 & 1.64 & 1.41 & 2.11 & 1.88 & 1.29 & 0.35 & 0.35 & 0.12 & 0.12 & 0.12 \tabularnewline 14 & 0.31 & 0.46 & 0.77 & 1.08 & 1.7 & 3.24 & 2.47 & 2.62 & 2.16 & 1.85 & 2.78 & 2.47 & 1.7 & 0.46 & 0.46 & 0.15 & 0.15 & 0.15 \tabularnewline 15 & 0.43 & 0.65 & 1.08 & 1.51 & 2.38 & 4.54 & 3.46 & 3.67 & 3.02 & 2.59 & 3.89 & 3.46 & 2.38 & 0.65 & 0.65 & 0.22 & 0.22 & 0.22 \tabularnewline 16 & 0.28 & 0.43 & 0.71 & 0.99 & 1.56 & 2.98 & 2.27 & 2.41 & 1.99 & 1.7 & 2.56 & 2.27 & 1.56 & 0.43 & 0.43 & 0.14 & 0.14 & 0.14 \tabularnewline 17 & 0.15 & 0.22 & 0.37 & 0.52 & 0.81 & 1.56 & 1.19 & 1.26 & 1.04 & 0.89 & 1.33 & 1.19 & 0.81 & 0.22 & 0.22 & 0.07 & 0.07 & 0.07 \tabularnewline 18 & 0.06 & 0.09 & 0.15 & 0.22 & 0.34 & 0.65 & 0.49 & 0.52 & 0.43 & 0.37 & 0.56 & 0.49 & 0.34 & 0.09 & 0.09 & 0.03 & 0.03 & 0.03 \tabularnewline 19 & 0.04 & 0.06 & 0.09 & 0.13 & 0.2 & 0.39 & 0.3 & 0.31 & 0.26 & 0.22 & 0.33 & 0.3 & 0.2 & 0.06 & 0.06 & 0.02 & 0.02 & 0.02 \tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=144295&T=2

[TABLE]
[ROW]
Tabulation of Expected Results[/C][/ROW] [ROW]Happiness x Connected[/C][/ROW] [ROW][C] [/C][C]27[/C][C]28[/C][C]29[/C][C]30[/C][C]31[/C][C]32[/C][C]33[/C][C]34[/C][C]35[/C][C]36[/C][C]37[/C][C]38[/C][C]39[/C][C]40[/C][C]41[/C][C]42[/C][C]43[/C][C]44[/C][/ROW] [C]7[/C][C]0.01[/C][C]0.02[/C][C]0.03[/C][C]0.04[/C][C]0.07[/C][C]0.13[/C][C]0.1[/C][C]0.1[/C][C]0.09[/C][C]0.07[/C][C]0.11[/C][C]0.1[/C][C]0.07[/C][C]0.02[/C][C]0.02[/C][C]0.01[/C][C]0.01[/C][C]0.01[/C][/ROW] [C]8[/C][C]0.01[/C][C]0.02[/C][C]0.03[/C][C]0.04[/C][C]0.07[/C][C]0.13[/C][C]0.1[/C][C]0.1[/C][C]0.09[/C][C]0.07[/C][C]0.11[/C][C]0.1[/C][C]0.07[/C][C]0.02[/C][C]0.02[/C][C]0.01[/C][C]0.01[/C][C]0.01[/C][/ROW] [C]9[/C][C]0.07[/C][C]0.11[/C][C]0.19[/C][C]0.26[/C][C]0.41[/C][C]0.78[/C][C]0.59[/C][C]0.63[/C][C]0.52[/C][C]0.44[/C][C]0.67[/C][C]0.59[/C][C]0.41[/C][C]0.11[/C][C]0.11[/C][C]0.04[/C][C]0.04[/C][C]0.04[/C][/ROW] [C]10[/C][C]0.05[/C][C]0.07[/C][C]0.12[/C][C]0.17[/C][C]0.27[/C][C]0.52[/C][C]0.4[/C][C]0.42[/C][C]0.35[/C][C]0.3[/C][C]0.44[/C][C]0.4[/C][C]0.27[/C][C]0.07[/C][C]0.07[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][/ROW] [C]11[/C][C]0.15[/C][C]0.22[/C][C]0.37[/C][C]0.52[/C][C]0.81[/C][C]1.56[/C][C]1.19[/C][C]1.26[/C][C]1.04[/C][C]0.89[/C][C]1.33[/C][C]1.19[/C][C]0.81[/C][C]0.22[/C][C]0.22[/C][C]0.07[/C][C]0.07[/C][C]0.07[/C][/ROW] [C]12[/C][C]0.2[/C][C]0.3[/C][C]0.49[/C][C]0.69[/C][C]1.09[/C][C]2.07[/C][C]1.58[/C][C]1.68[/C][C]1.38[/C][C]1.19[/C][C]1.78[/C][C]1.58[/C][C]1.09[/C][C]0.3[/C][C]0.3[/C][C]0.1[/C][C]0.1[/C][C]0.1[/C][/ROW] [C]13[/C][C]0.23[/C][C]0.35[/C][C]0.59[/C][C]0.82[/C][C]1.29[/C][C]2.46[/C][C]1.88[/C][C]1.99[/C][C]1.64[/C][C]1.41[/C][C]2.11[/C][C]1.88[/C][C]1.29[/C][C]0.35[/C][C]0.35[/C][C]0.12[/C][C]0.12[/C][C]0.12[/C][/ROW] [C]14[/C][C]0.31[/C][C]0.46[/C][C]0.77[/C][C]1.08[/C][C]1.7[/C][C]3.24[/C][C]2.47[/C][C]2.62[/C][C]2.16[/C][C]1.85[/C][C]2.78[/C][C]2.47[/C][C]1.7[/C][C]0.46[/C][C]0.46[/C][C]0.15[/C][C]0.15[/C][C]0.15[/C][/ROW] [C]15[/C][C]0.43[/C][C]0.65[/C][C]1.08[/C][C]1.51[/C][C]2.38[/C][C]4.54[/C][C]3.46[/C][C]3.67[/C][C]3.02[/C][C]2.59[/C][C]3.89[/C][C]3.46[/C][C]2.38[/C][C]0.65[/C][C]0.65[/C][C]0.22[/C][C]0.22[/C][C]0.22[/C][/ROW] [C]16[/C][C]0.28[/C][C]0.43[/C][C]0.71[/C][C]0.99[/C][C]1.56[/C][C]2.98[/C][C]2.27[/C][C]2.41[/C][C]1.99[/C][C]1.7[/C][C]2.56[/C][C]2.27[/C][C]1.56[/C][C]0.43[/C][C]0.43[/C][C]0.14[/C][C]0.14[/C][C]0.14[/C][/ROW] [C]17[/C][C]0.15[/C][C]0.22[/C][C]0.37[/C][C]0.52[/C][C]0.81[/C][C]1.56[/C][C]1.19[/C][C]1.26[/C][C]1.04[/C][C]0.89[/C][C]1.33[/C][C]1.19[/C][C]0.81[/C][C]0.22[/C][C]0.22[/C][C]0.07[/C][C]0.07[/C][C]0.07[/C][/ROW] [C]18[/C][C]0.06[/C][C]0.09[/C][C]0.15[/C][C]0.22[/C][C]0.34[/C][C]0.65[/C][C]0.49[/C][C]0.52[/C][C]0.43[/C][C]0.37[/C][C]0.56[/C][C]0.49[/C][C]0.34[/C][C]0.09[/C][C]0.09[/C][C]0.03[/C][C]0.03[/C][C]0.03[/C][/ROW] [C]19[/C][C]0.04[/C][C]0.06[/C][C]0.09[/C][C]0.13[/C][C]0.2[/C][C]0.39[/C][C]0.3[/C][C]0.31[/C][C]0.26[/C][C]0.22[/C][C]0.33[/C][C]0.3[/C][C]0.2[/C][C]0.06[/C][C]0.06[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=144295&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=144295&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
Happiness x Connected
272829303132333435363738394041424344
70.010.020.030.040.070.130.10.10.090.070.110.10.070.020.020.010.010.01
80.010.020.030.040.070.130.10.10.090.070.110.10.070.020.020.010.010.01
90.070.110.190.260.410.780.590.630.520.440.670.590.410.110.110.040.040.04
100.050.070.120.170.270.520.40.420.350.30.440.40.270.070.070.020.020.02
110.150.220.370.520.811.561.191.261.040.891.331.190.810.220.220.070.070.07
120.20.30.490.691.092.071.581.681.381.191.781.581.090.30.30.10.10.1
130.230.350.590.821.292.461.881.991.641.412.111.881.290.350.350.120.120.12
140.310.460.771.081.73.242.472.622.161.852.782.471.70.460.460.150.150.15
150.430.651.081.512.384.543.463.673.022.593.893.462.380.650.650.220.220.22
160.280.430.710.991.562.982.272.411.991.72.562.271.560.430.430.140.140.14
170.150.220.370.520.811.561.191.261.040.891.331.190.810.220.220.070.070.07
180.060.090.150.220.340.650.490.520.430.370.560.490.340.090.090.030.030.03
190.040.060.090.130.20.390.30.310.260.220.330.30.20.060.060.020.020.02







Statistical Results
Pearson's Chi-squared test
Pearson Chi Square Statistic232.01
Degrees of Freedom204
P value0.09

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=144295&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 Statistic232.01
Degrees of Freedom204
P value0.09



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')