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 computationThu, 18 Dec 2014 17:21:58 +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/18/t14189233489yxy9yfrnff5fz4.htm/, Retrieved Sun, 19 May 2024 18:48:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=271155, Retrieved Sun, 19 May 2024 18:48:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact86
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: PRH ...] [2014-12-18 17:21:58] [563beb1edea669d15db48231c3b63ca2] [Current]
Feedback Forum

Post a new message
Dataseries X:
18 "'2011S'"
7 "'2011S'"
31 "'2011S'"
39 "'2011S'"
46 "'2011S'"
31 "'2011S'"
67 "'2011S'"
35 "'2011S'"
52 "'2011S'"
77 "'2011S'"
37 "'2011S'"
32 "'2011S'"
36 "'2011S'"
38 "'2011S'"
69 "'2011S'"
21 "'2011S'"
26 "'2011B'"
54 "'2011S'"
36 "'2011S'"
42 "'2011B'"
23 "'2011S'"
34 "'2011S'"
112 "'2011S'"
35 "'2011S'"
47 "'2011S'"
47 "'2011S'"
37 "'2011S'"
109 "'2011B'"
24 "'2011B'"
20 "'2011S'"
22 "'2011S'"
23 "'2011S'"
32 "'2011S'"
7 "'2011S'"
30 "'2011S'"
92 "'2011S'"
43 "'2011S'"
55 "'2011S'"
16 "'2011S'"
49 "'2011B'"
71 "'2011S'"
43 "'2011S'"
29 "'2011S'"
56 "'2011S'"
46 "'2011S'"
19 "'2011S'"
23 "'2011B'"
59 "'2011S'"
30 "'2011S'"
61 "'2011B'"
7 "'2011S'"
38 "'2011B'"
32 "'2011B'"
16 "'2011B'"
19 "'2011S'"
22 "'2011B'"
48 "'2011S'"
23 "'2011S'"
26 "'2011B'"
33 "'2011S'"
9 "'2011B'"
24 "'2011B'"
34 "'2011S'"
48 "'2011S'"
18 "'2011S'"
43 "'2011S'"
33 "'2011S'"
28 "'2011B'"
71 "'2011S'"
26 "'2011S'"
67 "'2011S'"
34 "'2011B'"
80 "'2011S'"
29 "'2011S'"
16 "'2011B'"
59 "'2011B'"
58 "'2011S'"
32 "'2011S'"
47 "'2011S'"
43 "'2011S'"
38 "'2011B'"
29 "'2011S'"
36 "'2011B'"
32 "'2011S'"
35 "'2011B'"
21 "'2011B'"
29 "'2011B'"
12 "'2011B'"
37 "'2011B'"
37 "'2011B'"
47 "'2011B'"
51 "'2011B'"
32 "'2011B'"
21 "'2011B'"
13 "'2011B'"
14 "'2011B'"
-2 "'2011B'"
20 "'2011B'"
24 "'2011B'"
11 "'2011B'"
23 "'2011B'"
24 "'2011B'"
14 "'2011B'"
52 "'2011B'"
15 "'2011B'"
23 "'2011B'"
19 "'2011B'"
35 "'2011B'"
24 "'2011B'"
39 "'2011B'"
29 "'2011B'"
13 "'2011B'"
8 "'2011B'"
18 "'2011B'"
24 "'2011B'"
19 "'2011B'"
23 "'2012S'"
16 "'2012S'"
33 "'2012S'"
32 "'2012S'"
37 "'2012B'"
14 "'2012B'"
52 "'2012S'"
75 "'2012S'"
72 "'2012S'"
15 "'2012S'"
29 "'2012S'"
13 "'2012S'"
40 "'2012S'"
19 "'2012S'"
24 "'2012S'"
121 "'2012S'"
93 "'2012B'"
36 "'2012S'"
23 "'2012S'"
85 "'2012S'"
41 "'2012S'"
46 "'2012S'"
18 "'2012S'"
35 "'2012S'"
17 "'2012S'"
4 "'2012S'"
28 "'2012S'"
44 "'2012S'"
10 "'2012B'"
38 "'2012S'"
57 "'2012S'"
23 "'2012S'"
26 "'2012S'"
36 "'2012S'"
22 "'2012S'"
40 "'2012S'"
18 "'2012S'"
31 "'2012S'"
11 "'2012S'"
38 "'2012S'"
24 "'2012S'"
37 "'2012S'"
37 "'2012S'"
22 "'2012S'"
15 "'2012B'"
2 "'2012B'"
43 "'2012S'"
31 "'2012S'"
29 "'2012B'"
45 "'2012B'"
25 "'2012B'"
4 "'2012B'"
31 "'2012S'"
-4 "'2012S'"
66 "'2012B'"
61 "'2012B'"
32 "'2012B'"
31 "'2012B'"
39 "'2012B'"
19 "'2012B'"
31 "'2012B'"
36 "'2012B'"
42 "'2012B'"
21 "'2012S'"
21 "'2012S'"
25 "'2012B'"
32 "'2012S'"
26 "'2012S'"
28 "'2012B'"
32 "'2012S'"
41 "'2012B'"
29 "'2012B'"
33 "'2012S'"
17 "'2012B'"
13 "'2012B'"
32 "'2012B'"
30 "'2012B'"
34 "'2012B'"
59 "'2012B'"
13 "'2012B'"
23 "'2012B'"
10 "'2012B'"
5 "'2012B'"
31 "'2012B'"
19 "'2012B'"
32 "'2012B'"
30 "'2012S'"
25 "'2012B'"
48 "'2012B'"
35 "'2012B'"
67 "'2012S'"
15 "'2012B'"
22 "'2012S'"
18 "'2012B'"
33 "'2012S'"
46 "'2012B'"
24 "'2012S'"
14 "'2012B'"
23 "'2012B'"
12 "'2012B'"
38 "'2012B'"
12 "'2012B'"
28 "'2012S'"
41 "'2012S'"
12 "'2012B'"
31 "'2012S'"
33 "'2012S'"
34 "'2012B'"
41 "'2012S'"
21 "'2012S'"
20 "'2012B'"
44 "'2012B'"
52 "'2012S'"
7 "'2012B'"
29 "'2012S'"
11 "'2012S'"
26 "'2012S'"
24 "'2012B'"
7 "'2012S'"
60 "'2012B'"
13 "'2012S'"
20 "'2012S'"
52 "'2012S'"
28 "'2012S'"
25 "'2012B'"
39 "'2012S'"
9 "'2012S'"
19 "'2012S'"
13 "'2012B'"
60 "'2012S'"
19 "'2012S'"
34 "'2012B'"
14 "'2012S'"
17 "'2012B'"
45 "'2012B'"
66 "'2012B'"
24 "'2012S'"
48 "'2012B'"
29 "'2012B'"
-2 "'2012S'"
51 "'2012S'"
2 "'2012S'"
24 "'2012S'"
40 "'2012S'"
20 "'2012S'"
19 "'2012B'"
16 "'2012B'"
20 "'2012S'"
40 "'2012B'"
27 "'2012B'"
25 "'2012S'"
49 "'2012B'"
39 "'2012B'"
61 "'2012B'"
19 "'2012B'"
67 "'2012B'"
45 "'2012B'"
30 "'2012B'"
8 "'2012B'"
19 "'2012B'"
52 "'2012B'"
22 "'2012B'"
17 "'2012B'"
33 "'2012B'"
34 "'2012B'"
22 "'2012B'"
30 "'2012B'"
25 "'2012B'"
38 "'2012S'"
26 "'2012B'"
13 "'2012B'"




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271155&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'George Udny Yule' @ yule.wessa.net







