E-Prime实验步骤范例_第1页
E-Prime实验步骤范例_第2页
E-Prime实验步骤范例_第3页
E-Prime实验步骤范例_第4页
E-Prime实验步骤范例_第5页
已阅读5页,还剩78页未读 继续免费阅读

下载本文档

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

文档简介

1、E-PRIME实验步骤范例:,由易到难,一、形成概念并设计核心实验程序,1.给实验程序写一个摘要,即构思框架。,如:实验将要测量的是:被试对所呈现的字符串,判断是否为单词的反应时。 自变量是一个字符串,为:a word or non-word. 刺激将以文本形式的字符串方式呈现。words and non-words 白背景,黑字体,随机呈现 首先在屏幕中央给被试呈现a fixation (+),时间为1s 之后在屏幕中央将呈现一个a probe(字符串刺激),时间为2s 被试的反应会终止刺激的呈现 要求被试对刺激尽快按键做出反应:was a word or a non-word (对按1,错

2、按2) 因变量是对probe的反应、反应时和反应正确性。,2.为实验创建文件夹并运行e-studio,(1). 为实验创建文件夹,(2). 运行e-studio,(3).在文件夹中保存实验,给它命名(提前进行),3.确定核心实验的设计方案(设计list),e-prime中实验的设计是在list图标中实现的 开始可先设置一个独立变量 (Condition) ,它有两个水平 (Word, Non-Word)。 我们要确定此条件下被试所看的刺激和正确反应,以确定反应是怎样被评价的。 随后我们可加载更多的独立变量(如:字词出现的频率和启动)、刺激和相关反应。 list图标的主要作用:按照某种方法去挑选

3、其中不同的小实验。,(1).创建并命名List图标,(2).在 List中:添加attribute(不同列),(3). 在 List中:添加rows(不同行level)并完成attribute设置,(4). 在 List中:创建 Procedure(时间线),此处是先命名后创建,当然也可先创建。,4.确定核心实验的程序(时间线),把不同的试验事件(如:fixation,probe,feedback)放入实验程序时间线, 并重命名图图标 (“试验事件”即为procedure上的图标),5.设置不同“试验事件”的自定义值和变化时的属性值,(1).确定被试将要看到的刺激,(2).确定每一个“试验事件

4、”的自定义属性,另外还有fixtion的,此处图略,6.确定在日志中将要记录哪些数据以供随后分析(自定义日志),(1).为了Probe objects采集足够的数据以供分析,把在日志中记录数据的模式选为标准,(2).若需要可设置特殊的记录日志的方式,7.运行并检验核心实验(运行时检验),(1).编译实验,(2).运行试验,进行反应正确、反应错误和无反应操作,(3).检查(2)中预期的结果显示,8.检验核心实验的数据在日志中记录的情况,对于此实验中的 trial 1(试验1,即第一行) 自变量 ( DesignList 中的 attributes)为: Condition=Word, Stimu

5、lus=Cat, and CorrectResponse=1. 因变量为:反应键(Probe.RESP=1), 反应时 (Probe.RT=586) 和 反应正确性(Probe.ACC=1, 表示正确反应)。 trial 2 (试验2,即第二行) Condition=NonWord, Stimulus=Jop, CorrectResponse=2, Probe.Resp=1 (和所期待的反应键不一致), Probe.RT=1224, and Probe.ACC=0 (表示错误反应). 注意Probe.ACC的值 (1 for correct, 0 for error).,(1).打开E-Dat

6、aAid程序并载入数据,(2).核对行数是否和试验所期待的一样,(3).确定列表的attribute,并确定实验的所有情形是否和预期一样,(4).找到因变量并检查设置是否合理 (5).检查所设置的持续时间是否设置正确,二、精心策划实验程序,.添加“Get Ready”图标,.添加Fixation和Probe图标的指令,This reduces the displayed area to 25% in the center of the screen. These settings will permit the stimulus to overwrite the fixation, but w

7、ill not erase the response instructions.此时fixtion呈现时间为-1,.添加prime(启动)图标,Finally, set the frame height for the Prime object to 25% so that the instructions from the Fixation are not overwritten.,.添加feedback(反馈)图标,.运行并检验Get Ready、prime和feedback图标,注意要把 Collect No Response ACC Stats 选上,三、把所有的试验条件加入到实验中去

