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, 16 Nov 2011 03:30:43 -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/16/t132143235557a6dtv21xycf20.htm/, Retrieved Thu, 28 Mar 2024 23:50:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=143747, Retrieved Thu, 28 Mar 2024 23:50:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact123
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] [Chisquared] [2011-11-16 08:30:43] [ea5ba587a62f29790549e6d9c8da7af9] [Current]
Feedback Forum

Post a new message
Dataseries X:
13	12	14	12	53
16	11	18	11	86
19	15	11	14	66
15	6	12	12	67
14	13	16	21	76
13	10	18	12	78
19	12	14	22	53
15	14	14	11	80
14	12	15	10	74
15	6	15	13	76
16	10	17	10	79
16	12	19	8	54
16	12	10	15	67
16	11	16	14	54
17	15	18	10	87
15	12	14	14	58
15	10	14	14	75
20	12	17	11	88
18	11	14	10	64
16	12	16	13	57
16	11	18	7	66
16	12	11	14	68
19	13	14	12	54
16	11	12	14	56
17	9	17	11	86
17	13	9	9	80
16	10	16	11	76
15	14	14	15	69
16	12	15	14	78
14	10	11	13	67
15	12	16	9	80
12	8	13	15	54
14	10	17	10	71
16	12	15	11	84
14	12	14	13	74
7	7	16	8	71
10	6	9	20	63
14	12	15	12	71
16	10	17	10	76
16	10	13	10	69
16	10	15	9	74
14	12	16	14	75
20	15	16	8	54
14	10	12	14	52
14	10	12	11	69
11	12	11	13	68
14	13	15	9	65
15	11	15	11	75
16	11	17	15	74
14	12	13	11	75
16	14	16	10	72
14	10	14	14	67
12	12	11	18	63
16	13	12	14	62
9	5	12	11	63
14	6	15	12	76
16	12	16	13	74
16	12	15	9	67
15	11	12	10	73
16	10	12	15	70
12	7	8	20	53
16	12	13	12	77
16	14	11	12	77
14	11	14	14	52
16	12	15	13	54
17	13	10	11	80
18	14	11	17	66
18	11	12	12	73
12	12	15	13	63
16	12	15	14	69
10	8	14	13	67
14	11	16	15	54
18	14	15	13	81
18	14	15	10	69
16	12	13	11	84
17	9	12	19	80
16	13	17	13	70
16	11	13	17	69
13	12	15	13	77
16	12	13	9	54
16	12	15	11	79
20	12	16	10	30
16	12	15	9	71
15	12	16	12	73
15	11	15	12	72
16	10	14	13	77
14	9	15	13	75
16	12	14	12	69
16	12	13	15	54
15	12	7	22	70
12	9	17	13	73
17	15	13	15	54
16	12	15	13	77
15	12	14	15	82
13	12	13	10	80
16	10	16	11	80
16	13	12	16	69
16	9	14	11	78
16	12	17	11	81
14	10	15	10	76
16	14	17	10	76
16	11	12	16	73
20	15	16	12	85
15	11	11	11	66
16	11	15	16	79
13	12	9	19	68
17	12	16	11	76
16	12	15	16	71
16	11	10	15	54
12	7	10	24	46
16	12	15	14	82
16	14	11	15	74
17	11	13	11	88
13	11	14	15	38
12	10	18	12	76
18	13	16	10	86
14	13	14	14	54
14	8	14	13	70
13	11	14	9	69
16	12	14	15	90
13	11	12	15	54
16	13	14	14	76
13	12	15	11	89
16	14	15	8	76
15	13	15	11	73
16	15	13	11	79
15	10	17	8	90
17	11	17	10	74
15	9	19	11	81
12	11	15	13	72
16	10	13	11	71
10	11	9	20	66
16	8	15	10	77
12	11	15	15	65
14	12	15	12	74
15	12	16	14	82
13	9	11	23	54
15	11	14	14	63
11	10	11	16	54
12	8	15	11	64
8	9	13	12	69
16	8	15	10	54
15	9	16	14	84
17	15	14	12	86
16	11	15	12	77
10	8	16	11	89
18	13	16	12	76
13	12	11	13	60
16	12	12	11	75
13	9	9	19	73
10	7	16	12	85
15	13	13	17	79
16	9	16	9	71
16	6	12	12	72
14	8	9	19	69
10	8	13	18	78
17	15	13	15	54
13	6	14	14	69
15	9	19	11	81
16	11	13	9	84
12	8	12	18	84
13	8	13	16	69




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gertrude Mary Cox' @ cox.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 & 4 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=143747&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]4 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=143747&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=143747&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 time4 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Tabulation of Results
Happiness x Depression
789101112131415161718192021222324
7000000000000000100
8000000000000010000
9001000000000320000
10000010002000000001
11000011321111000010
12000133032201100000
13002252004121000000
14001124484000000100
15014565831200000000
16022344241000001000
17010530201000000000
18100112000000000000
19010020000000000000

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

