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 computationSat, 11 Dec 2010 19:10:07 +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/2010/Dec/11/t1292094704it21yymzu9xx6ga.htm/, Retrieved Mon, 06 May 2024 13:50:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108286, Retrieved Mon, 06 May 2024 13:50:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact152
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)] [] [2010-11-02 14:17:22] [b98453cac15ba1066b407e146608df68]
-   PD    [One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)] [One-Way ANOVA: Po...] [2010-12-11 19:10:07] [bff44ea937c3f909b1dc9a8bfab919e2] [Current]
Feedback Forum

Post a new message
Dataseries X:
13	13	14	13	3	'LO'
12	12	8	13	5	'LO'
15	10	12	16	6	'LO'
12	9	7	12	6	'AV'
10	10	10	11	5	'AV'
12	12	7	12	3	'LO'
15	13	16	18	8	'AV'
9	12	11	11	4	'LO'
12	12	14	14	4	'AV'
11	6	6	9	4	'LO'
11	5	16	14	6	'AV'
11	12	11	12	6	'LO'
15	11	16	11	5	'AV'
7	14	12	12	4	'AV'
11	14	7	13	6	'LO'
11	12	13	11	4	'LO'
10	12	11	12	6	'LO'
14	11	15	16	6	'AV'
10	11	7	9	4	'LO'
6	7	9	11	4	'LO'
11	9	7	13	2	'LO'
15	11	14	15	7	'AV'
11	11	15	10	5	'AV'
12	12	7	11	4	'LO'
14	12	15	13	6	'LO'
15	11	17	16	6	'LO'
9	11	15	15	7	'LO'
13	8	14	14	5	'AV'
13	9	14	14	6	'LO'
16	12	8	14	4	'AV'
13	10	8	8	4	'AV'
12	10	14	13	7	'AV'
14	12	14	15	7	'AV'
11	8	8	13	4	'LO'
9	12	11	11	4	'LO'
16	11	16	15	6	'AV'
12	12	10	15	6	'AV'
10	7	8	9	5	'AV'
13	11	14	13	6	'LO'
16	11	16	16	7	'AV'
14	12	13	13	6	'AV'
15	9	5	11	3	'LO'
5	15	8	12	3	'LO'
8	11	10	12	4	'LO'
11	11	8	12	6	'LO'
16	11	13	14	7	'AV'
17	11	15	14	5	'HI'
9	15	6	8	4	'LO'
9	11	12	13	5	'LO'
13	12	16	16	6	'LO'
10	12	5	13	6	'LO'
6	9	15	11	6	'AV'
12	12	12	14	5	'LO'
8	12	8	13	4	'LO'
14	13	13	13	5	'LO'
12	11	14	13	5	'AV'
11	9	12	12	4	'LO'
16	9	16	16	6	'AV'
8	11	10	15	2	'AV'
15	11	15	15	8	'LO'
7	12	8	12	3	'LO'
16	12	16	14	6	'AV'
14	9	19	12	6	'LO'
16	11	14	15	6	'LO'
9	9	6	12	5	'AV'
14	12	13	13	5	'LO'
11	12	15	12	6	'AV'
13	12	7	12	5	'LO'
15	12	13	13	6	'AV'
5	14	4	5	2	'LO'
15	11	14	13	5	'AV'
13	12	13	13	5	'AV'
11	11	11	14	5	'AV'
11	6	14	17	6	'AV'
12	10	12	13	6	'AV'
12	12	15	13	6	'AV'
12	13	14	12	5	'AV'
12	8	13	13	5	'AV'
14	12	8	14	4	'LO'
6	12	6	11	2	'LO'
7	12	7	12	4	'LO'
14	6	13	12	6	'AV'
14	11	13	16	6	'AV'
10	10	11	12	5	'LO'
13	12	5	12	3	'AV'
12	13	12	12	6	'LO'
9	11	8	10	4	'LO'
12	7	11	15	5	'LO'
16	11	14	15	8	'LO'
10	11	9	12	4	'AV'
14	11	10	16	6	'LO'
10	11	13	15	6	'AV'
16	12	16	16	7	'AV'
15	10	16	13	6	'AV'
12	11	11	12	5	'AV'
10	12	8	11	4	'LO'
8	7	4	13	6	'LO'
8	13	7	10	3	'LO'
11	8	14	15	5	'LO'
13	12	11	13	6	'AV'
16	11	17	16	7	'AV'
16	12	15	15	7	'AV'
14	14	17	18	6	'LO'
11	10	5	13	3	'LO'
4	10	4	10	2	'LO'
14	13	10	16	8	'AV'
9	10	11	13	3	'AV'
14	11	15	15	8	'AV'
8	10	10	14	3	'LO'
8	7	9	15	4	'LO'
11	10	12	14	5	'LO'
12	8	15	13	7	'LO'
11	12	7	13	6	'LO'
14	12	13	15	6	'LO'
15	12	12	16	7	'AV'
16	11	14	14	6	'AV'
16	12	14	14	6	'LO'
11	12	8	16	6	'LO'
14	12	15	14	6	'AV'
14	11	12	12	4	'LO'
12	12	12	13	4	'AV'
14	11	16	12	5	'AV'
8	11	9	12	4	'AV'
13	13	15	14	6	'AV'
16	12	15	14	6	'AV'
12	12	6	14	5	'LO'
16	12	14	16	8	'AV'
12	12	15	13	6	'LO'
11	8	10	14	5	'LO'
4	8	6	4	4	'LO'
16	12	14	16	8	'HI'
15	11	12	13	6	'AV'
10	12	8	16	4	'LO'
13	13	11	15	6	'HI'
15	12	13	14	6	'LO'
12	12	9	13	4	'LO'
14	11	15	14	6	'AV'
7	12	13	12	3	'LO'
19	12	15	15	6	'LO'
12	10	14	14	5	'AV'
12	11	16	13	4	'LO'
13	12	14	14	6	'LO'
15	12	14	16	4	'LO'
8	10	10	6	4	'AV'
12	12	10	13	4	'LO'
10	13	4	13	6	'LO'
8	12	8	14	5	'LO'
10	15	15	15	6	'AV'
15	11	16	14	6	'AV'
16	12	12	15	8	'LO'
13	11	12	13	7	'AV'
16	12	15	16	7	'AV'
9	11	9	12	4	'LO'
14	10	12	15	6	'LO'
14	11	14	12	6	'AV'
12	11	11	14	2	'LO'




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108286&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108286&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108286&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 time2 seconds
R Server'George Udny Yule' @ 72.249.76.132







