Home » date » 2009 » Dec » 03 »

workshop 9

*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: Chi Square Measure of Association- Free Statistics Software (Calculator)
Date of computation: Thu, 03 Dec 2009 14:48:13 +0100
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/03/t12598481429uimxrpl7jbflth.htm/, Retrieved Thu, 03 Dec 2009 14:49:03 +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/2009/Dec/03/t12598481429uimxrpl7jbflth.htm/},
    year = {2009},
}
@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 = {2009},
    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 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 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 time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


ANOVA Model
MC30VRB ~ MWARM
means44.8792.9386.407-42.879-43.879-33.379-41.879-42.212-43.879-42.379-43.212-42.879-43.879-42.879-41.879-42.879-42.879-43.212-42.545


ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
MWARM1851072.0162837.33441.6740
Residuals1409531.80868.084


Tukey Honest Significant Difference Comparisons
difflwruprp adj
2-12.938-3.4739.3490.979
3-16.407-0.7713.5840.144
30-1-42.879-72.904-12.8540
36-1-43.879-65.42-22.3380
39-1-33.379-49.04-17.7180
41-1-41.879-71.904-11.8540
43-1-42.212-60.05-24.3740
46-1-43.879-73.904-13.8540
48-1-42.379-63.92-20.8380
50-1-43.212-61.05-25.3740
51-1-42.879-72.904-12.8540
52-1-43.879-73.904-13.8540
54-1-42.879-72.904-12.8540
55-1-41.879-71.904-11.8540
56-1-42.879-60.716-25.0410
57-1-42.879-72.904-12.8540
59-1-43.212-61.05-25.3740
60-1-42.545-60.383-24.7080
3-23.469-2.8229.7610.892
30-2-45.817-75.643-15.9910
36-2-46.817-68.079-25.5540
39-2-36.317-51.592-21.0410
41-2-44.817-74.643-14.9910
43-2-45.15-62.65-27.650
46-2-46.817-76.643-16.9910
48-2-45.317-66.579-24.0540
50-2-46.15-63.65-28.650
51-2-45.817-75.643-15.9910
52-2-46.817-76.643-16.9910
54-2-45.817-75.643-15.9910
55-2-44.817-74.643-14.9910
56-2-45.817-63.317-28.3170
57-2-45.817-75.643-15.9910
59-2-46.15-63.65-28.650
60-2-45.483-62.983-27.9830
30-3-49.286-79.286-19.2860
36-3-50.286-71.792-28.780
39-3-39.786-55.398-24.1730
41-3-48.286-78.286-18.2860
43-3-48.619-66.414-30.8240
46-3-50.286-80.286-20.2860
48-3-48.786-70.292-27.280
50-3-49.619-67.414-31.8240
51-3-49.286-79.286-19.2860
52-3-50.286-80.286-20.2860
54-3-49.286-79.286-19.2860
55-3-48.286-78.286-18.2860
56-3-49.286-67.081-31.4910
57-3-49.286-79.286-19.2860
59-3-49.619-67.414-31.8240
60-3-48.952-66.748-31.1570
36-30-1-37.22835.2281
39-309.5-23.57242.5721
41-301-40.83342.8331
43-300.667-33.4934.8231
46-30-1-42.83340.8331
48-300.5-35.72836.7281
50-30-0.333-34.4933.8231
51-300-41.83341.8331
52-30-1-42.83340.8331
54-300-41.83341.8331
55-301-40.83342.8331
56-300-34.15734.1571
57-300-41.83341.8331
59-30-0.333-34.4933.8231
60-300.333-33.82334.491
39-3610.5-15.11736.1170.994
41-362-34.22838.2281
43-361.667-25.33628.671
46-360-36.22836.2281
48-361.5-28.0831.081
50-360.667-26.33627.671
51-361-35.22837.2281
52-360-36.22836.2281
54-361-35.22837.2281
55-362-34.22838.2281
56-361-26.00328.0031
57-361-35.22837.2281
59-360.667-26.33627.671
60-361.333-25.6728.3361
41-39-8.5-41.57224.5721
43-39-8.833-31.42613.7590.996
46-39-10.5-43.57222.5721
48-39-9-34.61716.6170.999
50-39-9.833-32.42612.7590.988
51-39-9.5-42.57223.5721
52-39-10.5-43.57222.5721
54-39-9.5-42.57223.5721
55-39-8.5-41.57224.5721
56-39-9.5-32.09213.0920.992
57-39-9.5-42.57223.5721
59-39-9.833-32.42612.7590.988
60-39-9.167-31.75913.4260.994
43-41-0.333-34.4933.8231
46-41-2-43.83339.8331
48-41-0.5-36.72835.7281
50-41-1.333-35.4932.8231
51-41-1-42.83340.8331
52-41-2-43.83339.8331
54-41-1-42.83340.8331
55-410-41.83341.8331
56-41-1-35.15733.1571
57-41-1-42.83340.8331
59-41-1.333-35.4932.8231
60-41-0.667-34.82333.491
46-43-1.667-35.82332.491
48-43-0.167-27.1726.8361
50-43-1-25.15223.1521
51-43-0.667-34.82333.491
52-43-1.667-35.82332.491
54-43-0.667-34.82333.491
55-430.333-33.82334.491
56-43-0.667-24.81923.4861
57-43-0.667-34.82333.491
59-43-1-25.15223.1521
60-43-0.333-24.48623.8191
48-461.5-34.72837.7281
50-460.667-33.4934.8231
51-461-40.83342.8331
52-460-41.83341.8331
54-461-40.83342.8331
55-462-39.83343.8331
56-461-33.15735.1571
57-461-40.83342.8331
59-460.667-33.4934.8231
60-461.333-32.82335.491
50-48-0.833-27.83626.171
51-48-0.5-36.72835.7281
52-48-1.5-37.72834.7281
54-48-0.5-36.72835.7281
55-480.5-35.72836.7281
56-48-0.5-27.50326.5031
57-48-0.5-36.72835.7281
59-48-0.833-27.83626.171
60-48-0.167-27.1726.8361
51-500.333-33.82334.491
52-50-0.667-34.82333.491
54-500.333-33.82334.491
55-501.333-32.82335.491
56-500.333-23.81924.4861
57-500.333-33.82334.491
59-500-24.15224.1521
60-500.667-23.48624.8191
52-51-1-42.83340.8331
54-510-41.83341.8331
55-511-40.83342.8331
56-510-34.15734.1571
57-510-41.83341.8331
59-51-0.333-34.4933.8231
60-510.333-33.82334.491
54-521-40.83342.8331
55-522-39.83343.8331
56-521-33.15735.1571
57-521-40.83342.8331
59-520.667-33.4934.8231
60-521.333-32.82335.491
55-541-40.83342.8331
56-540-34.15734.1571
57-540-41.83341.8331
59-54-0.333-34.4933.8231
60-540.333-33.82334.491
56-55-1-35.15733.1571
57-55-1-42.83340.8331
59-55-1.333-35.4932.8231
60-55-0.667-34.82333.491
57-560-34.15734.1571
59-56-0.333-24.48623.8191
60-560.333-23.81924.4861
59-57-0.333-34.4933.8231
60-570.333-33.82334.491
60-590.667-23.48624.8191


Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group181.8190.028
140
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/03/t12598481429uimxrpl7jbflth/31bie1259848090.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/03/t12598481429uimxrpl7jbflth/31bie1259848090.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/03/t12598481429uimxrpl7jbflth/4nm9g1259848090.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/03/t12598481429uimxrpl7jbflth/4nm9g1259848090.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