[TABLE]
[ROW]
Tabulation of Results[/C][/ROW] [ROW]Happiness x Depression[/C][/ROW] [ROW][C] [/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][C]21[/C][C]22[/C][C]23[/C][C]24[/C][/ROW] [C]7[/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][C]0[/C][C]1[/C][C]0[/C][C]0[/C][/ROW] [C]8[/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]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][/ROW] [C]9[/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]3[/C][C]2[/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]0[/C][C]1[/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]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][/ROW] [C]11[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]3[/C][C]2[/C][C]1[/C][C]1[/C][C]1[/C][C]1[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]0[/C][/ROW] [C]12[/C][C]0[/C][C]0[/C][C]0[/C][C]1[/C][C]3[/C][C]3[/C][C]0[/C][C]3[/C][C]2[/C][C]2[/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][/ROW] [C]13[/C][C]0[/C][C]0[/C][C]2[/C][C]2[/C][C]5[/C][C]2[/C][C]0[/C][C]0[/C][C]4[/C][C]1[/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][/ROW] [C]14[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]2[/C][C]4[/C][C]4[/C][C]8[/C][C]4[/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][/ROW] [C]15[/C][C]0[/C][C]1[/C][C]4[/C][C]5[/C][C]6[/C][C]5[/C][C]8[/C][C]3[/C][C]1[/C][C]2[/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]16[/C][C]0[/C][C]2[/C][C]2[/C][C]3[/C][C]4[/C][C]4[/C][C]2[/C][C]4[/C][C]1[/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][/ROW] [C]17[/C][C]0[/C][C]1[/C][C]0[/C][C]5[/C][C]3[/C][C]0[/C][C]2[/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]18[/C][C]1[/C][C]0[/C][C]0[/C][C]1[/C][C]1[/C][C]2[/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]19[/C][C]0[/C][C]1[/C][C]0[/C][C]0[/C][C]2[/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] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=143747&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=143747&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 Depression
789101112131415161718192021222324
7000000000000000100
8000000000000010000
9001000000000320000
10000010002000000001
11000011321111000010
12000133032201100000
13002252004121000000
14001124484000000100
15014565831200000000
16022344241000001000
17010530201000000000
18100112000000000000
19010020000000000000







Tabulation of Expected Results
Happiness x Depression
789101112131415161718192021222324
70.010.030.060.110.170.130.120.120.10.040.020.020.020.020.010.010.010.01
80.010.030.060.110.170.130.120.120.10.040.020.020.020.020.010.010.010.01
90.040.190.370.671.040.780.70.740.590.220.110.110.150.110.040.070.040.04
100.020.120.250.440.690.520.470.490.40.150.070.070.10.070.020.050.020.02
110.070.370.741.332.071.561.411.481.190.440.220.220.30.220.070.150.070.07
120.10.490.991.782.772.071.881.981.580.590.30.30.40.30.10.20.10.1
130.120.591.172.113.282.462.232.351.880.70.350.350.470.350.120.230.120.12
140.150.771.542.784.323.242.933.092.470.930.460.460.620.460.150.310.150.15
150.221.082.163.896.054.544.14.323.461.30.650.650.860.650.220.430.220.22
160.140.711.422.563.982.982.72.842.270.850.430.430.570.430.140.280.140.14
170.070.370.741.332.071.561.411.481.190.440.220.220.30.220.070.150.070.07
180.030.150.310.560.860.650.590.620.490.190.090.090.120.090.030.060.030.03
190.020.090.190.330.520.390.350.370.30.110.060.060.070.060.020.040.020.02