8、,我们将添加更多的情形,所以 Condition attribute name 就不在有意义. 双击 Condition attribute 的标题将其名称改为 “ProbeType.” 通过拖拽重新编辑各columns 的顺序.,添加DesignList 的行,完成 conditions和stimuli的设置.,(1).法一:直接输入,在条件很少,比如少于10个时推荐直接输入。 添加6行,一共8行 4个刺激(two words, two non-words) 。,2.设置weights(权重),3.设置取样模式和退出条件,取样模式(sampling mode)允许改变不同情况(list中的不

9、同行)在运行时的顺序。包括: sequential, random (without replacement), random (with replacement), counterbalance, offset, and permutation. 默认的取样模式为sequential presentation of items. 这对调试实验、核对每一种情形(list中的不同行)有帮助。,4.测试,保存实验,编译,运行,检验DesignList中新加入的条目运行正常。现在有24个实验,随机发生, 且non-words是words发生概率的两倍。,四、添加所有的模块(block,查)和模块条件

10、,1.添加block 列表图标,(1). 添加一个block程序,(2). 添加一个block attribute(属性),In the BlockList, add an attribute and rename it PrimeDuration. This attribute will be used to vary the duration of the prime across blocks.,(3). 为block设置取样方法,2.把设计过的 designlist 放入blockproc中,3.添加block的指导语,The subject is instructed to pres

11、s the spacebar to begin the block. In the properties for the BlockInstructions object, 1) set the Duration equal to “-1” (i.e., wait until a response is entered), 2)set the Input Mask to allow keyboard input, 3) set Allowable as the spacebar (i.e., SPACE), 4) set the End Action to “Terminate” upon r

12、esponse from the subject.,4.为sessionproc添加指导语和结束语,Like the BlockInstructions, the Introduction object instructs the subject to press the spacebar to continue. In the properties for the Introduction object, 1) set the Duration equal to “-1” to wait until a response is entered, 2) set the Input Mask t

13、o allow keyboard input, 3) set the Allowable field as the spacebar (i.e., SPACE), 4) set the End Action to “Terminate” upon response from the subject. In the Properties for the Goodbye object, set the Duration to 5000. No input need be enabled for the Goodbye object; it will simply time-out at the e

14、nd of the duration.,5.修改试验程序以使用primeduration中的持续时间,6.特别注意:在不同水平上可有多种方法来划分设计,(1).使用block水平的嵌套列表,The next step is to create the three List objects to which the DesignList refers (i.e., AnimalList, FruitList, NonWordList). Each list would necessarily include the ListStim attribute, which would define t

15、he text strings to be used as the stimuli. AnimalList, FruitList, and NonWordList should be created in the Unreferenced E-Objects folder.,1.At run-time, the ListType attribute value would be resolved to determine which List to use for the block of trials, and the ListStim attribute value would be re

16、solved from the List identified by ListType. 2.It is worthwhile mentioning the change in the structure of the experiment that results from nesting. 3.Nested Lists are placed in the Structure view immediately subordinate to the List calling them. 4.Thus, in the Structure View below, the NonWordList i

17、s placed in the structure below the DesignList.,(2)在试验程序中使用 block程序,Rename TrialProc to PrimeTrialProc, and make a copy of PrimeTrialProc. A copy may be made via the Browser. Display the Browser by selecting it in the View menu or by pressing Alt+2. Select PrimeTrialProc in the Browser, right click

18、to display the context menu, and select copy. Right click to display the context menu again, and select paste to place a copy of PrimeTrialProc in the Browser. Rename the copy (named PrimeTrialProc1 by default) to MaskTrialProc.,Notice that the Browser lists MaskTrialProc as being unreferenced. When

19、 PrimeTrialProc was copied, the copy was created in the Unreferenced E-Objects folder. Also notice that the renaming of TrialProc to PrimeTrialProc resulted in the updating of all references to TrialProc (e.g., in the Structure view and in the DesignList).,Notice that MaskTrialProc includes an addit

20、ional object to present the Mask. To complete the MaskTrialProc as in the view above, drag a TextDisplay object to the MaskTrialProc following the Prime. Rename the new TextDisplay to “Mask”, set the Mask Duration property to 50ms, and the Height property to 25% (i.e., to match the display area sett

21、ings for the Prime display).,五、添加practice block。 设置取样的次数、采集数据的方法及样本的数量,1.在browser中复制blocklist,2.在block水平上的添加练习模式的attribute,In order to easily analyze the practice data separately from the main data, add a variable that codes the information as practice or experimental trials.,(1).修改practice block li

22、st,(2). 添加practice模式的attribute(属性)到block level list图标,3.用脚本设置练习要达到的正确率以终止练习,In order to repeat the practice block of trials until the desired accuracy level is achieved, we will examine the accuracy after the PracBlockList terminates, and either continue with the real trials or jump back to run the

23、PracBlockList again. We will need to add a few lines of code to the experiment to monitor the accuracy and determine when the accuracy is sufficient to allow termination of the practice block. How to write E-Basic code is detailed in Chapter 4 Using EBasic. Here we will just provide an example of ho

