Home » date » 2009 » Dec » 15 »

*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: Tue, 15 Dec 2009 05:09:39 -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/15/t12608792161hvlodro26ebvz4.htm/, Retrieved Tue, 15 Dec 2009 13:13:39 +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/15/t12608792161hvlodro26ebvz4.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 «
2 36 2 56 3 48 1 32 1 44 2 39 2 34 1 41 3 50 1 39 3 62 2 52 1 37 2 50 2 41 2 55 1 41 3 56 2 39 1 52 1 46 1 44 2 41 3 50 2 50 1 44 2 52 2 54 2 44 3 52 2 37 2 52 2 50 1 36 2 50 2 52 3 55 1 31 2 36 1 49 2 42 2 37 2 41 2 30 2 52 1 30 2 44 2 66 1 48 3 43 1 57 1 46 1 54 2 48 2 48 2 1 62 1 58 2 58 2 62 2 46 2 34 3 66 2 52 1 55 1 55 2 57 2 56 2 55 3 56 2 54 2 55 3 46 1 52 2 32 1 44 2 46 2 59 2 46 2 46 3 54 3 66 2 56 2 59 2 57 2 52 2 48 2 44 1 41 1 50 1 48 3 48 1 59 2 46 2 54 1 55 2 54 2 59 2 44 1 54 2 52 3 66 2 44 1 57 1 39 1 60 1 45 2 41 2 50 3 39 2 43 2 48 2 37 3 58 1 46 3 43 1 44 2 34 2 30 2 50 1 39 2 37 1 55 2 39 2 36 1 43 3 50 2 55 1 43 1 60 1 48 1 30 2 43 3 39 2 52 2 39 1 39 2 56 1 59 1 46 2 57 2 50 2 54 2 50 3 60 3 59 3 41 2 48 2 59 2 60 1 56 1 51
 
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'Gwilym Jenkins' @ 72.249.127.135


ANOVA Model
RespVar ~ AgeGroup
means47.6672.6991.133-46.167-46.667-46.667-45.667-46-46-46-46.067-45.667-44.667-46.267-46.667-45.667-46.667-45.333-45.667-46.167-45.167-45.167-46.667-44.667-45.667


ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
AgeGroup2479248.2413302.0147.2840
Residuals1278868.85869.834


