Howdy, Stranger!

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

Supported by

[solved] Logging errors - Acc and RT undefined / incorrectly calculated

edited February 2015 in OpenSesame

Hi all,

I am having some trouble with an experiment. In an attentional capture task, the default opensesame variables dealing with accuracy and RT (Both the ones that record averages, and the ones specific for each trial) are not logging properly.

Specifically, the variables acc, accuracy, average_response_time and avg_rt are always logged as undefined, and the feedback items in the experiment cant reach them (Feedback screen shows "undefined" for any of these variables. Furthermore, the allowed_responses and correct_response variables are logged as NA. However, correct and incorrect responses are recognized properly, responses are recorded correctly and all the experimental variables that depend on the and the participant's performance work fine.

Also, I tried the experiment in a different computer, and I got an even stranger behaviour. acc and accuracy, show either a 100 or a 0 value for each trial (100 for correct, 0 for incorrect), so it is not really making any accuracy calculations. Also average_response_time and avg_rt are not averaging, and they just show the actual response time of each trial.

Maybe this information helps, maybe not, but all these errors I get when running opensesame in a virtual windows machine on a mac; and in a regular windows computer. First errors on the mac, the others on the windows (I have the latest version of Opensesame installed in the mac, but the windows computer has the 2.8 version).

I have tried to delete and replace the keyboard_response and the logger items, and to re-create the experiment from the script editor in a new file, but I still get the same errors. Probably I will end up making my own accuracy and response time variables, but I would still want to know what is going on, and how to keep it from happening again (I had a similar issue with the accuracy and RT variables before, which was never really solved. I just changed the script and included my own variables).

If you want to take a look at the experiment, here it is.

Hope you guys can help me out!

Cheers,

Daniel

Comments

  • edited 1:10PM

    Hi Daniel,

    I think the problem is that the feedback variables are being reset by the various feedback items that are present in your sequences. This happens by default to avoid carry-over effects from block to block: You generally want to reset your feedback variables after every block. But not after every trial, of course. You can disable this with the 'Reset feedback variables' checkbox.

    image

    Cheers!
    Sebastiaan

  • edited 1:10PM

    Hi Sebastian,

    I disabled the checkbox you mentioned, and now it works perfectly. All variables are calculated and logged just fine. I also understand better how the feedback item works, so I have changed it for text displays in the trial by trial feedback, and kept the feedback items only for the block results.

    Thank you very much!!

    Best,

    Daniel

  • Hi all,

    I think I'm having a problem very similar to Daniel's, but the OpenSesame items are a bit different in the current version? I had several reset_feedback items and I deleted them all, but the problem persists. I have a feedback sketchpad with the following OpenSesame code:

        set duration keypress
        set description "Displays stimuli"
        draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18        html=yes show_if=always text="End of block.<br /><br />Your average response time was [avg_rt] ms.<br />Your accuracy was [acc]%.<br /><br />Press any key to continue. " x=0 y=-32 z_index=0
    

    And I can see in the variable inspector that both [acc] and [avg_rt] are being updated trial-by-trial as I run the experiment, but when I get to the feedback sketchpad, it still reads:

    End of block.

    Your average response time was undefined ms.
    Your accuracy was undefined%.

    Press any key to continue.

    Help?

    Thanks!
    -Jonathan

  • whoops! never mind!!! i see the feedback item now... sorry!

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