24、w to write some code for checking the accuracy during a block of trials.,(1).添加inline以核实准确性,The script above examines the value of Feedback.ACCStats.Mean (calculated automatically by the Feedback object) to determine if the subject achieved 80% accuracy. If this value is greater than 80%, the practi

25、ce trials terminate and the experiment continues with the real trials (i.e., the next object in the SessionProc is the BlockList). If the subject did not achieve 80% accuracy for the practice trials, the practice trials are repeated using the Goto command to jump to Label1. Using this method, the pr

26、actice trials will continue until the Criterion for continuation is met. The Feedback.ACCStats.Reset command is used to reset the Feedback accuracy statistics to zero before rerunning the block. The InLine is also setting the text to display using an object called EndPrac. In the next few steps, bot

27、h the Label1 and EndPrac objects will be created.,(2).把标签1置于练习block列表之前,(3).为session程序添加结束练习图标,It is important to inform the subject whether they have met the accuracy criterion. We do this by adding the EndPrac object to display the text determined by the preceding CheckAccuracy Inlineobject. Add a

28、 TextDisplay object to the SessionProc following the CheckAccuracy object. The text for this object to display will be assigned at run-time via the CheckAccuracy InLine object, so no text need be entered for this object. Set the Duration property for the EndPrac object to 3000 milliseconds. The EndP

29、rac object is not necessary for the process of repeating the practice trials, but helps to make the experiment execution more understandable to the subject.,六、特殊功能,设置 “记时模式” 和 “退出”,1.检查记时模式,如:Event mode 或 Cumulative mode 对于Prime: Data Logging (Time Audit Only), Timing Mode(Event), PreRelease (0ms) 。

30、 设置如下图: Data Logging 的选项 “Time Audit Only” 会记录如: OnsetTime, OnsetDelay, DurationError. “Time Audit Only” 选项应在无反应时用, 如: Fixation 和 Prime的显示. Objects 收集反应时 (如:Probe) 应该设置 Data Logging 为“Standard” 除了有关数据之外的反应数据。,2.提供block中的提前退出设定,E-Prime允许在实验运行时按 Ctrl+Alt+Shift提前退出。它在调试实验和快速退出时很实用。 此外E-Prime还提供写程序的方式用按

31、组合键退出。例如在一个trial或block的结尾退出上级的list, 此时所有的已有数据都会被保存。 Ctrl+Shift键设置后,GetUserBreakState的值取“1”,否则取“0”。GetUserBreakState is set 直到实验明确的用脚本(SetUserBreakState0)把其值重新设置为0。 此实验中,在TrialProc末尾添加Inline object并检查GetUserBreakState的值。若为“1”,使 用DesignList.Terminate命令可在DesignList运行时退出。退出时UserBreakState的值会重新设 置为“0” ,再

32、运行下一block。,要终止BlockList,应使用BlockList.Terminate命令,设置同上。,七、测试实验,2.核对记分和数据采集,1.运行实验并检查正确反应和错误反应,被试反应全对或全错都不现实,所以要测试各种情况: 反应正确、反应错误、按规定的反应键之外的键、无反应等。,要保证数据都被准确记录,并没必要运行大量的试验。5到10个刺激反应试验就足够了。 在E-DataAid中检查数据以核对日志中的数据在实验的不同水平(session、block、trial、 sub-trial)上是否正确。 在最低的水平上, 反应和反应时应被记录正确,且都在合理的取值范围内。 核对运行时 t

33、rials 和 blocks的正确个数, session 水平上的信息记录正确(如:被试编号、 session号等) 。 确定数据文件正确反应了和设计的每一cell相对应的观测值的正确数目。 例如: 2x3 设计,每一cell重复5遍。则数据文件应显示30个trials,6种情形下每种5个试验。 最后, 要再次核对分析所用的全部数据都以被记录。 因为E-DataAid 提供过滤功能, 所以哪怕去犯记录数据过多的错误,也不能犯没有记录到关键 变量的错误。,3.核对记时的准确性,由于编实验的人可能因太熟悉实验说明和步骤,以致很难挑出实验的错误或不足。所以在真正收 集数据以前使用“试用被试”来改进实

34、验的不足是很重要的。 (1).检查指导语是否简明易懂 在使用试用被试过程中,不适宜的按键、过低的正确率、超长的反应时,可能说明被试并没有理 解指导语或是指导语写的不充分(不在电脑上呈现,由主试直接口头告知被试也经常使用)。 实验前,先在电脑上给被试呈现一些实验中要用到图象,并给予任务的说明是个好方法。使用的 “试用被试”之前要无此实验的经历。同时,指导语也说明了实验的方法,便于和他人 分享实验。 (2).核对数据 在每一个“试用被试”进行完实验后,在把各被试的数据文件合并为主数据文件前要核对各子数据 文件的准确性。检查各子文件有助于避免合并时出现冲突。,详见精确计时的PPT。 每一object