Tukey Honest Significant Difference Comparisons
difflwruprp adj
2-12.699-4.4689.8660.999
3-11.133-8.75211.0191
30-1-46.167-68.996-23.3370
31-1-46.667-78.444-14.890
32-1-46.667-78.444-14.890
34-1-45.667-77.444-13.890
36-1-46-64.929-27.0710
37-1-46-64.929-27.0710
39-1-46-64.929-27.0710
41-1-46.067-61.167-30.9670
42-1-45.667-77.444-13.890
43-1-44.667-76.444-12.890
44-1-46.267-61.367-31.1670
46-1-46.667-69.496-23.8370
48-1-45.667-62.306-29.0270
49-1-46.667-78.444-14.890
50-1-45.333-59.313-31.3530
52-1-45.667-58.788-32.5450
54-1-46.167-68.996-23.3370
55-1-45.167-67.996-22.3370
56-1-45.167-67.996-22.3370
57-1-46.667-78.444-14.890
62-1-44.667-76.444-12.890
66-1-45.667-77.444-13.890
3-2-1.565-10.7277.5961
30-2-48.865-71.391-26.340
31-2-49.365-80.925-17.8060
32-2-49.365-80.925-17.8060
34-2-48.365-79.925-16.8060
36-2-48.699-67.26-30.1370
37-2-48.699-67.26-30.1370
39-2-48.699-67.26-30.1370
41-2-48.765-63.402-34.1290
42-2-48.365-79.925-16.8060
43-2-47.365-78.925-15.8060
44-2-48.965-63.602-34.3290
46-2-49.365-71.891-26.840
48-2-48.365-64.585-32.1450
49-2-49.365-80.925-17.8060
50-2-48.032-61.51-34.5540
52-2-48.365-60.951-35.780
54-2-48.865-71.391-26.340
55-2-47.865-70.391-25.340
56-2-47.865-70.391-25.340
57-2-49.365-80.925-17.8060
62-2-47.365-78.925-15.8060
66-2-48.365-79.925-16.8060
30-3-47.3-70.832-23.7680
31-3-47.8-80.085-15.5150
32-3-47.8-80.085-15.5150
34-3-46.8-79.085-14.5150
36-3-47.133-66.904-27.3630
37-3-47.133-66.904-27.3630
39-3-47.133-66.904-27.3630
41-3-47.2-63.343-31.0570
42-3-46.8-79.085-14.5150
43-3-45.8-78.085-13.5150
44-3-47.4-63.543-31.2570
46-3-47.8-71.332-24.2680
48-3-46.8-64.391-29.2090
49-3-47.8-80.085-15.5150
50-3-46.467-61.567-31.3670
52-3-46.8-61.109-32.4910
54-3-47.3-70.832-23.7680
55-3-46.3-69.832-22.7680
56-3-46.3-69.832-22.7680
57-3-47.8-80.085-15.5150
62-3-45.8-78.085-13.5150
66-3-46.8-79.085-14.5150
31-30-0.5-38.78637.7861
32-30-0.5-38.78637.7861
34-300.5-37.78638.7861
36-300.167-28.3728.7031
37-300.167-28.3728.7031
39-300.167-28.3728.7031
41-300.1-26.05426.2541
42-300.5-37.78638.7861
43-301.5-36.78639.7861
44-30-0.1-26.25426.0541
46-30-0.5-31.7630.761
48-300.5-26.57227.5721
49-30-0.5-38.78637.7861
50-300.833-24.6926.3571
52-300.5-24.56425.5641
54-300-31.2631.261
55-301-30.2632.261
56-301-30.2632.261
57-30-0.5-38.78637.7861
62-301.5-36.78639.7861
66-300.5-37.78638.7861
32-310-44.20944.2091
34-311-43.20945.2091
36-310.667-35.42936.7631
37-310.667-35.42936.7631
39-310.667-35.42936.7631
41-310.6-33.64434.8441
42-311-43.20945.2091
43-312-42.20946.2091
44-310.4-33.84434.6441
46-310-38.28638.2861
48-311-33.9535.951
49-310-44.20944.2091
50-311.333-32.43235.0981
52-311-32.41934.4191
54-310.5-37.78638.7861
55-311.5-36.78639.7861
56-311.5-36.78639.7861
57-310-44.20944.2091
62-312-42.20946.2091
66-311-43.20945.2091
34-321-43.20945.2091
36-320.667-35.42936.7631
37-320.667-35.42936.7631
39-320.667-35.42936.7631
41-320.6-33.64434.8441
42-321-43.20945.2091
43-322-42.20946.2091
44-320.4-33.84434.6441
46-320-38.28638.2861
48-321-33.9535.951
49-320-44.20944.2091
50-321.333-32.43235.0981
52-321-32.41934.4191
54-320.5-37.78638.7861
55-321.5-36.78639.7861
56-321.5-36.78639.7861
57-320-44.20944.2091
62-322-42.20946.2091
66-321-43.20945.2091
36-34-0.333-36.42935.7631
37-34-0.333-36.42935.7631
39-34-0.333-36.42935.7631
41-34-0.4-34.64433.8441
42-340-44.20944.2091
43-341-43.20945.2091
44-34-0.6-34.84433.6441
46-34-1-39.28637.2861
48-340-34.9534.951
49-34-1-45.20943.2091
50-340.333-33.43234.0981
52-340-33.41933.4191
54-34-0.5-38.78637.7861
55-340.5-37.78638.7861
56-340.5-37.78638.7861
57-34-1-45.20943.2091
62-341-43.20945.2091
66-340-44.20944.2091
37-360-25.52425.5241
39-360-25.52425.5241
41-36-0.067-22.89622.7631
42-360.333-35.76336.4291
43-361.333-34.76337.4291
44-36-0.267-23.09622.5631
46-36-0.667-29.20327.871
48-360.333-23.54224.2091
49-36-0.667-36.76335.4291
50-360.667-21.43822.7711
52-360.333-21.23821.9051
54-36-0.167-28.70328.371
55-360.833-27.70329.371
56-360.833-27.70329.371
57-36-0.667-36.76335.4291
62-361.333-34.76337.4291
66-360.333-35.76336.4291
39-370-25.52425.5241
41-37-0.067-22.89622.7631
42-370.333-35.76336.4291
43-371.333-34.76337.4291
44-37-0.267-23.09622.5631
46-37-0.667-29.20327.871
48-370.333-23.54224.2091
49-37-0.667-36.76335.4291
50-370.667-21.43822.7711
52-370.333-21.23821.9051
54-37-0.167-28.70328.371
55-370.833-27.70329.371
56-370.833-27.70329.371
57-37-0.667-36.76335.4291
62-371.333-34.76337.4291
66-370.333-35.76336.4291
41-39-0.067-22.89622.7631
42-390.333-35.76336.4291
43-391.333-34.76337.4291
44-39-0.267-23.09622.5631
46-39-0.667-29.20327.871
48-390.333-23.54224.2091
49-39-0.667-36.76335.4291
50-390.667-21.43822.7711
52-390.333-21.23821.9051
54-39-0.167-28.70328.371
55-390.833-27.70329.371
56-390.833-27.70329.371
57-39-0.667-36.76335.4291
62-391.333-34.76337.4291
66-390.333-35.76336.4291
42-410.4-33.84434.6441
43-411.4-32.84435.6441
44-41-0.2-19.97119.5711
46-41-0.6-26.75425.5541
48-410.4-20.5721.371
49-41-0.6-34.84433.6441
50-410.733-18.19619.6621
52-410.4-17.90418.7041
54-41-0.1-26.25426.0541
55-410.9-25.25427.0541
56-410.9-25.25427.0541
57-41-0.6-34.84433.6441
62-411.4-32.84435.6441
66-410.4-33.84434.6441
43-421-43.20945.2091
44-42-0.6-34.84433.6441
46-42-1-39.28637.2861
48-420-34.9534.951
49-42-1-45.20943.2091
50-420.333-33.43234.0981
52-420-33.41933.4191
54-42-0.5-38.78637.7861
55-420.5-37.78638.7861
56-420.5-37.78638.7861
57-42-1-45.20943.2091
62-421-43.20945.2091
66-420-44.20944.2091
44-43-1.6-35.84432.6441
46-43-2-40.28636.2861
48-43-1-35.9533.951
49-43-2-46.20942.2091
50-43-0.667-34.43233.0981
52-43-1-34.41932.4191
54-43-1.5-39.78636.7861
55-43-0.5-38.78637.7861
56-43-0.5-38.78637.7861
57-43-2-46.20942.2091
62-430-44.20944.2091
66-43-1-45.20943.2091
46-44-0.4-26.55425.7541
48-440.6-20.3721.571
49-44-0.4-34.64433.8441
50-440.933-17.99619.8621
52-440.6-17.70418.9041
54-440.1-26.05426.2541
55-441.1-25.05427.2541
56-441.1-25.05427.2541
57-44-0.4-34.64433.8441
62-441.6-32.64435.8441
66-440.6-33.64434.8441
48-461-26.07228.0721
49-460-38.28638.2861
50-461.333-24.1926.8571
52-461-24.06426.0641
54-460.5-30.7631.761
55-461.5-29.7632.761
56-461.5-29.7632.761
57-460-38.28638.2861
62-462-36.28640.2861
66-461-37.28639.2861
49-48-1-35.9533.951
50-480.333-19.84520.5121
52-480-19.59319.5931
54-48-0.5-27.57226.5721
55-480.5-26.57227.5721
56-480.5-26.57227.5721
57-48-1-35.9533.951
62-481-33.9535.951
66-480-34.9534.951
50-491.333-32.43235.0981
52-491-32.41934.4191
54-490.5-37.78638.7861
55-491.5-36.78639.7861
56-491.5-36.78639.7861
57-490-44.20944.2091
62-492-42.20946.2091
66-491-43.20945.2091
52-50-0.333-17.72517.0581
54-50-0.833-26.35724.691
55-500.167-25.35725.691
56-500.167-25.35725.691
57-50-1.333-35.09832.4321
62-500.667-33.09834.4321
66-50-0.333-34.09833.4321
54-52-0.5-25.56424.5641
55-520.5-24.56425.5641
56-520.5-24.56425.5641
57-52-1-34.41932.4191
62-521-32.41934.4191
66-520-33.41933.4191
55-541-30.2632.261
56-541-30.2632.261
57-54-0.5-38.78637.7861
62-541.5-36.78639.7861
66-540.5-37.78638.7861
56-550-31.2631.261
57-55-1.5-39.78636.7861
62-550.5-37.78638.7861
66-55-0.5-38.78637.7861
57-56-1.5-39.78636.7861
62-560.5-37.78638.7861
66-56-0.5-38.78637.7861
62-572-42.20946.2091
66-571-43.20945.2091
66-62-1-45.20943.2091


Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group242.640
127
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608792161hvlodro26ebvz4/3p4yc1260878976.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608792161hvlodro26ebvz4/3p4yc1260878976.ps (open in new window)


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