Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_Mixed Model ANOVA.wasp
Title produced by softwareMixed Within-Between Two-Way ANOVA
Date of computationTue, 07 Dec 2021 15:52:47 +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/2021/Dec/07/t1638888767umc0kq52z2j6vlb.htm/, Retrieved Wed, 15 May 2024 06:16:03 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Wed, 15 May 2024 06:16:03 +0200
QR Codes:

Original text written by user:555
IsPrivate?No (this computation is public)
User-defined keywords555
Estimated Impact0
Dataseries X:
1ˤˢ%2527%2522




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

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



Parameters (Session):
par1 = 1 ; par2 = 1 ;
Parameters (R input):
par1 = 5 ; par2 = 3 ; par3 = 4 ; par4 = 2 ; par5 = 1 ;
R code (references can be found in the software module):
par5 <- '1'
par4 <- '2'
par3 <- '4'
par2 <- '3'
par1 <- '5'
cat1 <- as.numeric(par1) #
cat2<- as.numeric(par2) #
cat3 <- as.numeric(par3)
cat4 <-as.numeric(par4)
cat5 <-as.numeric(par5)
x <- t(x)
x1<-as.numeric(x[,cat1])
wf1<-as.character(x[,cat2])
wf2 <- as.character(x[,cat3])
bf1 <- as.character(x[,cat4])
sid<- as.character(x[,cat5]) # author of ez changed within subjects variable name from sid to wid
xdf<-data.frame(x1,wf1, wf2, bf1, sid)
(V1<-dimnames(y)[[1]][cat1])
(V2<-dimnames(y)[[1]][cat2])
(V3 <-dimnames(y)[[1]][cat3])
(V4 <-dimnames(y)[[1]][cat4])
(V5 <-dimnames(y)[[1]][cat5])
names(xdf)<-c(V1, V2, V3, V4, V5)
library(ez)
library(Cairo)
(ezout <- ezANOVA(data=xdf, dv=.(mean_rt), wid=.(sid), within=.(cue, flanker), between=.(group) ) )
load(file='createtable')
a<-table.start()
nr <- nrow(ezout$ANOVA)
nc <- ncol(ezout$ANOVA)
a<-table.row.start(a)
a<-table.element(a,'Repeated Measures ANOVA', nc+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'effect', 1,TRUE)
a<-table.element(a,'Dfn',1,TRUE)
a<-table.element(a,'DFd', 1,TRUE)
a<-table.element(a, 'F', 1,TRUE)
a<-table.element(a,'p', 1,TRUE)
a<-table.element(a,'p<0.05', 1,TRUE)
a<-table.element(a, 'ges', 1,TRUE) # generalized eta-sq - was partial eta-sq in earlier version
a<-table.row.end(a)
for ( i in 1:nr){
a<-table.row.start(a)
a<-table.element(a,ezout$ANOVA$Effect[i], 1, TRUE)
for(j in 2:nc){
if ( j != 6) # author of ez reduced number of columns in output from 8
a<-table.element(a,round(ezout$ANOVA[[j]][i], digits=3), 1, FALSE)
else a<-table.element(a, ezout$ANOVA[[j]][i], 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
nr <- nrow(ezout$Mauchly)
nc <- ncol(ezout$Mauchly)
a<-table.row.start(a)
a<-table.element(a,'Mauchlys Test for Sphericity', nc+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'effect', 1,TRUE)
a<-table.element(a,'W',1,TRUE)
a<-table.element(a,'p', 1,TRUE)
a<-table.element(a,'p<0.05', 1,TRUE)
a<-table.row.end(a)
for ( i in 1:nr){
a<-table.row.start(a)
a<-table.element(a,ezout$Mauchly$Effect[i], 1, TRUE)
for(j in 2:nc){
if (j != 4)
a<-table.element(a,round(ezout$Mauchly[[j]][i], digits = 3), 1, FALSE)
else
a<-table.element(a,ezout$Mauchly[[j]][i], 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
nr <- nrow(ezout$Spher)
nc <- ncol(ezout$Sphe)
a<-table.row.start(a)
a<-table.element(a,'Sphericity Corrections', nc+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'effect', 1,TRUE)
a<-table.element(a,'GGe',1,TRUE)
a<-table.element(a,'p[GG]', 1,TRUE)
a<-table.element(a,'p[GG]<0.05', 1,TRUE)
a<-table.element(a,'HFe', 1,TRUE)
a<-table.element(a,'p[HF]', 1,TRUE)
a<-table.element(a,'p[HF]<0.05', 1,TRUE)
a<-table.row.end(a)
for ( i in 1:nr){
a<-table.row.start(a)
a<-table.element(a,ezout$Spher$Effect[i], 1, TRUE)
for(j in 2:nc){
if ( ! ((j == 4) | (j == 7)) )
a<-table.element(a,round(ezout$Spher[[j]][i], digits=3), 1, FALSE)
else
a<-table.element(a,ezout$Spher[[j]][i], 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
ezP.between<-ezPlot(data = xdf, dv = .(mean_rt), between = .(group), wid = .(sid), do_lines=FALSE, x_lab='group', y_lab='RT' , x=.(group))
bitmap(file = 'between.cairo')
print(ezP.between)
dev.off()
ezstats_between<-ezStats(data = xdf, dv = .(mean_rt), between =.(group), wid = .(sid))
a<-table.start()
nr <- nrow(ezstats_between)
nc <- ncol(ezstats_between)
a<-table.row.start(a)
a<-table.element(a,'Between Effects Comparisons', nc+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
for(i in 1:nc){
a<-table.element(a, names(ezstats_between)[i], 1,TRUE)
}
a<-table.row.end(a)
for ( i in 1:nr){
a<-table.row.start(a)
a<-table.element(a,ezstats_between[[1]][i], 1, TRUE)
for(j in 2:nc){
a<-table.element(a,ezstats_between[[j]][i], 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable3.tab')
ezP.within<-ezPlot(data = xdf, dv = .(mean_rt), within = .(cue, flanker), wid = .(sid), do_lines=TRUE, x_lab='flanker', y_lab='RT' , x=.(flanker), split=.(cue), split_lab = 'cue')
bitmap(file = 'within.cairo')
print(ezP.within)
dev.off()
ezstats_within <- ezStats(data = xdf, dv = .(mean_rt), within = .(cue, flanker), wid = .(sid))
a<-table.start()
nr <- nrow(ezstats_within)
nc <- ncol(ezstats_within)
a<-table.row.start(a)
a<-table.element(a,'Within Effects Comparisons', nc+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
for(i in 1:nc){
a<-table.element(a, names(ezstats_within)[i], 1,TRUE)
}
a<-table.row.end(a)
for ( i in 1:nr){
a<-table.row.start(a)
a<-table.element(a,ezstats_within[[1]][i], 1, TRUE)
for(j in 2:nc){
a<-table.element(a, ezstats_within[[j]][i], 1, FALSE)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')