Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_One Factor ANOVA.wasp
Title produced by softwareOne-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)
Date of computationMon, 17 Nov 2014 12:21:54 +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/Nov/17/t14162269364pixosnm3nu4zx4.htm/, Retrieved Sun, 19 May 2024 13:34:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=255431, Retrieved Sun, 19 May 2024 13:34:41 +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 Square Measure of Association- Free Statistics Software (Calculator)] [One Way ANOVA wit...] [2009-11-29 13:09:19] [98fd0e87c3eb04e0cc2efde01dbafab6]
-   PD  [Chi Square Measure of Association- Free Statistics Software (Calculator)] [One Way ANOVA for...] [2009-12-01 13:05:10] [3fdd735c61ad38cbc9b3393dc997cdb7]
- R P     [Chi Square Measure of Association- Free Statistics Software (Calculator)] [CARE date with Tu...] [2009-12-01 18:33:48] [98fd0e87c3eb04e0cc2efde01dbafab6]
-   P       [One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)] [CARE Data with Tu...] [2010-11-23 12:09:38] [3fdd735c61ad38cbc9b3393dc997cdb7]
- RM          [One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)] [IQ and Mothers Age] [2011-11-21 16:34:08] [98fd0e87c3eb04e0cc2efde01dbafab6]
- RM D            [One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)] [123] [2014-11-17 12:21:54] [745935f09b4351b0fc8afd720c61665e] [Current]
Feedback Forum

Post a new message
Dataseries X:
67	3	36	0
86	6	36	88
86	8	56	94
103	8	48	90
74	7	32	73
63	5	44	68
82	7	39	80
93	8	34	86
77	9	41	86
111	9	50	91
71	3	39	79
103	9	62	96
89	7	52	92
75	9	37	72
88	8	50	96
84	6	41	70
85	7	55	86
70	8	41	87
104	9	56	88
88	7	39	79
77	6	52	90
77	8	46	95
72	7	44	85
70	7	48	0
83	8	41	90
110	9	50	115
91	9	50	84
80	7	44	79
91	4	52	94
86	7	54	97
85	7	44	86
107	9	52	111
93	7	37	87
87	9	52	98
84	10	50	87
73	5	36	68
84	6	50	88
86	9	52	82
99	9	55	111
75	8	31	75
87	6	36	94
79	6	49	95
82	5	42	80
95	8	37	95
84	8	41	68
85	5	30	94
95	6	52	88
63	9	30	84
78	8	41	0
85	4	44	101
86	8	66	98
75	9	48	78
98	7	43	109
71	7	57	102
63	6	46	81
71	9	54	97
84	9	48	75
81	8	48	97
93	4	52	0
79	6	62	101
63	10	58	101
93	8	58	95
92	7	62	95
93	7	48	0
83	8	46	95
80	3	34	90
111	8	66	107
92	10	52	92
79	7	55	86
69	5	55	70
83	10	57	95
80	5	56	96
91	8	55	91
97	9	56	87
85	6	54	92
85	9	55	97
99	8	46	102
67	5	52	91
87	8	32	68
68	3	44	88
81	7	46	97
80	8	59	90
93	10	46	101
93	9	46	94
102	10	54	101
104	9	66	109
90	8	56	100
85	8	59	103
92	8	57	94
82	9	52	97
85	4	48	85
89	6	44	75
77	7	41	77
79	4	50	87
76	9	48	78
101	7	48	108
81	8	59	97
92	0	34	105
89	8	46	106
81	7	54	107
77	7	55	95
95	9	54	107
85	8	59	115
81	8	44	101
76	9	54	85
93	9	52	90
104	10	66	115
89	7	44	95
76	8	57	97
77	5	39	112
71	9	60	97
79	8	45	77
89	7	41	90
81	8	50	94
99	8	39	103
81	7	43	77
84	6	48	98
85	7	37	90
111	7	58	111
78	6	46	77
111	6	43	88
78	7	44	75
87	9	34	92
92	6	30	78
93	10	50	106
70	4	39	80
84	8	37	87
75	7	55	92
105	10	48	0
96	0	41	111
85	5	39	86
87	9	36	85
75	8	43	90
103	9	50	101
86	8	55	94
77	8	43	86
74	9	60	86
74	8	48	90
76	9	30	75
83	7	43	86
101	6	39	91
83	8	52	97
92	6	39	91
74	5	39	70
87	3	56	98
71	6	59	96
79	8	46	95
83	7	57	100
80	8	50	95
90	6	54	97
80	9	50	97
96	9	60	92
109	10	59	115
98	7	41	88
85	5	48	87
83	8	59	100
86	9	60	98
72	8	56	102
83	8	56	0
75	4	51	96




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=255431&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=255431&T=0

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







