第六讲方差分析(下)PPT_第1页
第六讲方差分析(下)PPT_第2页
第六讲方差分析(下)PPT_第3页
第六讲方差分析(下)PPT_第4页
第六讲方差分析(下)PPT_第5页
已阅读5页,还剩88页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、第5章方差分析(下) Repeated-measure & Mixed design ANOVA,1,2,3,Repeated measures(RM)是指在实验过程中,相同的实体(entities, e.g. participants)参与所有情况下的(实验控制变量的不同水平下的)实验或者在不同的时间点下提供数据。 其它的表达方式: Within-participants design, Related design, Within-subjects design,5.1 RM基本概念,4,5.1 RM基本概念,RM-ANOVA,重复测量的方差分析适用条件: 各组样本数据不独立 控制变量的水

2、平数在三个以上 满足球形检验,5,5.2 球形检验,球形( sphericity 表示为)指不同实验条件(即控制变量的不同水平)下的观测变量的变化是相似的。 球形和方差齐次性相类似,但是方差齐次性是同一变量在不同观测水平下的方差之间无显著性差异;而球形是指不同变量(不同水平下的观测变量在RM-ANOVA中对应于不同的变量)的变化要类似。,6,5.2 .1 球形检验例子,variance A-B variance A-C variance B-C,球形检验通过的条件为:,7,5.2.1 球形检验例子,当有两个组间差异的方差非常接近时,数据满足本地球形(local sphericity)检验。在本

3、例中A-C差异和B-C差异的方差非常接近,因为球形检验是通过的。,8,实际检验方法: 在SPSS中球形检验可以通过Mauchlys test进行。 其零假设为:实验不同情况下差异的方差是相等的。 若Mauchlys test的检验结果不显著,则球形检验通过。,5.2.2在SPSS中进行球形检验,9,当球形检验没通过时: 0.75, 采用HuynhFeldt estimate的结果 0.75或未知,采用GreenhouseGeisser 修正结果,5.2.3 球形检验没通过怎么办?,球形检验是否通过还影响我们对置信区间调整方法的选择: Shpericity满足时,采用Tukey(LSD) Shp

4、ericity不满足时,采用Bonferroni method,10,5.3 RM-ANOVA原理,11,5.3 RM-ANOVA原理实例分析,12,5.3 RM-ANOVA原理实例分析,N-1为总离差的自由度,由样本总量决定,13,5.3 RM-ANOVA原理实例分析,每个人(participant)的自由度为n-1(n为水平数) SSw的自由度为83=24,14,5.3 RM-ANOVA原理实例分析,dfM = k 1 = 3,15,5.3 RM-ANOVA原理实例分析,16,5.3 RM-ANOVA原理实例分析,17,5.3 RM-ANOVA原理实例分析,18,5.4 数据录入与操作,每

5、一水平下的观测值单独作为一个变量的值录入,19,5.4 数据录入与操作,20,5.4 数据录入与操作,添加Within-subject 因素名称与水平数,21,5.4 数据录入与操作,设置变量,22,5.4 数据录入与操作,设置RM模型,23,5.4 数据录入与操作,设置对比方法,24,5.4 数据录入与操作,设置绘图模式,25,5.4 数据录入与操作,设置置信区间及其它可选项,26,5.5 结果分析与表达,27,5.5 结果分析与表达,28,5.5 结果分析与表达,29,5.5 结果分析与表达,30,5.5 结果分析与表达,31,5.5 结果分析与表达,32,5.5 结果分析与表达,33,5

6、.5 结果分析与表达,34,5.5 结果分析与表达,35,5.5 结果分析与表达,36,5.5 结果分析与表达,Mauchlys test indicated that the assumption of sphericity had been violated, 2(5) = 11.41, p = .047, therefore GreenhouseGeisser corrected tests are reported ( = .53). The results show that the time to retch was not significantly affected by th

7、e type of animal eaten, F(1.60, 11.19) = 3.79, p = .063.,37,5.5 结果分析与表达,Mauchlys test indicated that the assumption of sphericity had been violated, 2(5) = 11.41, p = .047, therefore multivariate tests are reported ( = .53). The results show that the time to retch was significantly affected by the t

8、ype of animal eaten, V = 0.94, F(3, 5) = 26.96, p = .002,38,5.6 Factorial repeated-measure design,指在RM design中有两个以上的控制因素。 对应的方差分析称为 Factorial RM-ANOVA。 基本的原理和分析方法与One way RM-ANOVA类似。,39,5.6.1 Factorial RM-ANOVA实例,控制因素: Drink和Image Drink有三个水平:Beer、Wine、Water。 Image有三个水平: Positive、Neutral、Negative。,40