ANOVA Model
Popularity ~ SumFriends1Cat
means12.9282.406-1.725

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
Popularity  ~  SumFriends1Cat \tabularnewline
means & 12.928 & 2.406 & -1.725 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108286&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]Popularity  ~  SumFriends1Cat[/C][/ROW]
[ROW][C]means[/C][C]12.928[/C][C]2.406[/C][C]-1.725[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108286&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108286&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
Popularity ~ SumFriends1Cat
means12.9282.406-1.725







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
SumFriends1Cat2145.82272.9119.3670
Residuals1531190.8647.783

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
SumFriends1Cat & 2 & 145.822 & 72.911 & 9.367 & 0 \tabularnewline
Residuals & 153 & 1190.864 & 7.783 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108286&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]SumFriends1Cat[/C][C]2[/C][C]145.822[/C][C]72.911[/C][C]9.367[/C][C]0[/C][/ROW]
[ROW][C]Residuals[/C][C]153[/C][C]1190.864[/C][C]7.783[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108286&T=2

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







Tukey Honest Significant Difference Comparisons
difflwruprp adj
HI-AV2.406-1.4886.30.312
LO-AV-1.725-2.798-0.6520.001
LO-HI-4.131-8.011-0.2510.034

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
HI-AV & 2.406 & -1.488 & 6.3 & 0.312 \tabularnewline
LO-AV & -1.725 & -2.798 & -0.652 & 0.001 \tabularnewline
LO-HI & -4.131 & -8.011 & -0.251 & 0.034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108286&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]HI-AV[/C][C]2.406[/C][C]-1.488[/C][C]6.3[/C][C]0.312[/C][/ROW]
[ROW][C]LO-AV[/C][C]-1.725[/C][C]-2.798[/C][C]-0.652[/C][C]0.001[/C][/ROW]
[ROW][C]LO-HI[/C][C]-4.131[/C][C]-8.011[/C][C]-0.251[/C][C]0.034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108286&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108286&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
HI-AV2.406-1.4886.30.312
LO-AV-1.725-2.798-0.6520.001
LO-HI-4.131-8.011-0.2510.034







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group20.9910.374
153

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

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



Parameters (Session):
par1 = 1 ; par2 = 6 ; par3 = TRUE ;
Parameters (R input):
par1 = 1 ; par2 = 6 ; 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){
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<-levene.test(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')