35、的Logging图标, Time Audit and Time Audit (Extended) variables 提供了 核对launch-time,display-time, finish-time, possible delay以及和每一object相联系的 错误的方法。,4.运行pilot subjects,八、运行实验,1.运行subjects,要运行一个完整的实验,可在E-Run中直接打开E-Basic Script (EBS)文件。,不推荐在此窗口中对EBS文件进行直接编辑, 因为每次重新生成(regenerated)EBS文件时, 它都会被覆盖。,打开一个EBS文件后,要运行

36、,可点击“运行”按钮或按F7。,运行完之后,E-Run会返回此窗口并显示EBS文件。并有对话框提示Script是否成功的运行到底。,2.在多个机器上运行实验,要在多个电脑上运行E-Prime实验时,并不必要在每台机子上都进行完全安装。 E-Prime安装时Subject Station(被试状态)安装只是完全安装大小的1/2。 插入光盘后,安装期间选择Subject Station选项即可。 在用真实被试前,最好每台机子上都试一试是否可成功的运行实验。 只要把某个EBS文件拷到带有Subject Station的机子上,把实验装载到E-Run 中,运行即可。如果数据是在不同的电脑上获得的,这些

37、带有EDAT扩展名 的文件必须被复制并转移到同一环境下去合并,除非这些机子都联了网。,九、进行基本的数据分析,E-Prime只能采集单一被试的数据文件,要做整体分析必须要用E-Merge把多个单个数据文件合并为一个主数据文件。,.合并数据,打开E-Merge(两种方法):,打开后会出现快捷指导窗口(可关闭),Standard Merge 和 Recursive Merge的区别: 后者不需要在文件夹列表中去选取所需要Merge的文件,而是在随后的对话框中进行。 后者的Merge不仅限于当前激活的文件夹,而是包含当前之下的所有子文件夹。,在不同的机子上采集数据: 合并数据时要确保实验名和被试的编

38、号要唯一确定。如:在一号电脑上被试的编号为 101199,在二号电脑上被试的编号为201299。否则合并时会发生冲突。 合并数据有两种方法: 法一:把不同机子上的数据拷到同一机子上的同一目录下。这些文件都带有EDAT扩展名。 法二:所有机器都有一个共享的硬盘空间,并把数据文件保存在此空间。此时E-Merge的 Recursive Merge功能就可把不同文件夹下的这些数据文件合并在一起。例如:两 台电脑(Station1,2),两个实验(Experiment1,2),共享了数据目录后,就 有了如下所示的目录树:,2.核对数据条件和数据特性,对合并后的主文件中的数据进行完整性和适宜性的核对。 (

39、1).数据的编辑 使用E-DataAid来实现。 打开E-DataAid(两种方法):,E-DataAid 工作环境和 Excel 类似。 它可实现对数据的组织、 重排、过滤显示。,(2).修改痕迹,所有修改过的条目或数据都将显为红色,并记录和显示修改的时间。合并后的数据 文件的Annotations会有修改的详细记录,显示是主文件中的哪个子文件(来源文件) 有了变动,都有那些修改。如下图:被试号从1改为了10的记录。,3.分析并输出数据,(1).输出未经处理的原始数据 两种方法(菜单,按钮) 以不同的格式存储以用于StatView, SPSS, Excel 等软件。“Other”表示可自定义

40、格式以用于列表 中没有的软件。,E-DataAid允许格式化和输出原始数据,数据的子集或数据表格。,(2).输出这些数据的子集,输出之前要先过滤出自己想要的数据,以方便分析。 即根据要求过滤出符合条件的行和列。,Arrange Columns命令允许用户对电子列表中的栏目进行隐藏或显示的 设置,并组织它们在显示时的栏目顺序。 列操作!,Fliter命令允许用户设置在某一变量取某特定值时的列表显示(如:只有 正确反应)。其中又有Checklist filter(特定值)或 Range filter(取 值范围)两种选择。 下图为设置只有正确反应(Target.ACC=1) 行操作!,组织和过滤功

41、能使用后输出的数据便是符合它们设置的子集。,(3).创建并输出表格,使用Analyze功能可输出一个经过总结(摘要)的变量表(如: MeanRT x Condition)。 两种方法打开:图标或菜单,Analyze功能允许用户确定操作的摘要 分析。Analysis 是通过从Variables list 中拖拽合适的因素到像: Rows, Columns, 或Data中以确定它们的 row, column, 或data 因素。 Analyze确定之后点击Run以生成table 还可 在所生成的Table对话框中)点击Export 以完成输出操作。 在进行了 Save Analysis 和Load Analysis命令后, Analyze功能 允许所规定的analysis被保存以供以后 再次装载和运行。 Analyses保存为

温馨提示

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

评论

0/150

提交评论