ANOVA Model
MVRBIQ0 ~ MWARM30
means94-1.2-19.4-11.429-17.636-8.368-9.29-9.31-6

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
MVRBIQ0  ~  MWARM30 \tabularnewline
means & 94 & -1.2 & -19.4 & -11.429 & -17.636 & -8.368 & -9.29 & -9.31 & -6 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=255431&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]MVRBIQ0  ~  MWARM30[/C][/ROW]
[ROW][C]means[/C][C]94[/C][C]-1.2[/C][C]-19.4[/C][C]-11.429[/C][C]-17.636[/C][C]-8.368[/C][C]-9.29[/C][C]-9.31[/C][C]-6[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=255431&T=1

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

As an alternative you can also use a QR Code:  

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

ANOVA Model
MVRBIQ0 ~ MWARM30
means94-1.2-19.4-11.429-17.636-8.368-9.29-9.31-6







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
MWARM3082481.4310.1752.9750.004
Residuals15115742.844104.257

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
MWARM30 & 8 & 2481.4 & 310.175 & 2.975 & 0.004 \tabularnewline
Residuals & 151 & 15742.844 & 104.257 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=255431&T=2

[TABLE]
[ROW][C]ANOVA Statistics[/C][/ROW]
[ROW][C] [/C][C]Df[/C][C]Sum Sq[/C][C]Mean Sq[/C][C]F value[/C][C]Pr(>F)[/C][/ROW]
[ROW][C]MWARM30[/C][C]8[/C][C]2481.4[/C][C]310.175[/C][C]2.975[/C][C]0.004[/C][/ROW]
[ROW][C]Residuals[/C][C]151[/C][C]15742.844[/C][C]104.257[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=255431&T=2

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

As an alternative you can also use a QR Code:  

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

ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
MWARM3082481.4310.1752.9750.004
Residuals15115742.844104.257







Tukey Honest Significant Difference Comparisons
difflwruprp adj
10-0-1.2-26.09323.6931
3-0-19.4-46.2877.4870.366
4-0-11.429-37.19514.3380.898
5-0-17.636-42.347.0670.381
6-0-8.368-32.25815.5210.973
7-0-9.29-32.73614.1550.944
8-0-9.31-32.56813.9490.941
9-0-6-29.40217.4020.997
3-10-18.2-35.802-0.5980.037
4-10-10.229-26.0655.6080.523
5-10-16.436-30.478-2.3950.009
6-10-7.168-19.7235.3870.684
7-10-8.09-19.7773.5970.425
8-10-8.11-19.4173.1980.375
9-10-4.8-16.46.80.929
4-37.971-10.84626.7880.92
5-31.764-15.56919.0971
6-311.032-5.12127.1840.444
7-310.11-5.37825.5970.508
8-310.09-5.11325.2940.485
9-313.4-2.02228.8220.145
5-4-6.208-21.7459.330.942
6-43.06-11.14917.2690.999
7-42.138-11.3115.5861
8-42.119-1115.2391
9-45.429-7.94418.8010.936
6-59.268-2.90721.4430.294
7-58.346-2.93219.6240.332
8-58.327-2.55819.2110.287
9-511.6360.44822.8250.035
7-6-0.922-10.2858.4411
8-6-0.941-9.8267.9441
9-62.368-6.88611.6230.997
8-7-0.019-7.6297.591
9-73.29-4.74811.3280.933
9-83.31-4.16610.7850.899

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
10-0 & -1.2 & -26.093 & 23.693 & 1 \tabularnewline
3-0 & -19.4 & -46.287 & 7.487 & 0.366 \tabularnewline
4-0 & -11.429 & -37.195 & 14.338 & 0.898 \tabularnewline
5-0 & -17.636 & -42.34 & 7.067 & 0.381 \tabularnewline
6-0 & -8.368 & -32.258 & 15.521 & 0.973 \tabularnewline
7-0 & -9.29 & -32.736 & 14.155 & 0.944 \tabularnewline
8-0 & -9.31 & -32.568 & 13.949 & 0.941 \tabularnewline
9-0 & -6 & -29.402 & 17.402 & 0.997 \tabularnewline
3-10 & -18.2 & -35.802 & -0.598 & 0.037 \tabularnewline
4-10 & -10.229 & -26.065 & 5.608 & 0.523 \tabularnewline
5-10 & -16.436 & -30.478 & -2.395 & 0.009 \tabularnewline
6-10 & -7.168 & -19.723 & 5.387 & 0.684 \tabularnewline
7-10 & -8.09 & -19.777 & 3.597 & 0.425 \tabularnewline
8-10 & -8.11 & -19.417 & 3.198 & 0.375 \tabularnewline
9-10 & -4.8 & -16.4 & 6.8 & 0.929 \tabularnewline
4-3 & 7.971 & -10.846 & 26.788 & 0.92 \tabularnewline
5-3 & 1.764 & -15.569 & 19.097 & 1 \tabularnewline
6-3 & 11.032 & -5.121 & 27.184 & 0.444 \tabularnewline
7-3 & 10.11 & -5.378 & 25.597 & 0.508 \tabularnewline
8-3 & 10.09 & -5.113 & 25.294 & 0.485 \tabularnewline
9-3 & 13.4 & -2.022 & 28.822 & 0.145 \tabularnewline
5-4 & -6.208 & -21.745 & 9.33 & 0.942 \tabularnewline
6-4 & 3.06 & -11.149 & 17.269 & 0.999 \tabularnewline
7-4 & 2.138 & -11.31 & 15.586 & 1 \tabularnewline
8-4 & 2.119 & -11 & 15.239 & 1 \tabularnewline
9-4 & 5.429 & -7.944 & 18.801 & 0.936 \tabularnewline
6-5 & 9.268 & -2.907 & 21.443 & 0.294 \tabularnewline
7-5 & 8.346 & -2.932 & 19.624 & 0.332 \tabularnewline
8-5 & 8.327 & -2.558 & 19.211 & 0.287 \tabularnewline
9-5 & 11.636 & 0.448 & 22.825 & 0.035 \tabularnewline
7-6 & -0.922 & -10.285 & 8.441 & 1 \tabularnewline
8-6 & -0.941 & -9.826 & 7.944 & 1 \tabularnewline
9-6 & 2.368 & -6.886 & 11.623 & 0.997 \tabularnewline
8-7 & -0.019 & -7.629 & 7.59 & 1 \tabularnewline
9-7 & 3.29 & -4.748 & 11.328 & 0.933 \tabularnewline
9-8 & 3.31 & -4.166 & 10.785 & 0.899 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=255431&T=3

[TABLE]
[ROW][C]Tukey Honest Significant Difference Comparisons[/C][/ROW]
[ROW][C] [/C][C]diff[/C][C]lwr[/C][C]upr[/C][C]p adj[/C][/ROW]
[ROW][C]10-0[/C][C]-1.2[/C][C]-26.093[/C][C]23.693[/C][C]1[/C][/ROW]
[ROW][C]3-0[/C][C]-19.4[/C][C]-46.287[/C][C]7.487[/C][C]0.366[/C][/ROW]
[ROW][C]4-0[/C][C]-11.429[/C][C]-37.195[/C][C]14.338[/C][C]0.898[/C][/ROW]
[ROW][C]5-0[/C][C]-17.636[/C][C]-42.34[/C][C]7.067[/C][C]0.381[/C][/ROW]
[ROW][C]6-0[/C][C]-8.368[/C][C]-32.258[/C][C]15.521[/C][C]0.973[/C][/ROW]
[ROW][C]7-0[/C][C]-9.29[/C][C]-32.736[/C][C]14.155[/C][C]0.944[/C][/ROW]
[ROW][C]8-0[/C][C]-9.31[/C][C]-32.568[/C][C]13.949[/C][C]0.941[/C][/ROW]
[ROW][C]9-0[/C][C]-6[/C][C]-29.402[/C][C]17.402[/C][C]0.997[/C][/ROW]
[ROW][C]3-10[/C][C]-18.2[/C][C]-35.802[/C][C]-0.598[/C][C]0.037[/C][/ROW]
[ROW][C]4-10[/C][C]-10.229[/C][C]-26.065[/C][C]5.608[/C][C]0.523[/C][/ROW]
[ROW][C]5-10[/C][C]-16.436[/C][C]-30.478[/C][C]-2.395[/C][C]0.009[/C][/ROW]
[ROW][C]6-10[/C][C]-7.168[/C][C]-19.723[/C][C]5.387[/C][C]0.684[/C][/ROW]
[ROW][C]7-10[/C][C]-8.09[/C][C]-19.777[/C][C]3.597[/C][C]0.425[/C][/ROW]
[ROW][C]8-10[/C][C]-8.11[/C][C]-19.417[/C][C]3.198[/C][C]0.375[/C][/ROW]
[ROW][C]9-10[/C][C]-4.8[/C][C]-16.4[/C][C]6.8[/C][C]0.929[/C][/ROW]
[ROW][C]4-3[/C][C]7.971[/C][C]-10.846[/C][C]26.788[/C][C]0.92[/C][/ROW]
[ROW][C]5-3[/C][C]1.764[/C][C]-15.569[/C][C]19.097[/C][C]1[/C][/ROW]
[ROW][C]6-3[/C][C]11.032[/C][C]-5.121[/C][C]27.184[/C][C]0.444[/C][/ROW]
[ROW][C]7-3[/C][C]10.11[/C][C]-5.378[/C][C]25.597[/C][C]0.508[/C][/ROW]
[ROW][C]8-3[/C][C]10.09[/C][C]-5.113[/C][C]25.294[/C][C]0.485[/C][/ROW]
[ROW][C]9-3[/C][C]13.4[/C][C]-2.022[/C][C]28.822[/C][C]0.145[/C][/ROW]
[ROW][C]5-4[/C][C]-6.208[/C][C]-21.745[/C][C]9.33[/C][C]0.942[/C][/ROW]
[ROW][C]6-4[/C][C]3.06[/C][C]-11.149[/C][C]17.269[/C][C]0.999[/C][/ROW]
[ROW][C]7-4[/C][C]2.138[/C][C]-11.31[/C][C]15.586[/C][C]1[/C][/ROW]
[ROW][C]8-4[/C][C]2.119[/C][C]-11[/C][C]15.239[/C][C]1[/C][/ROW]
[ROW][C]9-4[/C][C]5.429[/C][C]-7.944[/C][C]18.801[/C][C]0.936[/C][/ROW]
[ROW][C]6-5[/C][C]9.268[/C][C]-2.907[/C][C]21.443[/C][C]0.294[/C][/ROW]
[ROW][C]7-5[/C][C]8.346[/C][C]-2.932[/C][C]19.624[/C][C]0.332[/C][/ROW]
[ROW][C]8-5[/C][C]8.327[/C][C]-2.558[/C][C]19.211[/C][C]0.287[/C][/ROW]
[ROW][C]9-5[/C][C]11.636[/C][C]0.448[/C][C]22.825[/C][C]0.035[/C][/ROW]
[ROW][C]7-6[/C][C]-0.922[/C][C]-10.285[/C][C]8.441[/C][C]1[/C][/ROW]
[ROW][C]8-6[/C][C]-0.941[/C][C]-9.826[/C][C]7.944[/C][C]1[/C][/ROW]
[ROW][C]9-6[/C][C]2.368[/C][C]-6.886[/C][C]11.623[/C][C]0.997[/C][/ROW]
[ROW][C]8-7[/C][C]-0.019[/C][C]-7.629[/C][C]7.59[/C][C]1[/C][/ROW]
[ROW][C]9-7[/C][C]3.29[/C][C]-4.748[/C][C]11.328[/C][C]0.933[/C][/ROW]
[ROW][C]9-8[/C][C]3.31[/C][C]-4.166[/C][C]10.785[/C][C]0.899[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=255431&T=3

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

As an alternative you can also use a QR Code:  

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

Tukey Honest Significant Difference Comparisons
difflwruprp adj
10-0-1.2-26.09323.6931
3-0-19.4-46.2877.4870.366
4-0-11.429-37.19514.3380.898
5-0-17.636-42.347.0670.381
6-0-8.368-32.25815.5210.973
7-0-9.29-32.73614.1550.944
8-0-9.31-32.56813.9490.941
9-0-6-29.40217.4020.997
3-10-18.2-35.802-0.5980.037
4-10-10.229-26.0655.6080.523
5-10-16.436-30.478-2.3950.009
6-10-7.168-19.7235.3870.684
7-10-8.09-19.7773.5970.425
8-10-8.11-19.4173.1980.375
9-10-4.8-16.46.80.929
4-37.971-10.84626.7880.92
5-31.764-15.56919.0971
6-311.032-5.12127.1840.444
7-310.11-5.37825.5970.508
8-310.09-5.11325.2940.485
9-313.4-2.02228.8220.145
5-4-6.208-21.7459.330.942
6-43.06-11.14917.2690.999
7-42.138-11.3115.5861
8-42.119-1115.2391
9-45.429-7.94418.8010.936
6-59.268-2.90721.4430.294
7-58.346-2.93219.6240.332
8-58.327-2.55819.2110.287
9-511.6360.44822.8250.035
7-6-0.922-10.2858.4411
8-6-0.941-9.8267.9441
9-62.368-6.88611.6230.997
8-7-0.019-7.6297.591
9-73.29-4.74811.3280.933
9-83.31-4.16610.7850.899







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group81.4530.179
151

\begin{tabular}{lllllllll}
\hline
Levenes Test for Homogeneity of Variance \tabularnewline
  & Df & F value & Pr(>F) \tabularnewline
Group & 8 & 1.453 & 0.179 \tabularnewline
  & 151 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=255431&T=4

[TABLE]
[ROW][C]Levenes Test for Homogeneity of Variance[/C][/ROW]
[ROW][C] [/C][C]Df[/C][C]F value[/C][C]Pr(>F)[/C][/ROW]
[ROW][C]Group[/C][C]8[/C][C]1.453[/C][C]0.179[/C][/ROW]
[ROW][C] [/C][C]151[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=255431&T=4

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

As an alternative you can also use a QR Code:  

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

Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group81.4530.179
151



Parameters (Session):
par1 = 1 ; par2 = 2 ; par3 = TRUE ;
Parameters (R input):
par1 = 1 ; par2 = 2 ; par3 = TRUE ;
R code (references can be found in the software module):
cat1 <- as.numeric(par1) #
cat2<- as.numeric(par2) #
intercept<-as.logical(par3)
x <- t(x)
x1<-as.numeric(x[,cat1])
f1<-as.character(x[,cat2])
xdf<-data.frame(x1,f1)
(V1<-dimnames(y)[[1]][cat1])
(V2<-dimnames(y)[[1]][cat2])
names(xdf)<-c('Response', 'Treatment')
if(intercept == FALSE) (lmxdf<-lm(Response ~ Treatment - 1, data = xdf) ) else (lmxdf<-lm(Response ~ Treatment, data = xdf) )
(aov.xdf<-aov(lmxdf) )
(anova.xdf<-anova(lmxdf) )
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'ANOVA Model', length(lmxdf$coefficients)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, paste(V1, ' ~ ', V2), length(lmxdf$coefficients)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'means',,TRUE)
for(i in 1:length(lmxdf$coefficients)){
a<-table.element(a, round(lmxdf$coefficients[i], digits=3),,FALSE)
}
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'ANOVA Statistics', 5+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, ' ',,TRUE)
a<-table.element(a, 'Df',,FALSE)
a<-table.element(a, 'Sum Sq',,FALSE)
a<-table.element(a, 'Mean Sq',,FALSE)
a<-table.element(a, 'F value',,FALSE)
a<-table.element(a, 'Pr(>F)',,FALSE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, V2,,TRUE)
a<-table.element(a, anova.xdf$Df[1],,FALSE)
a<-table.element(a, round(anova.xdf$'Sum Sq'[1], digits=3),,FALSE)
a<-table.element(a, round(anova.xdf$'Mean Sq'[1], digits=3),,FALSE)
a<-table.element(a, round(anova.xdf$'F value'[1], digits=3),,FALSE)
a<-table.element(a, round(anova.xdf$'Pr(>F)'[1], digits=3),,FALSE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residuals',,TRUE)
a<-table.element(a, anova.xdf$Df[2],,FALSE)
a<-table.element(a, round(anova.xdf$'Sum Sq'[2], digits=3),,FALSE)
a<-table.element(a, round(anova.xdf$'Mean Sq'[2], digits=3),,FALSE)
a<-table.element(a, ' ',,FALSE)
a<-table.element(a, ' ',,FALSE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
bitmap(file='anovaplot.png')
boxplot(Response ~ Treatment, data=xdf, xlab=V2, ylab=V1)
dev.off()
if(intercept==TRUE){
thsd<-TukeyHSD(aov.xdf)
bitmap(file='TukeyHSDPlot.png')
plot(thsd)
dev.off()
}
if(intercept==TRUE){
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Tukey Honest Significant Difference Comparisons', 5,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, ' ', 1, TRUE)
for(i in 1:4){
a<-table.element(a,colnames(thsd[[1]])[i], 1, TRUE)
}
a<-table.row.end(a)
for(i in 1:length(rownames(thsd[[1]]))){
a<-table.row.start(a)
a<-table.element(a,rownames(thsd[[1]])[i], 1, TRUE)
for(j in 1:4){
a<-table.element(a,round(thsd[[1]][i,j], digits=3), 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
}
if(intercept==FALSE){
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'TukeyHSD Message', 1,TRUE)
a<-table.row.end(a)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Must Include Intercept to use Tukey Test ', 1, FALSE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable2.tab')
}
library(car)
lt.lmxdf<-levene.test(lmxdf)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Levenes Test for Homogeneity of Variance', 4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,' ', 1, TRUE)
for (i in 1:3){
a<-table.element(a,names(lt.lmxdf)[i], 1, FALSE)
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Group', 1, TRUE)
for (i in 1:3){
a<-table.element(a,round(lt.lmxdf[[i]][1], digits=3), 1, FALSE)
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,' ', 1, TRUE)
a<-table.element(a,lt.lmxdf[[1]][2], 1, FALSE)
a<-table.element(a,' ', 1, FALSE)
a<-table.element(a,' ', 1, FALSE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')