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 computationTue, 13 Dec 2016 15:17:58 +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/13/t1481640442gppvrax5mtgqz3l.htm/, Retrieved Fri, 01 Nov 2024 03:41:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299126, Retrieved Fri, 01 Nov 2024 03:41:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact87
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)] [1 way anova] [2016-12-13 14:17:58] [34b674d558c9d5fa20516c65c4cfbe6a] [Current]
Feedback Forum

Post a new message
Dataseries X:
13	14
16	19
17	17
16	20
17	15
17	19
16	20
14	18
16	15
17	14
16	16
16	18
15	17
16	19
16	17
15	19
17	20
13	19
17	16
14	16
14	18
18	16
17	17
16	20
15	19
15	16
13	16
17	18
11	17
14	19
13	16
17	13
16	16
17	12
16	17
16	17
16	17
15	16
12	16
17	14
14	16
14	13
16	16
15	14
16	19
14	18
15	14
17	18
10	15
17	17
20	13
17	19
18	18
17	15
14	15
17	20
17	19
16	18
18	15
18	20
16	17
15	19
13	20
16	18
12	17
16	18
16	17
16	20
14	16
15	14
14	15
15	20
15	17
16	17
11	18
18	20
11	16
18	18
15	15
19	18
17	20
14	14
13	15
17	17
14	18
19	20
14	17
16	16
16	11
15	15
12	18
17	16
18	18
15	15
18	17
15	19
16	16
16	14




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 time3 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299126&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]3 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=299126&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299126&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 time3 seconds
R ServerBig Analytics Cloud Computing Center







