Home » date » 2010 » Nov » 29 »

com week 5

*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: Sun, 28 Nov 2010 23:54:19 +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/t1290988464akw6mc9h0dhys1n.htm/, Retrieved Mon, 29 Nov 2010 00:54: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/t1290988464akw6mc9h0dhys1n.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 2 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 1 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 2 46 2 57 2 50 2 54 1 50 3 60 3 59 3 41 2 48 1 59 2 60 2 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 time4 seconds
R Server'George Udny Yule' @ 72.249.76.132


ANOVA Model
MC30VRB ~ MWARM30
means45.4723.3045.175-42.472-43.472-44.472-43.139-42.972-43.972-43.472-42.472-27.472-43.472-43.972-42.472-43.472-43.472-43.472-43.472-42.472-44.472-42.472


ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
MWARM302153463.7852545.89538.3430
Residuals1389162.9966.398


Tukey Honest Significant Difference Comparisons
difflwruprp adj
2-13.304-3.0349.6410.949
3-15.175-1.96812.3180.514
30-1-42.472-72.755-12.190
34-1-43.472-73.755-13.190
37-1-44.472-66.172-22.7720
39-1-43.139-61.089-25.1890
41-1-42.972-64.672-21.2720
43-1-43.972-65.672-22.2720
44-1-43.472-61.422-25.5220
45-1-42.472-72.755-12.190
46-1-27.472-49.172-5.7720.002
48-1-43.472-65.172-21.7720
50-1-43.972-65.672-22.2720
52-1-42.472-72.755-12.190
54-1-43.472-61.422-25.5220
55-1-43.472-65.172-21.7720
57-1-43.472-73.755-13.190
58-1-43.472-73.755-13.190
59-1-42.472-72.755-12.190
60-1-44.472-74.755-14.190
66-1-42.472-72.755-12.190
3-21.871-4.5818.3231
30-2-45.776-75.903-15.6490
34-2-46.776-76.903-16.6490
37-2-47.776-69.258-26.2930
39-2-46.443-64.129-28.7570
41-2-46.276-67.758-24.7930
43-2-47.276-68.758-25.7930
44-2-46.776-64.462-29.090
45-2-45.776-75.903-15.6490
46-2-30.776-52.258-9.2930
48-2-46.776-68.258-25.2930
50-2-47.276-68.758-25.7930
52-2-45.776-75.903-15.6490
54-2-46.776-64.462-29.090
55-2-46.776-68.258-25.2930
57-2-46.776-76.903-16.6490
58-2-46.776-76.903-16.6490
59-2-45.776-75.903-15.6490
60-2-47.776-77.903-17.6490
66-2-45.776-75.903-15.6490
30-3-47.647-77.953-17.3410
34-3-48.647-78.953-18.3410
37-3-49.647-71.381-27.9130
39-3-48.314-66.304-30.3230
41-3-48.147-69.881-26.4130
43-3-49.147-70.881-27.4130
44-3-48.647-66.637-30.6570
45-3-47.647-77.953-17.3410
46-3-32.647-54.381-10.9130
48-3-48.647-70.381-26.9130
50-3-49.147-70.881-27.4130
52-3-47.647-77.953-17.3410
54-3-48.647-66.637-30.6570
55-3-48.647-70.381-26.9130
57-3-48.647-78.953-18.3410
58-3-48.647-78.953-18.3410
59-3-47.647-77.953-17.3410
60-3-49.647-79.953-19.3410
66-3-47.647-77.953-17.3410
34-30-1-43.24341.2431
37-30-2-38.58334.5831
39-30-0.667-35.15833.8251
41-30-0.5-37.08336.0831
43-30-1.5-38.08335.0831
44-30-1-35.49133.4911
45-300-42.24342.2431
46-3015-21.58351.5830.997
48-30-1-37.58335.5831
50-30-1.5-38.08335.0831
52-300-42.24342.2431
54-30-1-35.49133.4911
55-30-1-37.58335.5831
57-30-1-43.24341.2431
58-30-1-43.24341.2431
59-300-42.24342.2431
60-30-2-44.24340.2431
66-300-42.24342.2431
37-34-1-37.58335.5831
39-340.333-34.15834.8251
41-340.5-36.08337.0831
43-34-0.5-37.08336.0831
44-340-34.49134.4911
45-341-41.24343.2431
46-3416-20.58352.5830.992
48-340-36.58336.5831
50-34-0.5-37.08336.0831
52-341-41.24343.2431
54-340-34.49134.4911
55-340-36.58336.5831
57-340-42.24342.2431
58-340-42.24342.2431
59-341-41.24343.2431
60-34-1-43.24341.2431
66-341-41.24343.2431
39-371.333-25.93428.6011
41-371.5-28.3731.371
43-370.5-29.3730.371
44-371-26.26828.2681
45-372-34.58338.5831
46-3717-12.8746.870.889
48-371-28.8730.871
50-370.5-29.3730.371
52-372-34.58338.5831
54-371-26.26828.2681
55-371-28.8730.871
57-371-35.58337.5831
58-371-35.58337.5831
59-372-34.58338.5831
60-370-36.58336.5831
66-372-34.58338.5831
41-390.167-27.10127.4341
43-39-0.833-28.10126.4341
44-39-0.333-24.72224.0561
45-390.667-33.82535.1581
46-3915.667-11.60142.9340.88
48-39-0.333-27.60126.9341
50-39-0.833-28.10126.4341
52-390.667-33.82535.1581
54-39-0.333-24.72224.0561
55-39-0.333-27.60126.9341
57-39-0.333-34.82534.1581
58-39-0.333-34.82534.1581
59-390.667-33.82535.1581
60-39-1.333-35.82533.1581
66-390.667-33.82535.1581
43-41-1-30.8728.871
44-41-0.5-27.76826.7681
45-410.5-36.08337.0831
46-4115.5-14.3745.370.951
48-41-0.5-30.3729.371
50-41-1-30.8728.871
52-410.5-36.08337.0831
54-41-0.5-27.76826.7681
55-41-0.5-30.3729.371
57-41-0.5-37.08336.0831
58-41-0.5-37.08336.0831
59-410.5-36.08337.0831
60-41-1.5-38.08335.0831
66-410.5-36.08337.0831
44-430.5-26.76827.7681
45-431.5-35.08338.0831
46-4316.5-13.3746.370.913
48-430.5-29.3730.371
50-430-29.8729.871
52-431.5-35.08338.0831
54-430.5-26.76827.7681
55-430.5-29.3730.371
57-430.5-36.08337.0831
58-430.5-36.08337.0831
59-431.5-35.08338.0831
60-43-0.5-37.08336.0831
66-431.5-35.08338.0831
45-441-33.49135.4911
46-4416-11.26843.2680.858
48-440-27.26827.2681
50-44-0.5-27.76826.7681
52-441-33.49135.4911
54-440-24.38924.3891
55-440-27.26827.2681
57-440-34.49134.4911
58-440-34.49134.4911
59-441-33.49135.4911
60-44-1-35.49133.4911
66-441-33.49135.4911
46-4515-21.58351.5830.997
48-45-1-37.58335.5831
50-45-1.5-38.08335.0831
52-450-42.24342.2431
54-45-1-35.49133.4911
55-45-1-37.58335.5831
57-45-1-43.24341.2431
58-45-1-43.24341.2431
59-450-42.24342.2431
60-45-2-44.24340.2431
66-450-42.24342.2431
48-46-16-45.8713.870.934
50-46-16.5-46.3713.370.913
52-46-15-51.58321.5830.997
54-46-16-43.26811.2680.858
55-46-16-45.8713.870.934
57-46-16-52.58320.5830.992
58-46-16-52.58320.5830.992
59-46-15-51.58321.5830.997
60-46-17-53.58319.5830.984
66-46-15-51.58321.5830.997
50-48-0.5-30.3729.371
52-481-35.58337.5831
54-480-27.26827.2681
55-480-29.8729.871
57-480-36.58336.5831
58-480-36.58336.5831
59-481-35.58337.5831
60-48-1-37.58335.5831
66-481-35.58337.5831
52-501.5-35.08338.0831
54-500.5-26.76827.7681
55-500.5-29.3730.371
57-500.5-36.08337.0831
58-500.5-36.08337.0831
59-501.5-35.08338.0831
60-50-0.5-37.08336.0831
66-501.5-35.08338.0831
54-52-1-35.49133.4911
55-52-1-37.58335.5831
57-52-1-43.24341.2431
58-52-1-43.24341.2431
59-520-42.24342.2431
60-52-2-44.24340.2431
66-520-42.24342.2431
55-540-27.26827.2681
57-540-34.49134.4911
58-540-34.49134.4911
59-541-33.49135.4911
60-54-1-35.49133.4911
66-541-33.49135.4911
57-550-36.58336.5831
58-550-36.58336.5831
59-551-35.58337.5831
60-55-1-37.58335.5831
66-551-35.58337.5831
58-570-42.24342.2431
59-571-41.24343.2431
60-57-1-43.24341.2431
66-571-41.24343.2431
59-581-41.24343.2431
60-58-1-43.24341.2431
66-581-41.24343.2431
60-59-2-44.24340.2431
66-590-42.24342.2431
66-602-40.24344.2431


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


http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988464akw6mc9h0dhys1n/4de5k1290988454.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1290988464akw6mc9h0dhys1n/4de5k1290988454.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