ANalysis Of VAriance(ANOVA).ppt
《ANalysis Of VAriance(ANOVA).ppt》由会员分享,可在线阅读,更多相关《ANalysis Of VAriance(ANOVA).ppt(33页珍藏版)》请在麦多课文档分享上搜索。
1、ANalysis Of VAriance (ANOVA),Comparing 2 meansFrequently applied to experimental dataWhy not do multiple t-tests? If you want to testH0: m1 = m2 = m3Why not test: m1 = m2 m1 = m3 m2 = m3,For each test 95% probability to correctly fail to reject (accept?) null, when null is really true,0.953 = probab
2、ility of correctly failing to reject all 3 = 0.86,Probability of if incorrectly rejecting at least one of the (true) null hypotheses = 1 - 0.86 = 0.14As you increase the number of means compared, the probability of incorrectly rejecting a true null (type I error) increases towards oneSide note: poss
3、ible to correct (lower) if you need to do multiple tests (Bonferroni correction)- unusual,ANOVA: calculate ratios of different portions of variance of total dataset to determine if group means differ significantly from each otherCalculate F ratio, named after R.A. Fisher,1) Visualize data sets 2) Pa
4、rtition variance (SS & df) 3) Calculate F (tomorrow),0,1,2,3,4,5,6,7,8,0,10,20,30,Plot number,Yield (tonnes),Pictures first,3 fertilizers applied to 10 plots each (N=30), yield measuredHow much variability comes from fertilizers, how much from other factors?,Fert 1,Fert 2,Fert 3,Overall mean,What fa
5、ctors other than fertilizer (uncontrolled) may contribute to the variance in crop yield?How do you minimize uncontrolled factors contribution to variance when designing an experiment or survey study?If one wants to measure the effect of a factor in nature (most of ecology/geology), how can or should
6、 you minimize background variability between experimental units?,Thought Questions,Fertilizer (in this case) is termed the independent or predictor variable or explanatory variableCan have any number of levels, we have 3Can have more than one independent variable. We have 1, one way ANOVACrop yield
7、(in this case) is termed the dependent or response variableCan have more than one response variable. multivariate analysis (ex MANOVA). Class taught by J. Harrell,0,1,2,3,4,5,6,7,8,0,10,20,30,Plot number,Yield (tonnes),Pictures first,-calculate deviation of each point from mean -some + and some - -s
8、um to zero (remember definition of mean),Fert 1,Fert 2,Fert 3,Overall mean,Square all values,Sum the squared values,n-1,calculate mean SS a.k.a. variance,=,* why (n-1)? Because all deviations must sum to zero, therefore if you calculate n-1 deviations, you know what the final one must be. You do not
9、 actually have n independent pieces of information about the variance.,SS not useful for comparing between groups, it is always big when n is big. Using the mean SS (variance) allows you to compare among groups,Back to the question:How much variability in crop yield comes from fertilizers (what you
10、manipulated), how much from other factors (that you cannot control)?,Partitioning Variability,Calculate mean for each group, ie plots with fert1, fert2, and fert3 (3 group means),But first imagine a data set where,0,1,2,3,4,5,6,7,8,0,10,20,30,Plot number,Yield (tonnes),-Imagine case were the group (
11、treatment) means differ a lot, with little variation within a group-Group means explain most of the variability,Fert 1,Fert 2,Fert 3,Overall mean,Group means,0,1,2,3,4,5,6,7,8,0,10,20,30,Plot number,Yield (tonnes),Fert 1,Fert 2,Fert 3,Overall mean,Now. imagine case were the group (treatment) means a
12、re not distinct, with much variation within a group-Group means explain little of the variability -3 fertilizers did not affect yield differently,Group means,H0: mean yield fert1= mean yield fert2 = mean yield fert3Or Fertilizer type has no effect on crop yield,-calculating 3 measures of variability
13、,start by partitioning SS,Total SS =,Sum of squares of deviations of data around the grand (overall) mean (measure of total variability),Within group SS = (Error SS),Sum of squares of deviations of data around the separate group means (measure of variability among units given same treatment),Among g
14、roups SS =,Sum of squares of deviations of group means around the grand mean (measure of variability among units given different treatments),Unfortunate word usage,Total SS =,Sum of squares of deviations of data around the grand (overall) mean (measure of total variability),k = number experimental g
15、roups Xij = datum j in experimental group I Xbari = mean of group I Xbar = grand mean,k,i=1,ni,j=1,Xij - X,2,Total SS =,Total SS =,Sum of deviations of each datum from the grand mean, squared, summed across all k groups,Within group SS =,k,i=1,ni,j=1,Xij - Xi,2,Within group SS =,k = number experimen
16、tal groups Xij = datum j in experimental group I Xbari = mean of group I Xbar = grand mean,Within group SS =,Sum of squares of deviations of data around the separate group means (measure of variability among units given same treatment),Sum of deviations of each datum from its group mean, squared, su
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANALYSISOFVARIANCEANOVAPPT
