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 computationSun, 18 Dec 2016 09:37:33 +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/18/t1482055276qkiq9jx8f2belnz.htm/, Retrieved Wed, 08 May 2024 23:50:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300989, Retrieved Wed, 08 May 2024 23:50:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact113
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)] [One Way Anova] [2016-12-18 08:37:33] [870ee93fd745ab9642a13cc9296726e0] [Current]
Feedback Forum

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




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300989&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
TVDCSUM ~ IKSUM
means17.5-3.833-2.667-1.786-2.5-1.389-2.3-1.1-2.5

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
TVDCSUM  ~  IKSUM \tabularnewline
means & 17.5 & -3.833 & -2.667 & -1.786 & -2.5 & -1.389 & -2.3 & -1.1 & -2.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300989&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]TVDCSUM  ~  IKSUM[/C][/ROW]
[ROW][C]means[/C][C]17.5[/C][C]-3.833[/C][C]-2.667[/C][C]-1.786[/C][C]-2.5[/C][C]-1.389[/C][C]-2.3[/C][C]-1.1[/C][C]-2.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300989&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300989&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
TVDCSUM ~ IKSUM
means17.5-3.833-2.667-1.786-2.5-1.389-2.3-1.1-2.5







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
IKSUM853.3596.672.060.048
Residuals94304.333.238

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
IKSUM & 8 & 53.359 & 6.67 & 2.06 & 0.048 \tabularnewline
Residuals & 94 & 304.33 & 3.238 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300989&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]IKSUM[/C][C]8[/C][C]53.359[/C][C]6.67[/C][C]2.06[/C][C]0.048[/C][/ROW]
[ROW][C]Residuals[/C][C]94[/C][C]304.33[/C][C]3.238[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300989&T=2

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







Tukey Honest Significant Difference Comparisons
difflwruprp adj
14-13-3.833-8.4980.8320.197
15-13-2.667-7.3321.9980.672
16-13-1.786-6.0142.4420.916
17-13-2.5-6.7471.7470.636
18-13-1.389-5.6472.870.981
19-13-2.3-6.5371.9370.731
20-13-1.1-5.5263.3260.997
NA-13-2.5-9.4974.4970.967
15-141.167-2.1324.4650.969
16-142.048-0.5974.6920.266
17-141.333-1.3424.0090.812
18-142.444-0.2495.1380.106
19-141.533-1.1264.1930.662
20-142.733-0.2175.6840.092
NA-141.333-4.8387.5040.999
16-150.881-1.7643.5260.979
17-150.167-2.5092.8421
18-151.278-1.4163.9710.85
19-150.367-2.2933.0261
20-151.567-1.3844.5170.753
NA-150.167-6.0046.3381
17-16-0.714-2.5231.0950.942
18-160.397-1.4382.2320.999
19-16-0.514-2.2991.2710.992
20-160.686-1.5092.8810.986
NA-16-0.714-6.5625.1331
18-171.111-0.7682.990.631
19-170.2-1.632.031
20-171.4-0.8323.6320.553
NA-170-5.8625.8621
19-18-0.911-2.7670.9450.824
20-180.289-1.9642.5421
NA-18-1.111-6.9814.7591
20-191.2-1.0133.4130.732
NA-19-0.2-6.0545.6541
NA-20-1.4-7.3924.5920.998

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
14-13 & -3.833 & -8.498 & 0.832 & 0.197 \tabularnewline
15-13 & -2.667 & -7.332 & 1.998 & 0.672 \tabularnewline
16-13 & -1.786 & -6.014 & 2.442 & 0.916 \tabularnewline
17-13 & -2.5 & -6.747 & 1.747 & 0.636 \tabularnewline
18-13 & -1.389 & -5.647 & 2.87 & 0.981 \tabularnewline
19-13 & -2.3 & -6.537 & 1.937 & 0.731 \tabularnewline
20-13 & -1.1 & -5.526 & 3.326 & 0.997 \tabularnewline
NA-13 & -2.5 & -9.497 & 4.497 & 0.967 \tabularnewline
15-14 & 1.167 & -2.132 & 4.465 & 0.969 \tabularnewline
16-14 & 2.048 & -0.597 & 4.692 & 0.266 \tabularnewline
17-14 & 1.333 & -1.342 & 4.009 & 0.812 \tabularnewline
18-14 & 2.444 & -0.249 & 5.138 & 0.106 \tabularnewline
19-14 & 1.533 & -1.126 & 4.193 & 0.662 \tabularnewline
20-14 & 2.733 & -0.217 & 5.684 & 0.092 \tabularnewline
NA-14 & 1.333 & -4.838 & 7.504 & 0.999 \tabularnewline
16-15 & 0.881 & -1.764 & 3.526 & 0.979 \tabularnewline
17-15 & 0.167 & -2.509 & 2.842 & 1 \tabularnewline
18-15 & 1.278 & -1.416 & 3.971 & 0.85 \tabularnewline
19-15 & 0.367 & -2.293 & 3.026 & 1 \tabularnewline
20-15 & 1.567 & -1.384 & 4.517 & 0.753 \tabularnewline
NA-15 & 0.167 & -6.004 & 6.338 & 1 \tabularnewline
17-16 & -0.714 & -2.523 & 1.095 & 0.942 \tabularnewline
18-16 & 0.397 & -1.438 & 2.232 & 0.999 \tabularnewline
19-16 & -0.514 & -2.299 & 1.271 & 0.992 \tabularnewline
20-16 & 0.686 & -1.509 & 2.881 & 0.986 \tabularnewline
NA-16 & -0.714 & -6.562 & 5.133 & 1 \tabularnewline
18-17 & 1.111 & -0.768 & 2.99 & 0.631 \tabularnewline
19-17 & 0.2 & -1.63 & 2.03 & 1 \tabularnewline
20-17 & 1.4 & -0.832 & 3.632 & 0.553 \tabularnewline
NA-17 & 0 & -5.862 & 5.862 & 1 \tabularnewline
19-18 & -0.911 & -2.767 & 0.945 & 0.824 \tabularnewline
20-18 & 0.289 & -1.964 & 2.542 & 1 \tabularnewline
NA-18 & -1.111 & -6.981 & 4.759 & 1 \tabularnewline
20-19 & 1.2 & -1.013 & 3.413 & 0.732 \tabularnewline
NA-19 & -0.2 & -6.054 & 5.654 & 1 \tabularnewline
NA-20 & -1.4 & -7.392 & 4.592 & 0.998 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300989&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]14-13[/C][C]-3.833[/C][C]-8.498[/C][C]0.832[/C][C]0.197[/C][/ROW]
[ROW][C]15-13[/C][C]-2.667[/C][C]-7.332[/C][C]1.998[/C][C]0.672[/C][/ROW]
[ROW][C]16-13[/C][C]-1.786[/C][C]-6.014[/C][C]2.442[/C][C]0.916[/C][/ROW]
[ROW][C]17-13[/C][C]-2.5[/C][C]-6.747[/C][C]1.747[/C][C]0.636[/C][/ROW]
[ROW][C]18-13[/C][C]-1.389[/C][C]-5.647[/C][C]2.87[/C][C]0.981[/C][/ROW]
[ROW][C]19-13[/C][C]-2.3[/C][C]-6.537[/C][C]1.937[/C][C]0.731[/C][/ROW]
[ROW][C]20-13[/C][C]-1.1[/C][C]-5.526[/C][C]3.326[/C][C]0.997[/C][/ROW]
[ROW][C]NA-13[/C][C]-2.5[/C][C]-9.497[/C][C]4.497[/C][C]0.967[/C][/ROW]
[ROW][C]15-14[/C][C]1.167[/C][C]-2.132[/C][C]4.465[/C][C]0.969[/C][/ROW]
[ROW][C]16-14[/C][C]2.048[/C][C]-0.597[/C][C]4.692[/C][C]0.266[/C][/ROW]
[ROW][C]17-14[/C][C]1.333[/C][C]-1.342[/C][C]4.009[/C][C]0.812[/C][/ROW]
[ROW][C]18-14[/C][C]2.444[/C][C]-0.249[/C][C]5.138[/C][C]0.106[/C][/ROW]
[ROW][C]19-14[/C][C]1.533[/C][C]-1.126[/C][C]4.193[/C][C]0.662[/C][/ROW]
[ROW][C]20-14[/C][C]2.733[/C][C]-0.217[/C][C]5.684[/C][C]0.092[/C][/ROW]
[ROW][C]NA-14[/C][C]1.333[/C][C]-4.838[/C][C]7.504[/C][C]0.999[/C][/ROW]
[ROW][C]16-15[/C][C]0.881[/C][C]-1.764[/C][C]3.526[/C][C]0.979[/C][/ROW]
[ROW][C]17-15[/C][C]0.167[/C][C]-2.509[/C][C]2.842[/C][C]1[/C][/ROW]
[ROW][C]18-15[/C][C]1.278[/C][C]-1.416[/C][C]3.971[/C][C]0.85[/C][/ROW]
[ROW][C]19-15[/C][C]0.367[/C][C]-2.293[/C][C]3.026[/C][C]1[/C][/ROW]
[ROW][C]20-15[/C][C]1.567[/C][C]-1.384[/C][C]4.517[/C][C]0.753[/C][/ROW]
[ROW][C]NA-15[/C][C]0.167[/C][C]-6.004[/C][C]6.338[/C][C]1[/C][/ROW]
[ROW][C]17-16[/C][C]-0.714[/C][C]-2.523[/C][C]1.095[/C][C]0.942[/C][/ROW]
[ROW][C]18-16[/C][C]0.397[/C][C]-1.438[/C][C]2.232[/C][C]0.999[/C][/ROW]
[ROW][C]19-16[/C][C]-0.514[/C][C]-2.299[/C][C]1.271[/C][C]0.992[/C][/ROW]
[ROW][C]20-16[/C][C]0.686[/C][C]-1.509[/C][C]2.881[/C][C]0.986[/C][/ROW]
[ROW][C]NA-16[/C][C]-0.714[/C][C]-6.562[/C][C]5.133[/C][C]1[/C][/ROW]
[ROW][C]18-17[/C][C]1.111[/C][C]-0.768[/C][C]2.99[/C][C]0.631[/C][/ROW]
[ROW][C]19-17[/C][C]0.2[/C][C]-1.63[/C][C]2.03[/C][C]1[/C][/ROW]
[ROW][C]20-17[/C][C]1.4[/C][C]-0.832[/C][C]3.632[/C][C]0.553[/C][/ROW]
[ROW][C]NA-17[/C][C]0[/C][C]-5.862[/C][C]5.862[/C][C]1[/C][/ROW]
[ROW][C]19-18[/C][C]-0.911[/C][C]-2.767[/C][C]0.945[/C][C]0.824[/C][/ROW]
[ROW][C]20-18[/C][C]0.289[/C][C]-1.964[/C][C]2.542[/C][C]1[/C][/ROW]
[ROW][C]NA-18[/C][C]-1.111[/C][C]-6.981[/C][C]4.759[/C][C]1[/C][/ROW]
[ROW][C]20-19[/C][C]1.2[/C][C]-1.013[/C][C]3.413[/C][C]0.732[/C][/ROW]
[ROW][C]NA-19[/C][C]-0.2[/C][C]-6.054[/C][C]5.654[/C][C]1[/C][/ROW]
[ROW][C]NA-20[/C][C]-1.4[/C][C]-7.392[/C][C]4.592[/C][C]0.998[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300989&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300989&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
14-13-3.833-8.4980.8320.197
15-13-2.667-7.3321.9980.672
16-13-1.786-6.0142.4420.916
17-13-2.5-6.7471.7470.636
18-13-1.389-5.6472.870.981
19-13-2.3-6.5371.9370.731
20-13-1.1-5.5263.3260.997
NA-13-2.5-9.4974.4970.967
15-141.167-2.1324.4650.969
16-142.048-0.5974.6920.266
17-141.333-1.3424.0090.812
18-142.444-0.2495.1380.106
19-141.533-1.1264.1930.662
20-142.733-0.2175.6840.092
NA-141.333-4.8387.5040.999
16-150.881-1.7643.5260.979
17-150.167-2.5092.8421
18-151.278-1.4163.9710.85
19-150.367-2.2933.0261
20-151.567-1.3844.5170.753
NA-150.167-6.0046.3381
17-16-0.714-2.5231.0950.942
18-160.397-1.4382.2320.999
19-16-0.514-2.2991.2710.992
20-160.686-1.5092.8810.986
NA-16-0.714-6.5625.1331
18-171.111-0.7682.990.631
19-170.2-1.632.031
20-171.4-0.8323.6320.553
NA-170-5.8625.8621
19-18-0.911-2.7670.9450.824
20-180.289-1.9642.5421
NA-18-1.111-6.9814.7591
20-191.2-1.0133.4130.732
NA-19-0.2-6.0545.6541
NA-20-1.4-7.3924.5920.998







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group80.7580.64
94

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

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



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