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, 23 Dec 2018 19:44:30 +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/2018/Dec/23/t1545591337lhb4a1kc23nluge.htm/, Retrieved Sun, 28 Apr 2024 09:41:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=316234, Retrieved Sun, 28 Apr 2024 09:41:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact95
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)] [Pb 1 : Ov 4] [2018-12-23 18:44:30] [96a3b24b75e7284ce894536897ad7134] [Current]
Feedback Forum

Post a new message
Dataseries X:
6 "'N'"
8 "'Q'"
5 "'K'"
0 "'K'"
8 "'R'"
10 "'G'"
14 "'K'"
8 "'G'"
6 "'R'"
5 "'P'"
12 "'Q'"
1 "'G'"
9 "'G'"
7 "'G'"
13 "'G'"
3 "'R'"
2 "'K'"
12 "'K'"
13 "'G'"
7 "'K'"
0 "'N'"
3 "'K'"
10 "'G'"
5 "'R'"
13 "'K'"
11 "'K'"
7 "'K'"
10 "'P'"
12 "'K'"
12 "'P'"
15 "'P'"
9 "'G'"
5 "'P'"
3 "'P'"
4 "'P'"
11 "'Q'"
10 "'G'"
11 "'P'"
6 "'K'"
9 "'K'"
3 "'G'"
6 "'Q'"
12 "'G'"
3 "'A'"
11 "'R'"
11 "'R'"
13 "'K'"
6 "'G'"
9 "'K'"
7 "'K'"
2 "'K'"
10 "'G'"
14 "'P'"
3 "'K'"
0 "'Q'"
0 "'Q'"
6 "'Q'"
-1 "'Q'"
12 "'K'"
8 "'G'"
6 "'K'"
2 "'R'"
3 "'K'"
0 "'N'"
0 "'N'"
0 "'N'"
15 "'K'"
3 "'K'"
5 "'N'"
3 "'G'"
14 "'G'"
3 "'G'"
3 "'G'"
12 "'G'"
3 "'R'"
3 "'G'"
8 "'G'"




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

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







