Home » date » 2010 » Nov » 29 »

COMPENDIUM 8

*The author of this computation has been verified*
R Software Module: Ian.Holliday/rwasp_One Factor ANOVA.wasp (opens new window with default values)
Title produced by software: One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)
Date of computation: Mon, 29 Nov 2010 00:00:48 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988883u5arabniph7vots.htm/, Retrieved Mon, 29 Nov 2010 01:01:26 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988883u5arabniph7vots.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
36 1 36 1 56 2 48 2 32 2 44 1 39 2 34 2 41 3 50 3 39 1 62 3 52 2 37 3 50 3 41 1 55 2 41 2 56 3 39 2 52 1 46 2 44 2 48 2 41 2 50 3 50 3 44 2 52 1 54 2 44 2 52 3 37 2 52 3 50 3 36 1 50 1 52 3 55 3 31 2 36 1 49 1 42 1 37 2 41 2 30 1 52 1 30 3 41 2 44 1 66 2 48 3 43 2 57 2 46 1 54 3 48 3 48 2 52 1 62 1 58 3 58 2 62 2 48 2 46 2 34 1 66 2 52 3 55 2 55 1 57 3 56 1 55 2 56 3 54 1 55 3 46 2 52 1 32 2 44 1 46 2 59 2 46 3 46 3 54 3 66 3 56 2 59 2 57 2 52 3 48 1 44 1 41 2 50 1 48 3 48 2 59 2 34 46 2 54 2 55 2 54 3 59 2 44 2 54 3 52 3 66 3 44 2 57 2 39 1 60 3 45 2 41 2 50 2 39 2 43 2 48 2 37 2 58 2 46 1 43 1 44 2 34 3 30 1 50 3 39 1 37 2 55 2 48 3 41 39 1 36 3 43 2 50 3 55 2 43 2 60 3 48 2 30 3 43 2 39 1 52 2 39 1 39 1 56 1 59 1 46 2 57 2 50 2 54 1 50 3 60 3 59 3 41 2 48 1 59 2 60 3 56 2 56 2 51 1
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


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


ANOVA Model
MC30VRB ~ MWARM30
means45.8382.5265.051-42.838-43.838-44.338-43.505-43.338-44.338-43.838-42.838-27.838-43.838-44.338-42.838-43.838-43.838-43.838-43.838-42.838-44.838-42.838


ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
MWARM302153365.2172541.20138.1760
Residuals1389185.97766.565