\begin{tabular}{lllllllll}
\hline
Tabulation of Expected Results \tabularnewline Happiness x Depression \tabularnewline & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20 & 21 & 22 & 23 & 24 \tabularnewline 7 & 0.01 & 0.03 & 0.06 & 0.11 & 0.17 & 0.13 & 0.12 & 0.12 & 0.1 & 0.04 & 0.02 & 0.02 & 0.02 & 0.02 & 0.01 & 0.01 & 0.01 & 0.01 \tabularnewline 8 & 0.01 & 0.03 & 0.06 & 0.11 & 0.17 & 0.13 & 0.12 & 0.12 & 0.1 & 0.04 & 0.02 & 0.02 & 0.02 & 0.02 & 0.01 & 0.01 & 0.01 & 0.01 \tabularnewline 9 & 0.04 & 0.19 & 0.37 & 0.67 & 1.04 & 0.78 & 0.7 & 0.74 & 0.59 & 0.22 & 0.11 & 0.11 & 0.15 & 0.11 & 0.04 & 0.07 & 0.04 & 0.04 \tabularnewline 10 & 0.02 & 0.12 & 0.25 & 0.44 & 0.69 & 0.52 & 0.47 & 0.49 & 0.4 & 0.15 & 0.07 & 0.07 & 0.1 & 0.07 & 0.02 & 0.05 & 0.02 & 0.02 \tabularnewline 11 & 0.07 & 0.37 & 0.74 & 1.33 & 2.07 & 1.56 & 1.41 & 1.48 & 1.19 & 0.44 & 0.22 & 0.22 & 0.3 & 0.22 & 0.07 & 0.15 & 0.07 & 0.07 \tabularnewline 12 & 0.1 & 0.49 & 0.99 & 1.78 & 2.77 & 2.07 & 1.88 & 1.98 & 1.58 & 0.59 & 0.3 & 0.3 & 0.4 & 0.3 & 0.1 & 0.2 & 0.1 & 0.1 \tabularnewline 13 & 0.12 & 0.59 & 1.17 & 2.11 & 3.28 & 2.46 & 2.23 & 2.35 & 1.88 & 0.7 & 0.35 & 0.35 & 0.47 & 0.35 & 0.12 & 0.23 & 0.12 & 0.12 \tabularnewline 14 & 0.15 & 0.77 & 1.54 & 2.78 & 4.32 & 3.24 & 2.93 & 3.09 & 2.47 & 0.93 & 0.46 & 0.46 & 0.62 & 0.46 & 0.15 & 0.31 & 0.15 & 0.15 \tabularnewline 15 & 0.22 & 1.08 & 2.16 & 3.89 & 6.05 & 4.54 & 4.1 & 4.32 & 3.46 & 1.3 & 0.65 & 0.65 & 0.86 & 0.65 & 0.22 & 0.43 & 0.22 & 0.22 \tabularnewline 16 & 0.14 & 0.71 & 1.42 & 2.56 & 3.98 & 2.98 & 2.7 & 2.84 & 2.27 & 0.85 & 0.43 & 0.43 & 0.57 & 0.43 & 0.14 & 0.28 & 0.14 & 0.14 \tabularnewline 17 & 0.07 & 0.37 & 0.74 & 1.33 & 2.07 & 1.56 & 1.41 & 1.48 & 1.19 & 0.44 & 0.22 & 0.22 & 0.3 & 0.22 & 0.07 & 0.15 & 0.07 & 0.07 \tabularnewline 18 & 0.03 & 0.15 & 0.31 & 0.56 & 0.86 & 0.65 & 0.59 & 0.62 & 0.49 & 0.19 & 0.09 & 0.09 & 0.12 & 0.09 & 0.03 & 0.06 & 0.03 & 0.03 \tabularnewline 19 & 0.02 & 0.09 & 0.19 & 0.33 & 0.52 & 0.39 & 0.35 & 0.37 & 0.3 & 0.11 & 0.06 & 0.06 & 0.07 & 0.06 & 0.02 & 0.04 & 0.02 & 0.02 \tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=143747&T=2