ANOVA Model
sugars ~ mfr
means34.9554.565-1.1675.7782.253.125

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
sugars  ~  mfr \tabularnewline
means & 3 & 4.955 & 4.565 & -1.167 & 5.778 & 2.25 & 3.125 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=316234&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]sugars  ~  mfr[/C][/ROW]
[ROW][C]means[/C][C]3[/C][C]4.955[/C][C]4.565[/C][C]-1.167[/C][C]5.778[/C][C]2.25[/C][C]3.125[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=316234&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=316234&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
sugars ~ mfr
means34.9554.565-1.1675.7782.253.125







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
mfr6262.16243.6942.4680.032
Residuals701239.37117.705

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
mfr & 6 & 262.162 & 43.694 & 2.468 & 0.032 \tabularnewline
Residuals & 70 & 1239.371 & 17.705 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=316234&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]mfr[/C][C]6[/C][C]262.162[/C][C]43.694[/C][C]2.468[/C][C]0.032[/C][/ROW]
[ROW][C]Residuals[/C][C]70[/C][C]1239.371[/C][C]17.705[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=316234&T=2

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







Tukey Honest Significant Difference Comparisons
difflwruprp adj
'G'-'A'4.955-8.10618.0150.909
'K'-'A'4.565-8.48317.6140.937
'N'-'A'-1.167-14.96412.631
'P'-'A'5.778-7.68719.2420.848
'Q'-'A'2.25-11.29815.7980.999
'R'-'A'3.125-10.42316.6730.992
'K'-'G'-0.389-4.1993.421
'N'-'G'-6.121-12.004-0.2380.036
'P'-'G'0.823-4.2315.8780.999
'Q'-'G'-2.705-7.9782.5690.71
'R'-'G'-1.83-7.1033.4440.939
'N'-'K'-5.732-11.5880.1240.059
'P'-'K'1.213-3.816.2350.99
'Q'-'K'-2.315-7.5582.9280.83
'R'-'K'-1.44-6.6833.8030.981
'P'-'N'6.9440.21213.6770.039
'Q'-'N'3.417-3.48210.3150.742
'R'-'N'4.292-2.60711.190.495
'Q'-'P'-3.528-9.7352.6790.602
'R'-'P'-2.653-8.863.5540.851
'R'-'Q'0.875-5.5127.2621

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
'G'-'A' & 4.955 & -8.106 & 18.015 & 0.909 \tabularnewline
'K'-'A' & 4.565 & -8.483 & 17.614 & 0.937 \tabularnewline
'N'-'A' & -1.167 & -14.964 & 12.63 & 1 \tabularnewline
'P'-'A' & 5.778 & -7.687 & 19.242 & 0.848 \tabularnewline
'Q'-'A' & 2.25 & -11.298 & 15.798 & 0.999 \tabularnewline
'R'-'A' & 3.125 & -10.423 & 16.673 & 0.992 \tabularnewline
'K'-'G' & -0.389 & -4.199 & 3.42 & 1 \tabularnewline
'N'-'G' & -6.121 & -12.004 & -0.238 & 0.036 \tabularnewline
'P'-'G' & 0.823 & -4.231 & 5.878 & 0.999 \tabularnewline
'Q'-'G' & -2.705 & -7.978 & 2.569 & 0.71 \tabularnewline
'R'-'G' & -1.83 & -7.103 & 3.444 & 0.939 \tabularnewline
'N'-'K' & -5.732 & -11.588 & 0.124 & 0.059 \tabularnewline
'P'-'K' & 1.213 & -3.81 & 6.235 & 0.99 \tabularnewline
'Q'-'K' & -2.315 & -7.558 & 2.928 & 0.83 \tabularnewline
'R'-'K' & -1.44 & -6.683 & 3.803 & 0.981 \tabularnewline
'P'-'N' & 6.944 & 0.212 & 13.677 & 0.039 \tabularnewline
'Q'-'N' & 3.417 & -3.482 & 10.315 & 0.742 \tabularnewline
'R'-'N' & 4.292 & -2.607 & 11.19 & 0.495 \tabularnewline
'Q'-'P' & -3.528 & -9.735 & 2.679 & 0.602 \tabularnewline
'R'-'P' & -2.653 & -8.86 & 3.554 & 0.851 \tabularnewline
'R'-'Q' & 0.875 & -5.512 & 7.262 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=316234&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]'G'-'A'[/C][C]4.955[/C][C]-8.106[/C][C]18.015[/C][C]0.909[/C][/ROW]
[ROW][C]'K'-'A'[/C][C]4.565[/C][C]-8.483[/C][C]17.614[/C][C]0.937[/C][/ROW]
[ROW][C]'N'-'A'[/C][C]-1.167[/C][C]-14.964[/C][C]12.63[/C][C]1[/C][/ROW]
[ROW][C]'P'-'A'[/C][C]5.778[/C][C]-7.687[/C][C]19.242[/C][C]0.848[/C][/ROW]
[ROW][C]'Q'-'A'[/C][C]2.25[/C][C]-11.298[/C][C]15.798[/C][C]0.999[/C][/ROW]
[ROW][C]'R'-'A'[/C][C]3.125[/C][C]-10.423[/C][C]16.673[/C][C]0.992[/C][/ROW]
[ROW][C]'K'-'G'[/C][C]-0.389[/C][C]-4.199[/C][C]3.42[/C][C]1[/C][/ROW]
[ROW][C]'N'-'G'[/C][C]-6.121[/C][C]-12.004[/C][C]-0.238[/C][C]0.036[/C][/ROW]
[ROW][C]'P'-'G'[/C][C]0.823[/C][C]-4.231[/C][C]5.878[/C][C]0.999[/C][/ROW]
[ROW][C]'Q'-'G'[/C][C]-2.705[/C][C]-7.978[/C][C]2.569[/C][C]0.71[/C][/ROW]
[ROW][C]'R'-'G'[/C][C]-1.83[/C][C]-7.103[/C][C]3.444[/C][C]0.939[/C][/ROW]
[ROW][C]'N'-'K'[/C][C]-5.732[/C][C]-11.588[/C][C]0.124[/C][C]0.059[/C][/ROW]
[ROW][C]'P'-'K'[/C][C]1.213[/C][C]-3.81[/C][C]6.235[/C][C]0.99[/C][/ROW]
[ROW][C]'Q'-'K'[/C][C]-2.315[/C][C]-7.558[/C][C]2.928[/C][C]0.83[/C][/ROW]
[ROW][C]'R'-'K'[/C][C]-1.44[/C][C]-6.683[/C][C]3.803[/C][C]0.981[/C][/ROW]
[ROW][C]'P'-'N'[/C][C]6.944[/C][C]0.212[/C][C]13.677[/C][C]0.039[/C][/ROW]
[ROW][C]'Q'-'N'[/C][C]3.417[/C][C]-3.482[/C][C]10.315[/C][C]0.742[/C][/ROW]
[ROW][C]'R'-'N'[/C][C]4.292[/C][C]-2.607[/C][C]11.19[/C][C]0.495[/C][/ROW]
[ROW][C]'Q'-'P'[/C][C]-3.528[/C][C]-9.735[/C][C]2.679[/C][C]0.602[/C][/ROW]
[ROW][C]'R'-'P'[/C][C]-2.653[/C][C]-8.86[/C][C]3.554[/C][C]0.851[/C][/ROW]
[ROW][C]'R'-'Q'[/C][C]0.875[/C][C]-5.512[/C][C]7.262[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=316234&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=316234&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
'G'-'A'4.955-8.10618.0150.909
'K'-'A'4.565-8.48317.6140.937
'N'-'A'-1.167-14.96412.631
'P'-'A'5.778-7.68719.2420.848
'Q'-'A'2.25-11.29815.7980.999
'R'-'A'3.125-10.42316.6730.992
'K'-'G'-0.389-4.1993.421
'N'-'G'-6.121-12.004-0.2380.036
'P'-'G'0.823-4.2315.8780.999
'Q'-'G'-2.705-7.9782.5690.71
'R'-'G'-1.83-7.1033.4440.939
'N'-'K'-5.732-11.5880.1240.059
'P'-'K'1.213-3.816.2350.99
'Q'-'K'-2.315-7.5582.9280.83
'R'-'K'-1.44-6.6833.8030.981
'P'-'N'6.9440.21213.6770.039
'Q'-'N'3.417-3.48210.3150.742
'R'-'N'4.292-2.60711.190.495
'Q'-'P'-3.528-9.7352.6790.602
'R'-'P'-2.653-8.863.5540.851
'R'-'Q'0.875-5.5127.2621







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group61.1160.362
70

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

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



Parameters (Session):
Parameters (R input):
par1 = 1 ; par2 = 2 ; par3 = TRUE ;
R code (references can be found in the software module):
par3 <- 'TRUE'
par2 <- '1'
par1 <- '2'
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')