Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Feedback

Dear all,

my experiment consists of a total of 400 trials and they are divided into 4 blocks with 100 trials each. After every block the participants receive feedback on their performance: 1. accuracy (expressed as a percentage); 2. average reaction time in milliseconds.
Additionally the participants will be informed if they managed to improve their performance from one block to another. I was thinking of showing them feedback for their performance on the previous block alongside their performance on the current block and/or showing them the difference between their performance on the previous block and their performance on the current block (i.e. accuracy current block - accuracy previous block; average reaction time current block - average reaction time previous block). My idea was to create separate performance variables for each block (with an inline script) so the excel file will have a variable for accuracy and average reaction time for block 1, block 2 and so on. This would allow me to compute the difference between the blocks (or to compare the performance indicators respectively). After that I could insert the variables into a sketchpad as shown in the tutorial:

End of block 2

Your average response time was [avg_rt_block2] ms
Your accuracy was [acc_block2] %

Difference average response time between block 1 and block 2: [diff_avg_rt_block1_and_block2] ms
Difference accuracy between block 1 and block 2: [diff_acc_block1_and_block2] %

I have 2 questions:

  1. Is this a good way to get the intended result?
  2. Could someone tell me what code I should use in the inline script that would compute the accuracy (expressed as a percentage) and the average reaction time?

Does this make sense?
Thanks in advance for your help!

Comments

  • Hi erwinwirne,
    I imagine that your blocks are randomly selected in a loop, right?
    You may use the standardvariables as "correct_response" in combination with the variable that counts the loop. Just count them in an inline_script for each repetition of the loop separately. Same for RTs.

    Your second part should say [avg_rt_block1-avg_rt_block2]

    Greetz
    Stephan

  • Dear Stephan

    Thank you for your answer! Since all blocks have the exact same variables I didn't randomize them. At the beginning of each block I inserted a reset_feedback. I added an inline script with a short code:

     var.accuracy_block1 = var.accuracy #the same for block2, block3 and so on
    
    var.reaction_block1 = var.avg_rt 

    This means that each block has a seperate variable with accuracy and average reaction time. Then I used the second part you suggested (thanks again): [avg_rt_block1-avg_rt_block2]; It seems to work fine, my only problem is that the first answer is never recorded (i.e. it says NA) and this means that the columns shift a line lower.. Do you know what I mean? Is there a way to solve this problem? Maybe define the variables in the prepare phase?

    Thanks for your help!
    Erwin

  • As far as i understood, you did not use a loop. (In a loop you may have repeated your block (=sequence ) also without randomization). In a loop you need to define the new variables depending on the loop repetitions.
    Anyway, you just copied the blocks, right?

    You put an inline_script at the beginning of each block, which sets accuracy to 0.
    reset_feedback()
    And you put an inline_script directly before the feedback_item, which defines the accuracy of a certain block. Do not put it at the beginning of the block, because accuracy is 0 after resetting, or the accuracy of the previous block before resetting.

  • Hi Erwin,

    I think, the problem is that there is no logger executed after you changed the value of your variable. Therefore, it might have been updated internally, but the new value of the variable is never written to file until the next logger is executed. In a loop this would be the next trial.
    So, to fix that, you have to write another line to the logger.

    Hope this helps.

    Eduard

    Buy Me A Coffee

  • Dear Stephan, dear Eduard

    Thanks for your help! You are absolutely right Eduard! It was quite an easy mistake, I placed the inline script after the logger by accident. I switched the position of the inline script and now it works just fine :)

    Thanks again
    Erwin

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games