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, 07 Dec 2014 12:38:51 +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/Dec/07/t1417956339p7em6c9bhagpbs9.htm/, Retrieved Thu, 16 May 2024 13:19:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=263759, Retrieved Thu, 16 May 2024 13:19:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact79
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)] [] [2014-12-07 12:38:51] [c7f962214140f976f2c4b1bb2571d9df] [Current]
Feedback Forum

Post a new message
Dataseries X:
325.87 3.40
302.25 4.80
294.00 6.50
285.43 8.50
286.19 13.60
276.70 15.70
267.77 18.80
267.03 19.20
257.87 12.90
257.19 14.40
275.60 6.20
305.68 2.40
358.06 4.60
320.07 7.10
295.90 7.80
291.27 9.90
272.87 13.90
269.27 17.10
271.32 17.80
267.45 18.30
260.33 14.70
277.94 10.50
277.07 8.60
312.65 4.40
319.71 2.30
318.39 2.80
304.90 8.80
303.73 10.70
273.29 12.80
274.33 19.30
270.45 19.50
278.23 20.30
274.03 15.30
279.00 7.90
287.50 8.30
336.87 4.50
334.10 3.20
296.07 5.00
286.84 6.60
277.63 11.10
261.32 13.40
264.07 16.30
261.94 17.40
252.84 18.90
257.83 15.80
271.16 11.70
273.63 6.40
304.87 2.90
323.90 4.70
336.11 2.40
335.65 7.00
282.23 10.60
273.03 12.80
270.07 17.70
246.03 18.20
242.35 16.50
250.33 16.20
267.45 13.90
268.80 6.60
302.68 3.60
313.10 1.40
306.39 2.60
305.61 4.30
277.27 8.80
264.94 14.50
268.63 16.80
293.90 22.70
248.65 15.70
256.00 18.20
258.52 14.20
266.90 9.10
281.23 5.90
306.00 7.00
325.46 6.20
291.13 7.80
282.53 14.30
256.52 14.60
258.63 17.30
252.74 17.10
245.16 17.00
255.03 13.90
268.35 10.30
293.73 6.70
278.39 3.90




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ jenkins.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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=263759&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=263759&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=263759&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 time1 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







ANOVA Model
St ~ Tt
means313.1268.35277.94282.23303.73277.63271.16273.16257.87261.32286.19265.117258.52282.53257.19264.94256.52260.33274.03262.675257.83250.33264.07242.35268.63245.16261.005258.63261.94270.07271.32251.015267.45267.77252.84267.03274.33270.45319.71320.895306.39318.39304.87278.23293.9334.1325.87302.68278.39305.61312.65336.87358.06323.9302.25296.07281.23300.53273.63294277.82293.73320.825320.07293.515279287.5285.43277.07291.085266.9291.27

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
St  ~  Tt \tabularnewline
means & 313.1 & 268.35 & 277.94 & 282.23 & 303.73 & 277.63 & 271.16 & 273.16 & 257.87 & 261.32 & 286.19 & 265.117 & 258.52 & 282.53 & 257.19 & 264.94 & 256.52 & 260.33 & 274.03 & 262.675 & 257.83 & 250.33 & 264.07 & 242.35 & 268.63 & 245.16 & 261.005 & 258.63 & 261.94 & 270.07 & 271.32 & 251.015 & 267.45 & 267.77 & 252.84 & 267.03 & 274.33 & 270.45 & 319.71 & 320.895 & 306.39 & 318.39 & 304.87 & 278.23 & 293.9 & 334.1 & 325.87 & 302.68 & 278.39 & 305.61 & 312.65 & 336.87 & 358.06 & 323.9 & 302.25 & 296.07 & 281.23 & 300.53 & 273.63 & 294 & 277.82 & 293.73 & 320.825 & 320.07 & 293.515 & 279 & 287.5 & 285.43 & 277.07 & 291.085 & 266.9 & 291.27 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=263759&T=1

[TABLE]
[ROW]ANOVA Model[/C][/ROW]
[ROW]St  ~  Tt[/C][/ROW]
[ROW][C]means[/C][C]313.1[/C][C]268.35[/C][C]277.94[/C][C]282.23[/C][C]303.73[/C][C]277.63[/C][C]271.16[/C][C]273.16[/C][C]257.87[/C][C]261.32[/C][C]286.19[/C][C]265.117[/C][C]258.52[/C][C]282.53[/C][C]257.19[/C][C]264.94[/C][C]256.52[/C][C]260.33[/C][C]274.03[/C][C]262.675[/C][C]257.83[/C][C]250.33[/C][C]264.07[/C][C]242.35[/C][C]268.63[/C][C]245.16[/C][C]261.005[/C][C]258.63[/C][C]261.94[/C][C]270.07[/C][C]271.32[/C][C]251.015[/C][C]267.45[/C][C]267.77[/C][C]252.84[/C][C]267.03[/C][C]274.33[/C][C]270.45[/C][C]319.71[/C][C]320.895[/C][C]306.39[/C][C]318.39[/C][C]304.87[/C][C]278.23[/C][C]293.9[/C][C]334.1[/C][C]325.87[/C][C]302.68[/C][C]278.39[/C][C]305.61[/C][C]312.65[/C][C]336.87[/C][C]358.06[/C][C]323.9[/C][C]302.25[/C][C]296.07[/C][C]281.23[/C][C]300.53[/C][C]273.63[/C][C]294[/C][C]277.82[/C][C]293.73[/C][C]320.825[/C][C]320.07[/C][C]293.515[/C][C]279[/C][C]287.5[/C][C]285.43[/C][C]277.07[/C][C]291.085[/C][C]266.9[/C][C]291.27[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=263759&T=1

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







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
Tt726787692.41194273.506328.0580
Residuals123448.425287.369

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
Tt & 72 & 6787692.411 & 94273.506 & 328.058 & 0 \tabularnewline
Residuals & 12 & 3448.425 & 287.369 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=263759&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]Tt[/C][C]72[/C][C]6787692.411[/C][C]94273.506[/C][C]328.058[/C][C]0[/C][/ROW]
[ROW][C]Residuals[/C][C]12[/C][C]3448.425[/C][C]287.369[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=263759&T=2

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







Must Include Intercept to use Tukey Test

\begin{tabular}{lllllllll}
\hline
Must Include Intercept to use Tukey Test  \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=263759&T=3

[TABLE]
[ROW][C]Must Include Intercept to use Tukey Test [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=263759&T=3

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

As an alternative you can also use a QR Code:  

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

Must Include Intercept to use Tukey Test







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group715.9740.001
12

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

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



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