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 computationThu, 22 Dec 2016 19:22:26 +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/2016/Dec/22/t1482431216zmgx2x50imz99ul.htm/, Retrieved Sun, 28 Apr 2024 19:32:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=302611, Retrieved Sun, 28 Apr 2024 19:32:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact38
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)] [] [2016-12-22 18:22:26] [84a79156fb687334cf7dc390d7b82d5a] [Current]
Feedback Forum

Post a new message
Dataseries X:
22	14
24	19
21	17
21	17
24	15
20	20
22	15
20	19
19	15
23	15
21	19
19	NA
19	20
21	18
21	15
22	14
22	20
19	NA
21	16
21	16
21	16
20	10
22	19
22	19
24	16
21	15
19	18
19	17
23	19
21	17
21	NA
19	19
21	20
19	5
21	19
21	16
23	15
19	16
19	18
19	16
18	15
22	17
18	NA
22	20
18	19
22	7
22	13
19	16
22	16
25	NA
19	18
19	18
19	16
19	17
21	19
21	16
20	19
19	13
19	16
22	13
26	12
19	17
21	17
21	17
20	16
23	16
22	14
22	16
22	13
21	16
21	14
22	20
23	12
18	13
24	18
22	14
21	19
21	18
21	14
23	18
21	19
23	15
21	14
19	17
21	19
21	13
21	19
23	18
23	20
20	15
20	15
19	15
23	20
22	15
19	19
23	18
22	18
22	15
21	20
21	17
21	12
21	18
22	19
25	20
21	NA
23	17
19	15
22	16
20	18
21	18
25	14
21	15
19	12
23	17
22	14
21	18
24	17
21	17
19	20
18	16
19	14
20	15
19	18
22	20
21	17
22	17
24	17
28	17
19	15
18	17
23	18
19	17
23	20
19	15
22	16
21	15
19	18
22	11
21	15
23	18
22	20
19	19
19	14
21	16
22	15
21	17
20	18
23	20
22	17
23	18
22	15
21	16
20	11
18	15
18	18
20	17
19	16
21	12
24	19
19	18
20	15
19	17
23	19
22	18
21	19
24	16
21	16
21	16
22	14




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

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







ANOVA Model
ITHSUM ~ leeftijd
means16.1430.151-0.1430.502-0.2641.3830.9820.857-4.1430.857

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
ITHSUM  ~  leeftijd \tabularnewline
means & 16.143 & 0.151 & -0.143 & 0.502 & -0.264 & 1.383 & 0.982 & 0.857 & -4.143 & 0.857 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302611&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]ITHSUM  ~  leeftijd[/C][/ROW]
[ROW][C]means[/C][C]16.143[/C][C]0.151[/C][C]-0.143[/C][C]0.502[/C][C]-0.264[/C][C]1.383[/C][C]0.982[/C][C]0.857[/C][C]-4.143[/C][C]0.857[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302611&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302611&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
ITHSUM ~ leeftijd
means16.1430.151-0.1430.502-0.2641.3830.9820.857-4.1430.857







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
leeftijd962.9536.9951.1270.347
Residuals153949.3546.205

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
leeftijd & 9 & 62.953 & 6.995 & 1.127 & 0.347 \tabularnewline
Residuals & 153 & 949.354 & 6.205 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302611&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]leeftijd[/C][C]9[/C][C]62.953[/C][C]6.995[/C][C]1.127[/C][C]0.347[/C][/ROW]
[ROW][C]Residuals[/C][C]153[/C][C]949.354[/C][C]6.205[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302611&T=2

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







Tukey Honest Significant Difference Comparisons
difflwruprp adj
19-180.151-3.1693.4711
20-18-0.143-3.8933.6071
21-180.502-2.7483.7511
22-18-0.264-3.5923.0641
23-181.383-2.1534.920.962
24-180.982-3.1575.1220.999
25-180.857-5.5567.271
26-18-4.143-12.6944.4080.867
28-180.857-7.6949.4081
20-19-0.294-2.9022.3141
21-190.35-1.4672.1681
22-19-0.415-2.371.5391
23-191.232-1.0593.5230.778
24-190.831-2.3123.9740.998
25-190.706-5.1146.5261
26-19-4.294-12.4093.8210.794
28-190.706-7.4098.8211
21-200.644-1.8743.1630.998
22-20-0.121-2.742.4981
23-201.526-1.3534.4050.793
24-201.125-2.4694.7190.992
25-201-5.0757.0751
26-20-4-12.34.30.871
28-201-7.39.31
22-21-0.766-2.5991.0670.942
23-210.882-1.3063.070.954
24-210.481-2.5883.551
25-210.356-5.4256.1361
26-21-4.644-12.7313.4420.706
28-210.356-7.7318.4421
23-221.648-0.6563.9510.397
24-221.246-1.9064.3980.959
25-221.121-4.7036.9461
26-22-3.879-11.9984.240.876
28-221.121-6.9989.241
24-23-0.401-3.7722.971
25-23-0.526-6.4725.421
26-23-5.526-13.7332.680.487
28-23-0.526-8.7337.681
25-24-0.125-6.4486.1981
26-24-5.125-13.6093.3590.642
28-24-0.125-8.6098.3591
26-25-5-14.7964.7960.827
28-250-9.7969.7961
28-265-6.31116.3110.919

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
19-18 & 0.151 & -3.169 & 3.471 & 1 \tabularnewline
20-18 & -0.143 & -3.893 & 3.607 & 1 \tabularnewline
21-18 & 0.502 & -2.748 & 3.751 & 1 \tabularnewline
22-18 & -0.264 & -3.592 & 3.064 & 1 \tabularnewline
23-18 & 1.383 & -2.153 & 4.92 & 0.962 \tabularnewline
24-18 & 0.982 & -3.157 & 5.122 & 0.999 \tabularnewline
25-18 & 0.857 & -5.556 & 7.27 & 1 \tabularnewline
26-18 & -4.143 & -12.694 & 4.408 & 0.867 \tabularnewline
28-18 & 0.857 & -7.694 & 9.408 & 1 \tabularnewline
20-19 & -0.294 & -2.902 & 2.314 & 1 \tabularnewline
21-19 & 0.35 & -1.467 & 2.168 & 1 \tabularnewline
22-19 & -0.415 & -2.37 & 1.539 & 1 \tabularnewline
23-19 & 1.232 & -1.059 & 3.523 & 0.778 \tabularnewline
24-19 & 0.831 & -2.312 & 3.974 & 0.998 \tabularnewline
25-19 & 0.706 & -5.114 & 6.526 & 1 \tabularnewline
26-19 & -4.294 & -12.409 & 3.821 & 0.794 \tabularnewline
28-19 & 0.706 & -7.409 & 8.821 & 1 \tabularnewline
21-20 & 0.644 & -1.874 & 3.163 & 0.998 \tabularnewline
22-20 & -0.121 & -2.74 & 2.498 & 1 \tabularnewline
23-20 & 1.526 & -1.353 & 4.405 & 0.793 \tabularnewline
24-20 & 1.125 & -2.469 & 4.719 & 0.992 \tabularnewline
25-20 & 1 & -5.075 & 7.075 & 1 \tabularnewline
26-20 & -4 & -12.3 & 4.3 & 0.871 \tabularnewline
28-20 & 1 & -7.3 & 9.3 & 1 \tabularnewline
22-21 & -0.766 & -2.599 & 1.067 & 0.942 \tabularnewline
23-21 & 0.882 & -1.306 & 3.07 & 0.954 \tabularnewline
24-21 & 0.481 & -2.588 & 3.55 & 1 \tabularnewline
25-21 & 0.356 & -5.425 & 6.136 & 1 \tabularnewline
26-21 & -4.644 & -12.731 & 3.442 & 0.706 \tabularnewline
28-21 & 0.356 & -7.731 & 8.442 & 1 \tabularnewline
23-22 & 1.648 & -0.656 & 3.951 & 0.397 \tabularnewline
24-22 & 1.246 & -1.906 & 4.398 & 0.959 \tabularnewline
25-22 & 1.121 & -4.703 & 6.946 & 1 \tabularnewline
26-22 & -3.879 & -11.998 & 4.24 & 0.876 \tabularnewline
28-22 & 1.121 & -6.998 & 9.24 & 1 \tabularnewline
24-23 & -0.401 & -3.772 & 2.97 & 1 \tabularnewline
25-23 & -0.526 & -6.472 & 5.42 & 1 \tabularnewline
26-23 & -5.526 & -13.733 & 2.68 & 0.487 \tabularnewline
28-23 & -0.526 & -8.733 & 7.68 & 1 \tabularnewline
25-24 & -0.125 & -6.448 & 6.198 & 1 \tabularnewline
26-24 & -5.125 & -13.609 & 3.359 & 0.642 \tabularnewline
28-24 & -0.125 & -8.609 & 8.359 & 1 \tabularnewline
26-25 & -5 & -14.796 & 4.796 & 0.827 \tabularnewline
28-25 & 0 & -9.796 & 9.796 & 1 \tabularnewline
28-26 & 5 & -6.311 & 16.311 & 0.919 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302611&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]19-18[/C][C]0.151[/C][C]-3.169[/C][C]3.471[/C][C]1[/C][/ROW]
[ROW][C]20-18[/C][C]-0.143[/C][C]-3.893[/C][C]3.607[/C][C]1[/C][/ROW]
[ROW][C]21-18[/C][C]0.502[/C][C]-2.748[/C][C]3.751[/C][C]1[/C][/ROW]
[ROW][C]22-18[/C][C]-0.264[/C][C]-3.592[/C][C]3.064[/C][C]1[/C][/ROW]
[ROW][C]23-18[/C][C]1.383[/C][C]-2.153[/C][C]4.92[/C][C]0.962[/C][/ROW]
[ROW][C]24-18[/C][C]0.982[/C][C]-3.157[/C][C]5.122[/C][C]0.999[/C][/ROW]
[ROW][C]25-18[/C][C]0.857[/C][C]-5.556[/C][C]7.27[/C][C]1[/C][/ROW]
[ROW][C]26-18[/C][C]-4.143[/C][C]-12.694[/C][C]4.408[/C][C]0.867[/C][/ROW]
[ROW][C]28-18[/C][C]0.857[/C][C]-7.694[/C][C]9.408[/C][C]1[/C][/ROW]
[ROW][C]20-19[/C][C]-0.294[/C][C]-2.902[/C][C]2.314[/C][C]1[/C][/ROW]
[ROW][C]21-19[/C][C]0.35[/C][C]-1.467[/C][C]2.168[/C][C]1[/C][/ROW]
[ROW][C]22-19[/C][C]-0.415[/C][C]-2.37[/C][C]1.539[/C][C]1[/C][/ROW]
[ROW][C]23-19[/C][C]1.232[/C][C]-1.059[/C][C]3.523[/C][C]0.778[/C][/ROW]
[ROW][C]24-19[/C][C]0.831[/C][C]-2.312[/C][C]3.974[/C][C]0.998[/C][/ROW]
[ROW][C]25-19[/C][C]0.706[/C][C]-5.114[/C][C]6.526[/C][C]1[/C][/ROW]
[ROW][C]26-19[/C][C]-4.294[/C][C]-12.409[/C][C]3.821[/C][C]0.794[/C][/ROW]
[ROW][C]28-19[/C][C]0.706[/C][C]-7.409[/C][C]8.821[/C][C]1[/C][/ROW]
[ROW][C]21-20[/C][C]0.644[/C][C]-1.874[/C][C]3.163[/C][C]0.998[/C][/ROW]
[ROW][C]22-20[/C][C]-0.121[/C][C]-2.74[/C][C]2.498[/C][C]1[/C][/ROW]
[ROW][C]23-20[/C][C]1.526[/C][C]-1.353[/C][C]4.405[/C][C]0.793[/C][/ROW]
[ROW][C]24-20[/C][C]1.125[/C][C]-2.469[/C][C]4.719[/C][C]0.992[/C][/ROW]
[ROW][C]25-20[/C][C]1[/C][C]-5.075[/C][C]7.075[/C][C]1[/C][/ROW]
[ROW][C]26-20[/C][C]-4[/C][C]-12.3[/C][C]4.3[/C][C]0.871[/C][/ROW]
[ROW][C]28-20[/C][C]1[/C][C]-7.3[/C][C]9.3[/C][C]1[/C][/ROW]
[ROW][C]22-21[/C][C]-0.766[/C][C]-2.599[/C][C]1.067[/C][C]0.942[/C][/ROW]
[ROW][C]23-21[/C][C]0.882[/C][C]-1.306[/C][C]3.07[/C][C]0.954[/C][/ROW]
[ROW][C]24-21[/C][C]0.481[/C][C]-2.588[/C][C]3.55[/C][C]1[/C][/ROW]
[ROW][C]25-21[/C][C]0.356[/C][C]-5.425[/C][C]6.136[/C][C]1[/C][/ROW]
[ROW][C]26-21[/C][C]-4.644[/C][C]-12.731[/C][C]3.442[/C][C]0.706[/C][/ROW]
[ROW][C]28-21[/C][C]0.356[/C][C]-7.731[/C][C]8.442[/C][C]1[/C][/ROW]
[ROW][C]23-22[/C][C]1.648[/C][C]-0.656[/C][C]3.951[/C][C]0.397[/C][/ROW]
[ROW][C]24-22[/C][C]1.246[/C][C]-1.906[/C][C]4.398[/C][C]0.959[/C][/ROW]
[ROW][C]25-22[/C][C]1.121[/C][C]-4.703[/C][C]6.946[/C][C]1[/C][/ROW]
[ROW][C]26-22[/C][C]-3.879[/C][C]-11.998[/C][C]4.24[/C][C]0.876[/C][/ROW]
[ROW][C]28-22[/C][C]1.121[/C][C]-6.998[/C][C]9.24[/C][C]1[/C][/ROW]
[ROW][C]24-23[/C][C]-0.401[/C][C]-3.772[/C][C]2.97[/C][C]1[/C][/ROW]
[ROW][C]25-23[/C][C]-0.526[/C][C]-6.472[/C][C]5.42[/C][C]1[/C][/ROW]
[ROW][C]26-23[/C][C]-5.526[/C][C]-13.733[/C][C]2.68[/C][C]0.487[/C][/ROW]
[ROW][C]28-23[/C][C]-0.526[/C][C]-8.733[/C][C]7.68[/C][C]1[/C][/ROW]
[ROW][C]25-24[/C][C]-0.125[/C][C]-6.448[/C][C]6.198[/C][C]1[/C][/ROW]
[ROW][C]26-24[/C][C]-5.125[/C][C]-13.609[/C][C]3.359[/C][C]0.642[/C][/ROW]
[ROW][C]28-24[/C][C]-0.125[/C][C]-8.609[/C][C]8.359[/C][C]1[/C][/ROW]
[ROW][C]26-25[/C][C]-5[/C][C]-14.796[/C][C]4.796[/C][C]0.827[/C][/ROW]
[ROW][C]28-25[/C][C]0[/C][C]-9.796[/C][C]9.796[/C][C]1[/C][/ROW]
[ROW][C]28-26[/C][C]5[/C][C]-6.311[/C][C]16.311[/C][C]0.919[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302611&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302611&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
19-180.151-3.1693.4711
20-18-0.143-3.8933.6071
21-180.502-2.7483.7511
22-18-0.264-3.5923.0641
23-181.383-2.1534.920.962
24-180.982-3.1575.1220.999
25-180.857-5.5567.271
26-18-4.143-12.6944.4080.867
28-180.857-7.6949.4081
20-19-0.294-2.9022.3141
21-190.35-1.4672.1681
22-19-0.415-2.371.5391
23-191.232-1.0593.5230.778
24-190.831-2.3123.9740.998
25-190.706-5.1146.5261
26-19-4.294-12.4093.8210.794
28-190.706-7.4098.8211
21-200.644-1.8743.1630.998
22-20-0.121-2.742.4981
23-201.526-1.3534.4050.793
24-201.125-2.4694.7190.992
25-201-5.0757.0751
26-20-4-12.34.30.871
28-201-7.39.31
22-21-0.766-2.5991.0670.942
23-210.882-1.3063.070.954
24-210.481-2.5883.551
25-210.356-5.4256.1361
26-21-4.644-12.7313.4420.706
28-210.356-7.7318.4421
23-221.648-0.6563.9510.397
24-221.246-1.9064.3980.959
25-221.121-4.7036.9461
26-22-3.879-11.9984.240.876
28-221.121-6.9989.241
24-23-0.401-3.7722.971
25-23-0.526-6.4725.421
26-23-5.526-13.7332.680.487
28-23-0.526-8.7337.681
25-24-0.125-6.4486.1981
26-24-5.125-13.6093.3590.642
28-24-0.125-8.6098.3591
26-25-5-14.7964.7960.827
28-250-9.7969.7961
28-265-6.31116.3110.919







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group91.1790.312
153

\begin{tabular}{lllllllll}
\hline
Levenes Test for Homogeneity of Variance \tabularnewline
  & Df & F value & Pr(>F) \tabularnewline
Group & 9 & 1.179 & 0.312 \tabularnewline
  & 153 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302611&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]9[/C][C]1.179[/C][C]0.312[/C][/ROW]
[ROW][C] [/C][C]153[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302611&T=4

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



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 1 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = 2 ; par2 = 1 ; 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){
'Tukey Plot'
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<-leveneTest(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')