Home » date » 2009 » Dec » 14 »

compendium 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: Mon, 14 Dec 2009 15:51:08 -0700
 
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/14/t126083116528y262kbitxhjnb.htm/, Retrieved Mon, 14 Dec 2009 23:52:48 +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/14/t126083116528y262kbitxhjnb.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 «
67 1 86 1 86 2 103 2 74 2 63 1 82 2 93 2 77 3 111 3 71 1 103 3 89 2 75 3 88 2 84 1 85 2 70 2 104 3 88 2 77 1 77 2 72 2 70 2 83 2 110 3 91 3 80 2 91 1 86 2 85 2 107 3 93 2 87 3 84 3 73 1 84 1 86 3 99 3 75 2 87 1 79 1 82 1 95 2 84 2 85 1 95 1 63 3 78 2 85 1 86 2 75 3 98 2 71 2 63 1 71 3 84 3 81 2 93 1 79 1 63 3 93 2 92 2 93 2 83 2 80 1 111 2 92 3 79 2 69 1 83 3 80 1 91 2 97 3 85 1 85 3 99 2 67 1 87 2 68 1 81 2 80 2 93 3 93 3 102 3 104 3 90 2 85 2 92 2 82 3 85 1 89 1 77 2 79 1 76 3 101 2 81 2 92 89 2 81 2 77 2 95 3 85 2 81 2 76 3 93 3 104 3 89 2 76 2 77 1 71 3 79 2 89 2 81 2 99 2 81 2 84 1 85 2 111 2 78 1 111 1 78 2 87 3 92 1 93 3 70 1 84 2 75 2 105 3 96 85 1 87 3 75 2 103 3 86 2 77 2 74 3 74 2 76 3 83 2 101 1 83 2 92 1 74 1 87 1 71 1 79 2 83 2 80 2 90 1 80 3 96 3 109 3 98 2 85 1 83 2 86 3 72 2 83 2 75 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


ANOVA Model
MVRBIQ0 ~ MWARM
means80.351-77.351-78.351-78.8514.3458.449-77.351-79.351-78.351-78.351-78.351-78.851-77.351-78.351-78.851-78.351-78.351-48.018-77.351-78.351-78.351-77.351-78.351


ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
MWARM22166351.4627561.4355.1960
Residuals13718768.038136.993