ANOVA Model
PRH ~ course_id
means28.71211.5071.2772.428

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
PRH  ~  course_id \tabularnewline
means & 28.712 & 11.507 & 1.277 & 2.428 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=271155&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]PRH  ~  course_id[/C][/ROW]
[ROW][C]means[/C][C]28.712[/C][C]11.507[/C][C]1.277[/C][C]2.428[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=271155&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271155&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
PRH ~ course_id
means28.71211.5071.2772.428







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
course_id35250.9151750.3055.170.002
Residuals28395802.924338.526

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
course_id & 3 & 5250.915 & 1750.305 & 5.17 & 0.002 \tabularnewline
Residuals & 283 & 95802.924 & 338.526 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=271155&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]course_id[/C][C]3[/C][C]5250.915[/C][C]1750.305[/C][C]5.17[/C][C]0.002[/C][/ROW]
[ROW][C]Residuals[/C][C]283[/C][C]95802.924[/C][C]338.526[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=271155&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271155&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)
course_id35250.9151750.3055.170.002
Residuals28395802.924338.526







Tukey Honest Significant Difference Comparisons
difflwruprp adj
'2011S'-'2011B'11.5072.6320.3850.005
'2012B'-'2011B'1.277-7.0959.6480.979
'2012S'-'2011B'2.428-5.92510.7810.876
'2012B'-'2011S'-10.231-18.1-2.3610.005
'2012S'-'2011S'-9.079-16.929-1.2290.016
'2012S'-'2012B'1.151-6.1218.4240.977

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
'2011S'-'2011B' & 11.507 & 2.63 & 20.385 & 0.005 \tabularnewline
'2012B'-'2011B' & 1.277 & -7.095 & 9.648 & 0.979 \tabularnewline
'2012S'-'2011B' & 2.428 & -5.925 & 10.781 & 0.876 \tabularnewline
'2012B'-'2011S' & -10.231 & -18.1 & -2.361 & 0.005 \tabularnewline
'2012S'-'2011S' & -9.079 & -16.929 & -1.229 & 0.016 \tabularnewline
'2012S'-'2012B' & 1.151 & -6.121 & 8.424 & 0.977 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=271155&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]'2011S'-'2011B'[/C][C]11.507[/C][C]2.63[/C][C]20.385[/C][C]0.005[/C][/ROW]
[ROW][C]'2012B'-'2011B'[/C][C]1.277[/C][C]-7.095[/C][C]9.648[/C][C]0.979[/C][/ROW]
[ROW][C]'2012S'-'2011B'[/C][C]2.428[/C][C]-5.925[/C][C]10.781[/C][C]0.876[/C][/ROW]
[ROW][C]'2012B'-'2011S'[/C][C]-10.231[/C][C]-18.1[/C][C]-2.361[/C][C]0.005[/C][/ROW]
[ROW][C]'2012S'-'2011S'[/C][C]-9.079[/C][C]-16.929[/C][C]-1.229[/C][C]0.016[/C][/ROW]
[ROW][C]'2012S'-'2012B'[/C][C]1.151[/C][C]-6.121[/C][C]8.424[/C][C]0.977[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=271155&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271155&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
'2011S'-'2011B'11.5072.6320.3850.005
'2012B'-'2011B'1.277-7.0959.6480.979
'2012S'-'2011B'2.428-5.92510.7810.876
'2012B'-'2011S'-10.231-18.1-2.3610.005
'2012S'-'2011S'-9.079-16.929-1.2290.016
'2012S'-'2012B'1.151-6.1218.4240.977







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group30.6250.599
283

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271155&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)
Group30.6250.599
283



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