On Wed, 2018-01-10 at 18:31 +0000, Rogers, Rebecca R. wrote:
> Hello,
> 
> My lab is using the PEBL program for cognitive testing while using
> active workstations. We are following up on a recent study (Ehmann
> PJ, Brush CJ, Olson RL, Bhatt SN, Banu AH, Alderman BL. Active
> Workstations Do Not Impair Executive Function
>  in Young and Middle-Age Adults. Medicine and science in sports and
> exercise. 
> 2017;49(5):965-974) which used PEBL and are wanting to generate a
> similar test battery. I have watched several YouTube videos and read
> the manual but there are a few issues I am having>

Some of the modifications you are asking about are not set in the
parameters, so they may take some changes to the code to implement. If
the Ehmann paper used these, they must have modifiIed the versions
distributed in the battery, and you might contact one of the authors to
see, and get their script files. I may have helped them with this, but
can't remember. I'm assuming you are using the latest 2.0 release (not
the 2.0 beta releases), which has fixed/changed a few things in both of
these tasks.
> 1.      
> For the Stroop Color test, is there an option to take out the
> “neutral” trials and only have “congruent” and “incongruent” trials.
> Ehmann et al did this.
That is not a built-in parameter.  The default stimuli are defined
around line 660:
    x <-
[["I",green,4],["C",blue,2],["N",w3,4],["I",blue,1],["I",green,4],["N",
w3,1],["N",w3,3],["N",w2,1],          ["C",green,3],["I",yellow,1],["C"
,red,1],["C",yellow,4],["C",blue,2],["I",red,4],["C",green,3],["C",red,
1],          ["N",w2,2],["N",w4,1],["N",w4,4],["C",yellow,4],["I",green
,2],["C",blue,2],["N",w2,2],["C",red,1],          ["N",w1,4],["I",green
,1],["N",w2,1],["N",w2,4],["I",blue,3],["N",w1,1],["I",green,2],["C",re
d,1],          ["I",blue,4],["I",yellow,1],["I",yellow,3],["N",w2,3],["
C",yellow,4],["C",green,3],["I",red,2],["N",w1,4],          ["C",red,1]
,["N",w1,3],["N",w4,2],["N",w3,4],["I",yellow,3],["C",green,3],["I",red
,3],["I",red,2],          ["N",w4,4],["C",yellow,4],["N",w2,4],["C",blu
e,2],["I",blue,3],["C",yellow,4],["C",green,3],["C",blue,2],          [
"N",w1,2],["N",w1,2],["I",yellow,2],["I",red,4],["N",w3,3],["I",green,1
],["I",blue,1],["C",green,3],          ["I",red,3],["I",blue,4],["C",re
d,1],["N",w4,3],["I",yellow,2],["C",yellow,4],["C",blue,2],["N",w3,2]]

There is a similar block for the practice round.  Each inner list
(brackets) represents a trial.  You can delete the trials that are
marked with an "N", being sure to maintain one comma between each
list. Each trial is defined by (1) a condition code (N/C/I), (2) a
color name or word name (green, blue, yellow are variables that store
the localized color name), and (3) the index of a color stored in a 4-
element vector.  The order is red/blue/green/yellow, so you can see
every "c" that is blue has a 2. 
 As long as usepreset=1, this will work.  However, the report generated
at the end expects there to be neutral trials, and so it may crash when
it tries to generate that report/summary data file, so you should do
some testing and look carefully at the report file to be sure it is
giving you what you want.

> 2.      
> Even when I edit the parameters of the stroop to eliminate all of the
> practice trials and thresholds, when I run the test, there are still
> practice trials.
I guess it always does at least one round of practice now. The
following should fix it: change line 194 from needpractice <- 1to:
   needpractice <- gParams.maxpracticerounds>0
> 3.      
> Similar to Ehmann et al, our investigators want have 6 blocks of 32
> trials performed but when I edit that in the parameters, the test
> still shows 2 blocks of 72 trials.
If you remove the neutral trials, it will be fewer--maybe not 32, but
probably 48.  I'm not sure how they got to 32, but you could edit the
list above to include the same trials they did.  But this version was
designed to have just two rounds. The two rounds is a holdover from a
previous version where you made color decisions in one round, and word
decision in the other, but nevertheless, the rounds are hard-coded. To
add rounds, you would need to replicate a block of code that starts
around line 320, for every additional block you want.  This is slightly
tweaked so you should be able to copy it four times following the block
2 code:
  ##do next round:   gBlock <- gBlock + 1
   ##   loop(trial,Shuffle(block2))   {      DoTrial(trial,gResponseTyp
e,"data/"+gSubNum+"/trial-"+ZeroPad(gTrial,3)+"-
",                   gParams.responsetimeout,gParams.fixationtime)     
 gTrial <- gTrial + 1   }
   ##These compute: condition,  length, median, mean, stdev   statsCorr
<- SummaryStats(gErr,gCond)   statsRT <- SummaryStats(gRT,gCond)

This should do six blocks, each time with the same stimuli but in a
different shuffled order.  Again, I'm not sure what the report
generated at the end  will do here.

> 4.      
> For the PASAT, is there a way to remove the “correct/incorrect”
> feedback during the test. The Stroop had that option but I did not
> see the same parameters for PASAT.

Maybe if you comment out the following lines by putting # at the
beginning of each line (starting line
~161)    if(correct)       {        stim.text <- gStrings.correct
       }else{        stim.text <- gStrings.incorrect       }

> Thank you,
> Rebecca
>  
>  
> Rebecca Rogers, MS
> Coordinator of Kinesiology Labs
> 
> Instructor
> Kinesiology
>  
> 205-726-2717 | office
> rroge...@samford.edu
> www.samford.edu/healthprofessions
> 800
>  Lakeshore Drive
> 
> Birmingham, AL 35229
>  
> 
>  
> 
> 
> 
> 
> -------------------------------------------------------------------
> -----------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot__________
> _____________________________________
> Pebl-list mailing list
> Pebl-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pebl-list
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Pebl-list mailing list
Pebl-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebl-list

Reply via email to