9、,5.6.2 录入数据,每个控制要素中作为基准或参考水平的数据放在第一位或者最后一位。,41,5.6.2 分析步骤,42,5.6.2 分析步骤,设置Within-Subject Factor: 定义因素的顺序要和控制要素顺序及数据录入的顺序相一致。,43,5.6.2 分析步骤,44,5.6.2 分析步骤,按顺序添加Within-Subjects Variables,45,5.6.2 分析步骤,根据问题的实际性质设置对比方式,46,5.6.2 分析步骤,设置Profile Plots,47,5.6.2 分析步骤,设置Options,48,5.6.3结果分析,49,5.6.3结果分析,球形检验结果

10、: 两个主因素效果Significant 交互因素效果non-significant,50,5.6.3结果分析,51,5.6.3结果分析,自由度的计算: dfD-M=KD-1 =3-1=2 dfD-W=ndfD-M =202 =40 dfR-D=dfD-W-dfD-M =40-2 =38 dfDI-M=dfD-MdfI-M =22 =4 dfDI-W=ndfDI-M =204 =80 dfR-DI=dfDI-W-dfDI-M =80-4 =76,52,5.6.3结果分析,自由度的计算: dfD-M=KD-1 ( dfD-M freedom degrees, df, of model effec

11、ts for drinks ) =3-1=2 dfD-W=ndfD-M ( dfD-w df of within-subject effects for drinks ) =202 =40 dfR-D=dfD-W-dfD-M ( dfR-D df of residual effects for drinks ) =40-2 =38 dfDI-M=dfD-MdfI-M ( dfDI-M df of model interaction effects for drinks*Imagery ) =22 =4 dfDI-W=ndfDI-M ( dfDI-W df of within-subject i

12、nteraction effects for drinks*Imagery ) =204 =80 dfR-DI=dfDI-W-dfDI-M ( dfDI-W df of residual interaction effects for drinks*Imagery ) =80-4 =76,53,5.6.3结果分析,dfGG-D=dfDGG =20.577=1.154 dfR-GG-D=dfR-DGG=380.577=21.926 调整F检验中的其余各项自由度计算方法相同。,54,5.6.3结果分析,55,5.6.3结果分析,56,5.6.3结果分析,不一致!,57,5.6.3结果分析,58,5

13、.6.3结果分析,当Post hoc和Contracts的结果不一致时,以后者为准。,59,5.6.3结果分析,60,5.6.3结果分析,61,5.6.3结果分析,Mauchlys test indicated that the assumption of sphericity had been violated for the main effects of drink, 2(2) = 23.75, p .001, and imagery, 2(2) = 7.42, p = .024. Therefore degrees of freedom were corrected using Gre

14、enhouseGeisser estimates of sphericity ( = .58 for the main effect of drink and .75 for the main effect of imagery).,Report the results:,62,5.6.3结果分析,Report the results:,There was a significant main effect of the type of drink on ratings of the drink, F(1.15, 21.93) = 5.11, p = .011. Contrasts revea

15、led that ratings of beer, F(1, 19) = 6.22, p = .022, and wine, F(1, 19) = 18.61, were significantly higher than water. There was also a significant main effect of the type of imagery on ratings of the drinks, F(1.50, 28.40) = 122.57.,63,5.6.3结果分析,Contrasts revealed that ratings after positive imager

16、y were significantly higher than after neutral imagery, F(1, 19) = 142.19. Conversely, ratings after negative imagery were significantly lower than after neutral imagery, F(1, 19) = 47.07.,Report the results:,64,5.6.3结果分析,There was a significant interaction effect between the type of drink and the t

17、ype of imagery used, F(4, 76) = 17.16. This indicates that imagery had different effects on peoples ratings depending on which type of drink was used. To break down this interaction, contrasts were performed comparing all drink types to their baseline (water) and all imagery types to their baseline

18、(neutral imagery). These revealed significant interactions when comparing negative imagery to neutral imagery both for beer compared to water, F(1, 19) = 6.75, p = .018, and wine compared to water, F(1,19) = 26.91.,Report the results:,65,Looking at the interaction graph, these effects reflect that n

19、egative imagery (compared to neutral) lowered scores significantly more in water than it did for beer, and lowered scores significantly more for wine than it did for water. The remaining contrasts revealed no significant interaction term when comparing positive imagery to neutral imagery both for be

20、er compared to water, F(1, 19) = 1.58, p = .225, and wine compared to water, F(1, 19) = 0.24, p = .633. However, these contrasts did yield small to medium effect sizes.,5.6.3结果分析,Report the results:,66,5.7 Mixed design ANOVA,Mixed design是指在实验过程中有多个控制因素,其中有些因素(within-subjects factor)的不同水平为所有的实验实体(Ent

21、ity,如subjects)都参与测试,而另外一部分的因素(between-subjects factor)的不同水平则由不同的实验实体参与测试。,67,5.7.1 数据录入,组内因素(within-subjects factor)的每个水平都按照单独的变量进行数据录入,一个组间因素(between-subjects factor)的作为一个单独的变量进行数据录入。 录入组内因素的不同水平时,需要考虑不同水平的次序关系,把参考水平(reference level or baseline)排在该因素不同水平的第一位或最后一位。若某因素的各个水平之间地位对等,则在排列时没有特殊要求,在对比时一般采