[TABLE]
[ROW]
Tabulation of Expected Results[/C][/ROW] [ROW]Happiness x Depression[/C][/ROW] [ROW][C] [/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][C]21[/C][C]22[/C][C]23[/C][C]24[/C][/ROW] [C]7[/C][C]0.01[/C][C]0.03[/C][C]0.06[/C][C]0.11[/C][C]0.17[/C][C]0.13[/C][C]0.12[/C][C]0.12[/C][C]0.1[/C][C]0.04[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][C]0.01[/C][C]0.01[/C][C]0.01[/C][C]0.01[/C][/ROW] [C]8[/C][C]0.01[/C][C]0.03[/C][C]0.06[/C][C]0.11[/C][C]0.17[/C][C]0.13[/C][C]0.12[/C][C]0.12[/C][C]0.1[/C][C]0.04[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][C]0.02[/C][C]0.01[/C][C]0.01[/C][C]0.01[/C][C]0.01[/C][/ROW] [C]9[/C][C]0.04[/C][C]0.19[/C][C]0.37[/C][C]0.67[/C][C]1.04[/C][C]0.78[/C][C]0.7[/C][C]0.74[/C][C]0.59[/C][C]0.22[/C][C]0.11[/C][C]0.11[/C][C]0.15[/C][C]0.11[/C][C]0.04[/C][C]0.07[/C][C]0.04[/C][C]0.04[/C][/ROW] [C]10[/C][C]0.02[/C][C]0.12[/C][C]0.25[/C][C]0.44[/C][C]0.69[/C][C]0.52[/C][C]0.47[/C][C]0.49[/C][C]0.4[/C][C]0.15[/C][C]0.07[/C][C]0.07[/C][C]0.1[/C][C]0.07[/C][C]0.02[/C][C]0.05[/C][C]0.02[/C][C]0.02[/C][/ROW] [C]11[/C][C]0.07[/C][C]0.37[/C][C]0.74[/C][C]1.33[/C][C]2.07[/C][C]1.56[/C][C]1.41[/C][C]1.48[/C][C]1.19[/C][C]0.44[/C][C]0.22[/C][C]0.22[/C][C]0.3[/C][C]0.22[/C][C]0.07[/C][C]0.15[/C][C]0.07[/C][C]0.07[/C][/ROW] [C]12[/C][C]0.1[/C][C]0.49[/C][C]0.99[/C][C]1.78[/C][C]2.77[/C][C]2.07[/C][C]1.88[/C][C]1.98[/C][C]1.58[/C][C]0.59[/C][C]0.3[/C][C]0.3[/C][C]0.4[/C][C]0.3[/C][C]0.1[/C][C]0.2[/C][C]0.1[/C][C]0.1[/C][/ROW] [C]13[/C][C]0.12[/C][C]0.59[/C][C]1.17[/C][C]2.11[/C][C]3.28[/C][C]2.46[/C][C]2.23[/C][C]2.35[/C][C]1.88[/C][C]0.7[/C][C]0.35[/C][C]0.35[/C][C]0.47[/C][C]0.35[/C][C]0.12[/C][C]0.23[/C][C]0.12[/C][C]0.12[/C][/ROW] [C]14[/C][C]0.15[/C][C]0.77[/C][C]1.54[/C][C]2.78[/C][C]4.32[/C][C]3.24[/C][C]2.93[/C][C]3.09[/C][C]2.47[/C][C]0.93[/C][C]0.46[/C][C]0.46[/C][C]0.62[/C][C]0.46[/C][C]0.15[/C][C]0.31[/C][C]0.15[/C][C]0.15[/C][/ROW] [C]15[/C][C]0.22[/C][C]1.08[/C][C]2.16[/C][C]3.89[/C][C]6.05[/C][C]4.54[/C][C]4.1[/C][C]4.32[/C][C]3.46[/C][C]1.3[/C][C]0.65[/C][C]0.65[/C][C]0.86[/C][C]0.65[/C][C]0.22[/C][C]0.43[/C][C]0.22[/C][C]0.22[/C][/ROW] [C]16[/C][C]0.14[/C][C]0.71[/C][C]1.42[/C][C]2.56[/C][C]3.98[/C][C]2.98[/C][C]2.7[/C][C]2.84[/C][C]2.27[/C][C]0.85[/C][C]0.43[/C][C]0.43[/C][C]0.57[/C][C]0.43[/C][C]0.14[/C][C]0.28[/C][C]0.14[/C][C]0.14[/C][/ROW] [C]17[/C][C]0.07[/C][C]0.37[/C][C]0.74[/C][C]1.33[/C][C]2.07[/C][C]1.56[/C][C]1.41[/C][C]1.48[/C][C]1.19[/C][C]0.44[/C][C]0.22[/C][C]0.22[/C][C]0.3[/C][C]0.22[/C][C]0.07[/C][C]0.15[/C][C]0.07[/C][C]0.07[/C][/ROW] [C]18[/C][C]0.03[/C][C]0.15[/C][C]0.31[/C][C]0.56[/C][C]0.86[/C][C]0.65[/C][C]0.59[/C][C]0.62[/C][C]0.49[/C][C]0.19[/C][C]0.09[/C][C]0.09[/C][C]0.12[/C][C]0.09[/C][C]0.03[/C][C]0.06[/C][C]0.03[/C][C]0.03[/C][/ROW] [C]19[/C][C]0.02[/C][C]0.09[/C][C]0.19[/C][C]0.33[/C][C]0.52[/C][C]0.39[/C][C]0.35[/C][C]0.37[/C][C]0.3[/C][C]0.11[/C][C]0.06[/C][C]0.06[/C][C]0.07[/C][C]0.06[/C][C]0.02[/C][C]0.04[/C][C]0.02[/C][C]0.02[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=143747&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=143747&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 Depression
789101112131415161718192021222324
70.010.030.060.110.170.130.120.120.10.040.020.020.020.020.010.010.010.01
80.010.030.060.110.170.130.120.120.10.040.020.020.020.020.010.010.010.01
90.040.190.370.671.040.780.70.740.590.220.110.110.150.110.040.070.040.04
100.020.120.250.440.690.520.470.490.40.150.070.070.10.070.020.050.020.02
110.070.370.741.332.071.561.411.481.190.440.220.220.30.220.070.150.070.07
120.10.490.991.782.772.071.881.981.580.590.30.30.40.30.10.20.10.1
130.120.591.172.113.282.462.232.351.880.70.350.350.470.350.120.230.120.12
140.150.771.542.784.323.242.933.092.470.930.460.460.620.460.150.310.150.15
150.221.082.163.896.054.544.14.323.461.30.650.650.860.650.220.430.220.22
160.140.711.422.563.982.982.72.842.270.850.430.430.570.430.140.280.140.14
170.070.370.741.332.071.561.411.481.190.440.220.220.30.220.070.150.070.07
180.030.150.310.560.860.650.590.620.490.190.090.090.120.090.030.060.030.03
190.020.090.190.330.520.390.350.370.30.110.060.060.070.060.020.040.020.02







Statistical Results
Pearson's Chi-squared test
Pearson Chi Square Statistic442.47
Degrees of Freedom204
P value0

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

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



Parameters (Session):
par1 = 3 ; par2 = 4 ; par3 = Pearson Chi-Squared ;
Parameters (R input):
par1 = 3 ; par2 = 4 ; 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')