ANOVA Model
ITH ~ TVDC
means15221.6671.3851.62.2311.82.754-2

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
ITH  ~  TVDC \tabularnewline
means & 15 & 2 & 2 & 1.667 & 1.385 & 1.6 & 2.231 & 1.8 & 2.75 & 4 & -2 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299126&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]ITH  ~  TVDC[/C][/ROW]
[ROW][C]means[/C][C]15[/C][C]2[/C][C]2[/C][C]1.667[/C][C]1.385[/C][C]1.6[/C][C]2.231[/C][C]1.8[/C][C]2.75[/C][C]4[/C][C]-2[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299126&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299126&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
ITH ~ TVDC
means15221.6671.3851.62.2311.82.754-2







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
TVDC1041.6544.1650.9760.47
Residuals87371.3264.268

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
TVDC & 10 & 41.654 & 4.165 & 0.976 & 0.47 \tabularnewline
Residuals & 87 & 371.326 & 4.268 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299126&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]TVDC[/C][C]10[/C][C]41.654[/C][C]4.165[/C][C]0.976[/C][C]0.47[/C][/ROW]
[ROW][C]Residuals[/C][C]87[/C][C]371.326[/C][C]4.268[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299126&T=2

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







Tukey Honest Significant Difference Comparisons
difflwruprp adj
11-102-5.8869.8860.999
12-102-5.8869.8860.999
13-101.667-5.719.0441
14-101.385-5.7038.4721
15-101.6-5.4548.6541
16-102.231-4.7299.1910.993
17-101.8-5.1998.7990.999
18-102.75-4.4949.9940.974
19-104-4.36512.3650.886
20-10-2-11.6597.6591
12-110-5.5775.5771
13-11-0.333-5.1634.4961
14-11-0.615-4.993.7591
15-11-0.4-4.723.921
16-110.231-3.9344.3951
17-11-0.2-4.4294.0291
18-110.75-3.8745.3741
19-112-4.2358.2350.992
20-11-4-11.8863.8860.843
13-12-0.333-5.1634.4961
14-12-0.615-4.993.7591
15-12-0.4-4.723.921
16-120.231-3.9344.3951
17-12-0.2-4.4294.0291
18-120.75-3.8745.3741
19-122-4.2358.2350.992
20-12-4-11.8863.8860.843
14-13-0.282-3.6533.0891
15-13-0.067-3.3663.2321
16-130.564-2.5293.6571
17-130.133-3.0463.3121
18-131.083-2.6054.7720.996
19-132.333-3.2437.910.949
20-13-3.667-11.0443.710.859
15-140.215-2.3732.8031
16-140.846-1.4743.1660.98
17-140.415-2.0182.8491
18-141.365-1.7044.4340.925
19-142.615-2.5727.8030.848
20-14-3.385-10.4723.7030.887
16-150.631-1.5842.8450.997
17-150.2-2.1332.5331
18-151.15-1.844.140.971
19-152.4-2.7417.5410.901
20-15-3.6-10.6543.4540.838
17-16-0.431-2.4621.6011
18-160.519-2.2423.2811
19-161.769-3.2436.7810.984
20-16-4.231-11.1912.7290.643
18-170.95-1.9073.8070.99
19-172.2-2.8657.2650.936
20-17-3.8-10.7993.1990.78
19-181.25-4.1496.6491
20-18-4.75-11.9942.4940.533
20-19-6-14.3652.3650.397

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
11-10 & 2 & -5.886 & 9.886 & 0.999 \tabularnewline
12-10 & 2 & -5.886 & 9.886 & 0.999 \tabularnewline
13-10 & 1.667 & -5.71 & 9.044 & 1 \tabularnewline
14-10 & 1.385 & -5.703 & 8.472 & 1 \tabularnewline
15-10 & 1.6 & -5.454 & 8.654 & 1 \tabularnewline
16-10 & 2.231 & -4.729 & 9.191 & 0.993 \tabularnewline
17-10 & 1.8 & -5.199 & 8.799 & 0.999 \tabularnewline
18-10 & 2.75 & -4.494 & 9.994 & 0.974 \tabularnewline
19-10 & 4 & -4.365 & 12.365 & 0.886 \tabularnewline
20-10 & -2 & -11.659 & 7.659 & 1 \tabularnewline
12-11 & 0 & -5.577 & 5.577 & 1 \tabularnewline
13-11 & -0.333 & -5.163 & 4.496 & 1 \tabularnewline
14-11 & -0.615 & -4.99 & 3.759 & 1 \tabularnewline
15-11 & -0.4 & -4.72 & 3.92 & 1 \tabularnewline
16-11 & 0.231 & -3.934 & 4.395 & 1 \tabularnewline
17-11 & -0.2 & -4.429 & 4.029 & 1 \tabularnewline
18-11 & 0.75 & -3.874 & 5.374 & 1 \tabularnewline
19-11 & 2 & -4.235 & 8.235 & 0.992 \tabularnewline
20-11 & -4 & -11.886 & 3.886 & 0.843 \tabularnewline
13-12 & -0.333 & -5.163 & 4.496 & 1 \tabularnewline
14-12 & -0.615 & -4.99 & 3.759 & 1 \tabularnewline
15-12 & -0.4 & -4.72 & 3.92 & 1 \tabularnewline
16-12 & 0.231 & -3.934 & 4.395 & 1 \tabularnewline
17-12 & -0.2 & -4.429 & 4.029 & 1 \tabularnewline
18-12 & 0.75 & -3.874 & 5.374 & 1 \tabularnewline
19-12 & 2 & -4.235 & 8.235 & 0.992 \tabularnewline
20-12 & -4 & -11.886 & 3.886 & 0.843 \tabularnewline
14-13 & -0.282 & -3.653 & 3.089 & 1 \tabularnewline
15-13 & -0.067 & -3.366 & 3.232 & 1 \tabularnewline
16-13 & 0.564 & -2.529 & 3.657 & 1 \tabularnewline
17-13 & 0.133 & -3.046 & 3.312 & 1 \tabularnewline
18-13 & 1.083 & -2.605 & 4.772 & 0.996 \tabularnewline
19-13 & 2.333 & -3.243 & 7.91 & 0.949 \tabularnewline
20-13 & -3.667 & -11.044 & 3.71 & 0.859 \tabularnewline
15-14 & 0.215 & -2.373 & 2.803 & 1 \tabularnewline
16-14 & 0.846 & -1.474 & 3.166 & 0.98 \tabularnewline
17-14 & 0.415 & -2.018 & 2.849 & 1 \tabularnewline
18-14 & 1.365 & -1.704 & 4.434 & 0.925 \tabularnewline
19-14 & 2.615 & -2.572 & 7.803 & 0.848 \tabularnewline
20-14 & -3.385 & -10.472 & 3.703 & 0.887 \tabularnewline
16-15 & 0.631 & -1.584 & 2.845 & 0.997 \tabularnewline
17-15 & 0.2 & -2.133 & 2.533 & 1 \tabularnewline
18-15 & 1.15 & -1.84 & 4.14 & 0.971 \tabularnewline
19-15 & 2.4 & -2.741 & 7.541 & 0.901 \tabularnewline
20-15 & -3.6 & -10.654 & 3.454 & 0.838 \tabularnewline
17-16 & -0.431 & -2.462 & 1.601 & 1 \tabularnewline
18-16 & 0.519 & -2.242 & 3.281 & 1 \tabularnewline
19-16 & 1.769 & -3.243 & 6.781 & 0.984 \tabularnewline
20-16 & -4.231 & -11.191 & 2.729 & 0.643 \tabularnewline
18-17 & 0.95 & -1.907 & 3.807 & 0.99 \tabularnewline
19-17 & 2.2 & -2.865 & 7.265 & 0.936 \tabularnewline
20-17 & -3.8 & -10.799 & 3.199 & 0.78 \tabularnewline
19-18 & 1.25 & -4.149 & 6.649 & 1 \tabularnewline
20-18 & -4.75 & -11.994 & 2.494 & 0.533 \tabularnewline
20-19 & -6 & -14.365 & 2.365 & 0.397 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299126&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]11-10[/C][C]2[/C][C]-5.886[/C][C]9.886[/C][C]0.999[/C][/ROW]
[ROW][C]12-10[/C][C]2[/C][C]-5.886[/C][C]9.886[/C][C]0.999[/C][/ROW]
[ROW][C]13-10[/C][C]1.667[/C][C]-5.71[/C][C]9.044[/C][C]1[/C][/ROW]
[ROW][C]14-10[/C][C]1.385[/C][C]-5.703[/C][C]8.472[/C][C]1[/C][/ROW]
[ROW][C]15-10[/C][C]1.6[/C][C]-5.454[/C][C]8.654[/C][C]1[/C][/ROW]
[ROW][C]16-10[/C][C]2.231[/C][C]-4.729[/C][C]9.191[/C][C]0.993[/C][/ROW]
[ROW][C]17-10[/C][C]1.8[/C][C]-5.199[/C][C]8.799[/C][C]0.999[/C][/ROW]
[ROW][C]18-10[/C][C]2.75[/C][C]-4.494[/C][C]9.994[/C][C]0.974[/C][/ROW]
[ROW][C]19-10[/C][C]4[/C][C]-4.365[/C][C]12.365[/C][C]0.886[/C][/ROW]
[ROW][C]20-10[/C][C]-2[/C][C]-11.659[/C][C]7.659[/C][C]1[/C][/ROW]
[ROW][C]12-11[/C][C]0[/C][C]-5.577[/C][C]5.577[/C][C]1[/C][/ROW]
[ROW][C]13-11[/C][C]-0.333[/C][C]-5.163[/C][C]4.496[/C][C]1[/C][/ROW]
[ROW][C]14-11[/C][C]-0.615[/C][C]-4.99[/C][C]3.759[/C][C]1[/C][/ROW]
[ROW][C]15-11[/C][C]-0.4[/C][C]-4.72[/C][C]3.92[/C][C]1[/C][/ROW]
[ROW][C]16-11[/C][C]0.231[/C][C]-3.934[/C][C]4.395[/C][C]1[/C][/ROW]
[ROW][C]17-11[/C][C]-0.2[/C][C]-4.429[/C][C]4.029[/C][C]1[/C][/ROW]
[ROW][C]18-11[/C][C]0.75[/C][C]-3.874[/C][C]5.374[/C][C]1[/C][/ROW]
[ROW][C]19-11[/C][C]2[/C][C]-4.235[/C][C]8.235[/C][C]0.992[/C][/ROW]
[ROW][C]20-11[/C][C]-4[/C][C]-11.886[/C][C]3.886[/C][C]0.843[/C][/ROW]
[ROW][C]13-12[/C][C]-0.333[/C][C]-5.163[/C][C]4.496[/C][C]1[/C][/ROW]
[ROW][C]14-12[/C][C]-0.615[/C][C]-4.99[/C][C]3.759[/C][C]1[/C][/ROW]
[ROW][C]15-12[/C][C]-0.4[/C][C]-4.72[/C][C]3.92[/C][C]1[/C][/ROW]
[ROW][C]16-12[/C][C]0.231[/C][C]-3.934[/C][C]4.395[/C][C]1[/C][/ROW]
[ROW][C]17-12[/C][C]-0.2[/C][C]-4.429[/C][C]4.029[/C][C]1[/C][/ROW]
[ROW][C]18-12[/C][C]0.75[/C][C]-3.874[/C][C]5.374[/C][C]1[/C][/ROW]
[ROW][C]19-12[/C][C]2[/C][C]-4.235[/C][C]8.235[/C][C]0.992[/C][/ROW]
[ROW][C]20-12[/C][C]-4[/C][C]-11.886[/C][C]3.886[/C][C]0.843[/C][/ROW]
[ROW][C]14-13[/C][C]-0.282[/C][C]-3.653[/C][C]3.089[/C][C]1[/C][/ROW]
[ROW][C]15-13[/C][C]-0.067[/C][C]-3.366[/C][C]3.232[/C][C]1[/C][/ROW]
[ROW][C]16-13[/C][C]0.564[/C][C]-2.529[/C][C]3.657[/C][C]1[/C][/ROW]
[ROW][C]17-13[/C][C]0.133[/C][C]-3.046[/C][C]3.312[/C][C]1[/C][/ROW]
[ROW][C]18-13[/C][C]1.083[/C][C]-2.605[/C][C]4.772[/C][C]0.996[/C][/ROW]
[ROW][C]19-13[/C][C]2.333[/C][C]-3.243[/C][C]7.91[/C][C]0.949[/C][/ROW]
[ROW][C]20-13[/C][C]-3.667[/C][C]-11.044[/C][C]3.71[/C][C]0.859[/C][/ROW]
[ROW][C]15-14[/C][C]0.215[/C][C]-2.373[/C][C]2.803[/C][C]1[/C][/ROW]
[ROW][C]16-14[/C][C]0.846[/C][C]-1.474[/C][C]3.166[/C][C]0.98[/C][/ROW]
[ROW][C]17-14[/C][C]0.415[/C][C]-2.018[/C][C]2.849[/C][C]1[/C][/ROW]
[ROW][C]18-14[/C][C]1.365[/C][C]-1.704[/C][C]4.434[/C][C]0.925[/C][/ROW]
[ROW][C]19-14[/C][C]2.615[/C][C]-2.572[/C][C]7.803[/C][C]0.848[/C][/ROW]
[ROW][C]20-14[/C][C]-3.385[/C][C]-10.472[/C][C]3.703[/C][C]0.887[/C][/ROW]
[ROW][C]16-15[/C][C]0.631[/C][C]-1.584[/C][C]2.845[/C][C]0.997[/C][/ROW]
[ROW][C]17-15[/C][C]0.2[/C][C]-2.133[/C][C]2.533[/C][C]1[/C][/ROW]
[ROW][C]18-15[/C][C]1.15[/C][C]-1.84[/C][C]4.14[/C][C]0.971[/C][/ROW]
[ROW][C]19-15[/C][C]2.4[/C][C]-2.741[/C][C]7.541[/C][C]0.901[/C][/ROW]
[ROW][C]20-15[/C][C]-3.6[/C][C]-10.654[/C][C]3.454[/C][C]0.838[/C][/ROW]
[ROW][C]17-16[/C][C]-0.431[/C][C]-2.462[/C][C]1.601[/C][C]1[/C][/ROW]
[ROW][C]18-16[/C][C]0.519[/C][C]-2.242[/C][C]3.281[/C][C]1[/C][/ROW]
[ROW][C]19-16[/C][C]1.769[/C][C]-3.243[/C][C]6.781[/C][C]0.984[/C][/ROW]
[ROW][C]20-16[/C][C]-4.231[/C][C]-11.191[/C][C]2.729[/C][C]0.643[/C][/ROW]
[ROW][C]18-17[/C][C]0.95[/C][C]-1.907[/C][C]3.807[/C][C]0.99[/C][/ROW]
[ROW][C]19-17[/C][C]2.2[/C][C]-2.865[/C][C]7.265[/C][C]0.936[/C][/ROW]
[ROW][C]20-17[/C][C]-3.8[/C][C]-10.799[/C][C]3.199[/C][C]0.78[/C][/ROW]
[ROW][C]19-18[/C][C]1.25[/C][C]-4.149[/C][C]6.649[/C][C]1[/C][/ROW]
[ROW][C]20-18[/C][C]-4.75[/C][C]-11.994[/C][C]2.494[/C][C]0.533[/C][/ROW]
[ROW][C]20-19[/C][C]-6[/C][C]-14.365[/C][C]2.365[/C][C]0.397[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299126&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299126&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
11-102-5.8869.8860.999
12-102-5.8869.8860.999
13-101.667-5.719.0441
14-101.385-5.7038.4721
15-101.6-5.4548.6541
16-102.231-4.7299.1910.993
17-101.8-5.1998.7990.999
18-102.75-4.4949.9940.974
19-104-4.36512.3650.886
20-10-2-11.6597.6591
12-110-5.5775.5771
13-11-0.333-5.1634.4961
14-11-0.615-4.993.7591
15-11-0.4-4.723.921
16-110.231-3.9344.3951
17-11-0.2-4.4294.0291
18-110.75-3.8745.3741
19-112-4.2358.2350.992
20-11-4-11.8863.8860.843
13-12-0.333-5.1634.4961
14-12-0.615-4.993.7591
15-12-0.4-4.723.921
16-120.231-3.9344.3951
17-12-0.2-4.4294.0291
18-120.75-3.8745.3741
19-122-4.2358.2350.992
20-12-4-11.8863.8860.843
14-13-0.282-3.6533.0891
15-13-0.067-3.3663.2321
16-130.564-2.5293.6571
17-130.133-3.0463.3121
18-131.083-2.6054.7720.996
19-132.333-3.2437.910.949
20-13-3.667-11.0443.710.859
15-140.215-2.3732.8031
16-140.846-1.4743.1660.98
17-140.415-2.0182.8491
18-141.365-1.7044.4340.925
19-142.615-2.5727.8030.848
20-14-3.385-10.4723.7030.887
16-150.631-1.5842.8450.997
17-150.2-2.1332.5331
18-151.15-1.844.140.971
19-152.4-2.7417.5410.901
20-15-3.6-10.6543.4540.838
17-16-0.431-2.4621.6011
18-160.519-2.2423.2811
19-161.769-3.2436.7810.984
20-16-4.231-11.1912.7290.643
18-170.95-1.9073.8070.99
19-172.2-2.8657.2650.936
20-17-3.8-10.7993.1990.78
19-181.25-4.1496.6491
20-18-4.75-11.9942.4940.533
20-19-6-14.3652.3650.397







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group100.860.574
87

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

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



Parameters (Session):
par1 = 2 ; par2 = 1 ; par3 = TRUE ;
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')