22、用repeated 方式进行对比。,68,5.7.2 实例,问题: 测试长相(looks)和个性魅力(personality)对快速约会效果的影响。 控制因素: 长相(3个水平) 个性魅力(3个水平) 性别(2个水平) 测试值: 愿意和同一个人再次约会的意愿。,69,5.7.3 关键分析步骤,按照实验测试的顺序(该顺序和数据录入顺序相一致),添加组内因素名称及各因素水平数。,70,5.7.3 关键分析步骤,映射组内因素变量 指定组间因素,71,5.7.3 关键分析步骤,设置各因素的对比方式,72,5.7.3 关键分析步骤,设置绘图方式,73,5.7.3 关键分析步骤,设置可选项 因有组间因素,

23、所以需要进行方差齐次性检验,74,5.7.4 结果分析,因素摘要表,75,5.7.4 结果分析,描述性统计,76,5.7.4 结果分析,检查组间因素方差分析的条件是否满足 方差齐次性检验,77,5.7.4 结果分析,检查组内因素方差分析的条件是否满足 球形检验,78,5.7.4 结果分析,组间因素效果,79,5.7.4 结果分析,组间因素效果对比,80,5.7.4 结果分析,Main effect- Gender,81,5.7.4 结果分析,Main effect- Looks,82,5.7.4 结果分析,Interaction-Looks,83,5.7.4 结果分析-Report,All e

24、ffects are reported as significant at p .001 unless otherwise stated. There was a significant main effect of the attractiveness of the date on interest expressed by participant, F(2, 36) = 423.73. Contrasts revealed that attractive dates were significantly more desirable than average-looking ones, F

25、(1, 18) = 226.99, and ugly dates were significantly less desirable than average-looking ones, F(1, 18) = 160.07.,84,5.7.4 结果分析-Report,There was also a significant main effect of the amount of charisma the date possessed on the interest expressed in dating them, F(2, 36) = 328.25. Contrasts revealed

26、that dates with high charisma were significantly more desirable than dates with some charisma, F(1, 18) = 109.94, and dullards were significantly less desirable than dates with some charisma, F(1, 18) = 227.94.,85,5.7.4 结果分析-Report,There was no significant effect of gender, indicating that ratings f

27、rom male and female participants were similar, F(1, 18) = 0.005, p =.946. There was a significant interaction effect between the attractiveness of the date and the gender of the participant, F(2, 36) = 80.43. This effect indicates that the desirability of dates of different levels of attractiveness

28、differed in men and women.,86,5.7.4 结果分析-Report,To break down this interaction, contrasts compared each level of attractiveness to average looks, across male and female participants. These contrasts revealed significant interactions when comparing male and female scores to attractive dates compared

29、to average looking dates, F(1, 18) = 43.26, and to ugly dates compared to average-looking dates, F(1, 18) = 30.23.,87,5.7.4 结果分析-Report,The interaction graph shows that although both males and females interest decreased as attractiveness decreased, this decrease was more pronounced for men, suggesti

30、ng that when charisma is ignored, mens interest in dating a person was more influenced by their looks than womens.,88,5.7.4 结果分析-Report,There was a significant interaction effect between the level of charisma of the date and the gender of the participant, F(2, 36) = 62.45, indicating that the desira

31、bility of dates of different levels of charisma differed in men and women. Contrasts were performed comparing each level of charisma to the middle category of some charisma across male and female participants. These contrasts revealed significant interactions when comparing male and female scores to

32、 highly charismatic dates compared to dates with some charisma, F(1, 18) = 27.20, and to dullards compared to dates with some charisma F(1, 18) = 33.69.,89,5.7.4 结果分析-Report,The interaction graph reveals that both males and females interest decreased as charisma decreased, but this decrease was more

33、 pronounced for females, suggesting womens interest in dating a person was more influenced by their charisma than mens.,90,5.7.4 结果分析-Report,There was a significant charisma attractiveness interaction, F(4, 72) = 36.63, indicating that the desirability of dates of different levels of charisma differ

34、ed according to their attractiveness. Contrasts were performed comparing each level of charisma to the middle category of some charisma across each level of attractiveness compared to the category of average attractiveness. The first contrast revealed a significant interaction when comparing attractive dates to average-looking dates when the date had high charisma compared to some charisma, F(1, 18) = 21.94, and tells us that as dates became less attractive there was a great

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论