Tukey Honest Significant Difference Comparisons
difflwruprp adj
104-1-77.351-121.122-33.580
105-1-78.351-122.122-34.580
111-1-78.851-110.207-47.4960
2-14.345-4.80513.4960.983
3-18.449-1.73618.6330.259
70-1-77.351-121.122-33.580
71-1-79.351-123.122-35.580
75-1-78.351-122.122-34.580
76-1-78.351-109.707-46.9960
77-1-78.351-109.707-46.9960
78-1-78.851-110.207-47.4960
79-1-77.351-121.122-33.580
81-1-78.351-101.084-55.6180
84-1-78.851-110.207-47.4960
85-1-78.351-109.707-46.9960
87-1-78.351-122.122-34.580
89-1-48.018-73.946-22.090
92-1-77.351-121.122-33.580
93-1-78.351-109.707-46.9960
95-1-78.351-122.122-34.580
96-1-77.351-121.122-33.580
99-1-78.351-122.122-34.580
105-104-1-62.08260.0821
111-104-1.5-54.39851.3981
2-10481.69638.121125.2720
3-10485.841.996129.6040
70-1040-61.08261.0821
71-104-2-63.08259.0821
75-104-1-62.08260.0821
76-104-1-53.89851.8981
77-104-1-53.89851.8981
78-104-1.5-54.39851.3981
79-1040-61.08261.0821
81-104-1-49.28947.2891
84-104-1.5-54.39851.3981
85-104-1-53.89851.8981
87-104-1-62.08260.0821
89-10429.333-20.5479.2060.864
92-1040-61.08261.0821
93-104-1-53.89851.8981
95-104-1-62.08260.0821
96-1040-61.08261.0821
99-104-1-62.08260.0821
111-105-0.5-53.39852.3981
2-10582.69639.121126.2720
3-10586.842.996130.6040
70-1051-60.08262.0821
71-105-1-62.08260.0821
75-1050-61.08261.0821
76-1050-52.89852.8981
77-1050-52.89852.8981
78-105-0.5-53.39852.3981
79-1051-60.08262.0821
81-1050-48.28948.2891
84-105-0.5-53.39852.3981
85-1050-52.89852.8981
87-1050-61.08261.0821
89-10530.333-19.5480.2060.824
92-1051-60.08262.0821
93-1050-52.89852.8981
95-1050-61.08261.0821
96-1051-60.08262.0821
99-1050-61.08261.0821
2-11183.19652.115114.2780
3-11187.355.899118.7010
70-1111.5-51.39854.3981
71-111-0.5-53.39852.3981
75-1110.5-52.39853.3981
76-1110.5-42.69143.6911
77-1110.5-42.69143.6911
78-1110-43.19143.1911
79-1111.5-51.39854.3981
81-1110.5-36.90537.9051
84-1110-43.19143.1911
85-1110.5-42.69143.6911
87-1110.5-52.39853.3981
89-11130.833-8.59570.2610.367
92-1111.5-51.39854.3981
93-1110.5-42.69143.6911
95-1110.5-52.39853.3981
96-1111.5-51.39854.3981
99-1110.5-52.39853.3981
3-24.104-5.20313.410.993
70-2-81.696-125.272-38.1210
71-2-83.696-127.272-40.1210
75-2-82.696-126.272-39.1210
76-2-82.696-113.778-51.6150
77-2-82.696-113.778-51.6150
78-2-83.196-114.278-52.1150
79-2-81.696-125.272-38.1210
81-2-82.696-105.05-60.3430
84-2-83.196-114.278-52.1150
85-2-82.696-113.778-51.6150
87-2-82.696-126.272-39.1210
89-2-52.363-77.959-26.7670
92-2-81.696-125.272-38.1210
93-2-82.696-113.778-51.6150
95-2-82.696-126.272-39.1210
96-2-81.696-125.272-38.1210
99-2-82.696-126.272-39.1210
70-3-85.8-129.604-41.9960
71-3-87.8-131.604-43.9960
75-3-86.8-130.604-42.9960
76-3-86.8-118.201-55.3990
77-3-86.8-118.201-55.3990
78-3-87.3-118.701-55.8990
79-3-85.8-129.604-41.9960
81-3-86.8-109.596-64.0040
84-3-87.3-118.701-55.8990
85-3-86.8-118.201-55.3990
87-3-86.8-130.604-42.9960
89-3-56.467-82.45-30.4830
92-3-85.8-129.604-41.9960
93-3-86.8-118.201-55.3990
95-3-86.8-130.604-42.9960
96-3-85.8-129.604-41.9960
99-3-86.8-130.604-42.9960
71-70-2-63.08259.0821
75-70-1-62.08260.0821
76-70-1-53.89851.8981
77-70-1-53.89851.8981
78-70-1.5-54.39851.3981
79-700-61.08261.0821
81-70-1-49.28947.2891
84-70-1.5-54.39851.3981
85-70-1-53.89851.8981
87-70-1-62.08260.0821
89-7029.333-20.5479.2060.864
92-700-61.08261.0821
93-70-1-53.89851.8981
95-70-1-62.08260.0821
96-700-61.08261.0821
99-70-1-62.08260.0821
75-711-60.08262.0821
76-711-51.89853.8981
77-711-51.89853.8981
78-710.5-52.39853.3981
79-712-59.08263.0821
81-711-47.28949.2891
84-710.5-52.39853.3981
85-711-51.89853.8981
87-711-60.08262.0821
89-7131.333-18.5481.2060.78
92-712-59.08263.0821
93-711-51.89853.8981
95-711-60.08262.0821
96-712-59.08263.0821
99-711-60.08262.0821
76-750-52.89852.8981
77-750-52.89852.8981
78-75-0.5-53.39852.3981
79-751-60.08262.0821
81-750-48.28948.2891
84-75-0.5-53.39852.3981
85-750-52.89852.8981
87-750-61.08261.0821
89-7530.333-19.5480.2060.824
92-751-60.08262.0821
93-750-52.89852.8981
95-750-61.08261.0821
96-751-60.08262.0821
99-750-61.08261.0821
77-760-43.19143.1911
78-76-0.5-43.69142.6911
79-761-51.89853.8981
81-760-37.40537.4051
84-76-0.5-43.69142.6911
85-760-43.19143.1911
87-760-52.89852.8981
89-7630.333-9.09569.7610.4
92-761-51.89853.8981
93-760-43.19143.1911
95-760-52.89852.8981
96-761-51.89853.8981
99-760-52.89852.8981
78-77-0.5-43.69142.6911
79-771-51.89853.8981
81-770-37.40537.4051
84-77-0.5-43.69142.6911
85-770-43.19143.1911
87-770-52.89852.8981
89-7730.333-9.09569.7610.4
92-771-51.89853.8981
93-770-43.19143.1911
95-770-52.89852.8981
96-771-51.89853.8981
99-770-52.89852.8981
79-781.5-51.39854.3981
81-780.5-36.90537.9051
84-780-43.19143.1911
85-780.5-42.69143.6911
87-780.5-52.39853.3981
89-7830.833-8.59570.2610.367
92-781.5-51.39854.3981
93-780.5-42.69143.6911
95-780.5-52.39853.3981
96-781.5-51.39854.3981
99-780.5-52.39853.3981
81-79-1-49.28947.2891
84-79-1.5-54.39851.3981
85-79-1-53.89851.8981
87-79-1-62.08260.0821
89-7929.333-20.5479.2060.864
92-790-61.08261.0821
93-79-1-53.89851.8981
95-79-1-62.08260.0821
96-790-61.08261.0821
99-79-1-62.08260.0821
84-81-0.5-37.90536.9051
85-810-37.40537.4051
87-810-48.28948.2891
89-8130.333-2.65563.3210.117
92-811-47.28949.2891
93-810-37.40537.4051
95-810-48.28948.2891
96-811-47.28949.2891
99-810-48.28948.2891
85-840.5-42.69143.6911
87-840.5-52.39853.3981
89-8430.833-8.59570.2610.367
92-841.5-51.39854.3981
93-840.5-42.69143.6911
95-840.5-52.39853.3981
96-841.5-51.39854.3981
99-840.5-52.39853.3981
87-850-52.89852.8981
89-8530.333-9.09569.7610.4
92-851-51.89853.8981
93-850-43.19143.1911
95-850-52.89852.8981
96-851-51.89853.8981
99-850-52.89852.8981
89-8730.333-19.5480.2060.824
92-871-60.08262.0821
93-870-52.89852.8981
95-870-61.08261.0821
96-871-60.08262.0821
99-870-61.08261.0821
92-89-29.333-79.20620.540.864
93-89-30.333-69.7619.0950.4
95-89-30.333-80.20619.540.824
96-89-29.333-79.20620.540.864
99-89-30.333-80.20619.540.824
93-92-1-53.89851.8981
95-92-1-62.08260.0821
96-920-61.08261.0821
99-92-1-62.08260.0821
95-930-52.89852.8981
96-931-51.89853.8981
99-930-52.89852.8981
96-951-60.08262.0821
99-950-61.08261.0821
99-96-1-62.08260.0821


Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group222.1360.004
137
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/14/t126083116528y262kbitxhjnb/3xtt21260831064.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t126083116528y262kbitxhjnb/3xtt21260831064.ps (open in new window)


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