Tukey Honest Significant Difference Comparisons
difflwruprp adj
2-12.526-3.8338.8850.998
3-15.051-1.9512.0530.523
30-1-42.838-73.147-12.5290
34-1-43.838-74.147-13.5290
37-1-44.338-66.05-22.6260
39-1-43.505-61.458-25.5510
41-1-43.338-65.05-21.6260
43-1-44.338-66.05-22.6260
44-1-43.838-61.791-25.8840
45-1-42.838-73.147-12.5290
46-1-27.838-49.55-6.1260.001
48-1-43.838-65.55-22.1260
50-1-44.338-66.05-22.6260
52-1-42.838-73.147-12.5290
54-1-43.838-61.791-25.8840
55-1-43.838-65.55-22.1260
57-1-43.838-74.147-13.5290
58-1-43.838-74.147-13.5290
59-1-42.838-73.147-12.5290
60-1-44.838-75.147-14.5290
66-1-42.838-73.147-12.5290
3-22.525-3.8868.9370.998
30-2-45.364-75.542-15.1850
34-2-46.364-76.542-16.1850
37-2-46.864-68.393-25.3350
39-2-46.03-63.762-28.2980
41-2-45.864-67.393-24.3350
43-2-46.864-68.393-25.3350
44-2-46.364-64.096-28.6320
45-2-45.364-75.542-15.1850
46-2-30.364-51.893-8.8350
48-2-46.364-67.893-24.8350
50-2-46.864-68.393-25.3350
52-2-45.364-75.542-15.1850
54-2-46.364-64.096-28.6320
55-2-46.364-67.893-24.8350
57-2-46.364-76.542-16.1850
58-2-46.364-76.542-16.1850
59-2-45.364-75.542-15.1850
60-2-47.364-77.542-17.1850
66-2-45.364-75.542-15.1850
30-3-47.889-78.209-17.5690
34-3-48.889-79.209-18.5690
37-3-49.389-71.116-27.6610
39-3-48.556-66.528-30.5830
41-3-48.389-70.116-26.6610
43-3-49.389-71.116-27.6610
44-3-48.889-66.861-30.9170
45-3-47.889-78.209-17.5690
46-3-32.889-54.616-11.1610
48-3-48.889-70.616-27.1610
50-3-49.389-71.116-27.6610
52-3-47.889-78.209-17.5690
54-3-48.889-66.861-30.9170
55-3-48.889-70.616-27.1610
57-3-48.889-79.209-18.5690
58-3-48.889-79.209-18.5690
59-3-47.889-78.209-17.5690
60-3-49.889-80.209-19.5690
66-3-47.889-78.209-17.5690
34-30-1-43.29641.2961
37-30-1.5-38.12935.1291
39-30-0.667-35.20133.8681
41-30-0.5-37.12936.1291
43-30-1.5-38.12935.1291
44-30-1-35.53433.5341
45-300-42.29642.2961
46-3015-21.62951.6290.997
48-30-1-37.62935.6291
50-30-1.5-38.12935.1291
52-300-42.29642.2961
54-30-1-35.53433.5341
55-30-1-37.62935.6291
57-30-1-43.29641.2961
58-30-1-43.29641.2961
59-300-42.29642.2961
60-30-2-44.29640.2961
66-300-42.29642.2961
37-34-0.5-37.12936.1291
39-340.333-34.20134.8681
41-340.5-36.12937.1291
43-34-0.5-37.12936.1291
44-340-34.53434.5341
45-341-41.29643.2961
46-3416-20.62952.6290.992
48-340-36.62936.6291
50-34-0.5-37.12936.1291
52-341-41.29643.2961
54-340-34.53434.5341
55-340-36.62936.6291
57-340-42.29642.2961
58-340-42.29642.2961
59-341-41.29643.2961
60-34-1-43.29641.2961
66-341-41.29643.2961
39-370.833-26.46928.1351
41-371-28.90830.9081
43-370-29.90829.9081
44-370.5-26.80227.8021
45-371.5-35.12938.1291
46-3716.5-13.40846.4080.914
48-370.5-29.40830.4081
50-370-29.90829.9081
52-371.5-35.12938.1291
54-370.5-26.80227.8021
55-370.5-29.40830.4081
57-370.5-36.12937.1291
58-370.5-36.12937.1291
59-371.5-35.12938.1291
60-37-0.5-37.12936.1291
66-371.5-35.12938.1291
41-390.167-27.13527.4691
43-39-0.833-28.13526.4691
44-39-0.333-24.75324.0861
45-390.667-33.86835.2011
46-3915.667-11.63542.9690.881
48-39-0.333-27.63526.9691
50-39-0.833-28.13526.4691
52-390.667-33.86835.2011
54-39-0.333-24.75324.0861
55-39-0.333-27.63526.9691
57-39-0.333-34.86834.2011
58-39-0.333-34.86834.2011
59-390.667-33.86835.2011
60-39-1.333-35.86833.2011
66-390.667-33.86835.2011
43-41-1-30.90828.9081
44-41-0.5-27.80226.8021
45-410.5-36.12937.1291
46-4115.5-14.40845.4080.951
48-41-0.5-30.40829.4081
50-41-1-30.90828.9081
52-410.5-36.12937.1291
54-41-0.5-27.80226.8021
55-41-0.5-30.40829.4081
57-41-0.5-37.12936.1291
58-41-0.5-37.12936.1291
59-410.5-36.12937.1291
60-41-1.5-38.12935.1291
66-410.5-36.12937.1291
44-430.5-26.80227.8021
45-431.5-35.12938.1291
46-4316.5-13.40846.4080.914
48-430.5-29.40830.4081
50-430-29.90829.9081
52-431.5-35.12938.1291
54-430.5-26.80227.8021
55-430.5-29.40830.4081
57-430.5-36.12937.1291
58-430.5-36.12937.1291
59-431.5-35.12938.1291
60-43-0.5-37.12936.1291
66-431.5-35.12938.1291
45-441-33.53435.5341
46-4416-11.30243.3020.86
48-440-27.30227.3021
50-44-0.5-27.80226.8021
52-441-33.53435.5341
54-440-24.4224.421
55-440-27.30227.3021
57-440-34.53434.5341
58-440-34.53434.5341
59-441-33.53435.5341
60-44-1-35.53433.5341
66-441-33.53435.5341
46-4515-21.62951.6290.997
48-45-1-37.62935.6291
50-45-1.5-38.12935.1291
52-450-42.29642.2961
54-45-1-35.53433.5341
55-45-1-37.62935.6291
57-45-1-43.29641.2961
58-45-1-43.29641.2961
59-450-42.29642.2961
60-45-2-44.29640.2961
66-450-42.29642.2961
48-46-16-45.90813.9080.935
50-46-16.5-46.40813.4080.914
52-46-15-51.62921.6290.997
54-46-16-43.30211.3020.86
55-46-16-45.90813.9080.935
57-46-16-52.62920.6290.992
58-46-16-52.62920.6290.992
59-46-15-51.62921.6290.997
60-46-17-53.62919.6290.985
66-46-15-51.62921.6290.997
50-48-0.5-30.40829.4081
52-481-35.62937.6291
54-480-27.30227.3021
55-480-29.90829.9081
57-480-36.62936.6291
58-480-36.62936.6291
59-481-35.62937.6291
60-48-1-37.62935.6291
66-481-35.62937.6291
52-501.5-35.12938.1291
54-500.5-26.80227.8021
55-500.5-29.40830.4081
57-500.5-36.12937.1291
58-500.5-36.12937.1291
59-501.5-35.12938.1291
60-50-0.5-37.12936.1291
66-501.5-35.12938.1291
54-52-1-35.53433.5341
55-52-1-37.62935.6291
57-52-1-43.29641.2961
58-52-1-43.29641.2961
59-520-42.29642.2961
60-52-2-44.29640.2961
66-520-42.29642.2961
55-540-27.30227.3021
57-540-34.53434.5341
58-540-34.53434.5341
59-541-33.53435.5341
60-54-1-35.53433.5341
66-541-33.53435.5341
57-550-36.62936.6291
58-550-36.62936.6291
59-551-35.62937.6291
60-55-1-37.62935.6291
66-551-35.62937.6291
58-570-42.29642.2961
59-571-41.29643.2961
60-57-1-43.29641.2961
66-571-41.29643.2961
59-581-41.29643.2961
60-58-1-43.29641.2961
66-581-41.29643.2961
60-59-2-44.29640.2961
66-590-42.29642.2961
66-602-40.29644.2961


Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group212.840
138
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988883u5arabniph7vots/3724z1290988842.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988883u5arabniph7vots/3724z1290988842.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988883u5arabniph7vots/4724z1290988842.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988883u5arabniph7vots/4724z1290988842.ps (open in new window)


 
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){
thsd<-TukeyHSD(aov.xdf)
bitmap(file='TukeyHSDPlot.png')
plot(thsd)
dev.off()
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')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by