Howdy, Stranger!

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

Supported by

correct response and response time are undefined

edited December 2020 in OpenSesame

hi

would you like to help me? I have question about my experiment. I can't do it on the web services. and I can't define correct response and response time when the participant presses the space bar?


ยซ1

Comments

  • Hi @maryam_omranian ,


    Welcome to the forum! :-)

    First of, it helps when you give your discussions a meaningful title. That keeps the forum more clean. (So I changed it.)


    Regarding your question, I think you should:

    • Append a keyboard_response item after your last sketchpad item (called "ISI")
    • And realize that the variable 'correct' will only be defined on the "red-square" trials, because for the other values of the variable 'var1', the correct_response is not defined. Therefore, the value of the variable "correct" will be "undefined" (instead of 1 of 0) on all other trials ("red circle" etc.)

    Does that make sense?


    Cheers,


    Lotje

    Buy Me A Coffee

  • hi

    no I can't understsnd. For other variables, the key should not be pressed. so, I can't define this.

    thanks for your response.

  • For other variables, the key should not be pressed.

    If the correct response is "no response", you can set the correct_response variable to None

    Buy Me A Coffee

  • thanks, for your help.๐ŸŒธ

  • I do that and define none as no keypress, but in my results I have no column that my participant press the key. it's not record in my result๐Ÿ˜๏ธ. I don't know how to have my participant response as result. in logger I don't specify anything and I gathered all the things that I has defined in my experiments.

  • Hi @maryam_omranian ,


    In my previous post I suggested to use a keyboard_response item for response collection. Did you do that? If your experiment is still not logging the responses, could you upload the updated version?


    Cheers,


    Lotje

    Buy Me A Coffee

  • yes I do that.

    here you are๐ŸŒธ

  • Hi @maryam_omranian ,


    What Eduard meant is to use the word "None" as the value of the variable "correct_response" on all trials that are not red squares.



    Also, you set the timeout to 0, but this means that participants have no time at all to respond. So I would increase the timeout to something more realistic (i.e. a few hundred ms).


    Cheers,


    Lotje

    Buy Me A Coffee

  • It was done. but I haven't any distinguished resopnse as space and none, that I can understand when a participant press space bar

    .๐Ÿค” please help me again. here is my update experiment.

  • hi Ivan

    thanks for your help. would you help me again. I sent you my last experiment. but in result, I don't have any columns that show space bar key pressed.

    happy new year. with best wishes for you,๐ŸŒธ๐Ÿ’ฎ๐Ÿ’ฎโ„๏ธ

  • Hi @maryam_omranian ,


    If you open the csv output file, you see a column that is called "response". This column contains the value "space" or "None", depending on whether the participant pressed space or refrained from responding. The column "correct" contains the value 1 (for a correct response) or 0 (for an incorrect response). I don't understand what information you are missing.


    Cheers,


    Lotje

    Buy Me A Coffee

  • hi Ivan

    thanks for your attention.

    participants should press space bar key when they see red square. and, any key press for other variables is correct response.

    Attached is a file that I did the test myself and pressed the space bar for all the red squares, and in addition I accidentally pressed the space bar for a blue star and two red circles and a red star. But in Excel file, unfortunately, these items are not seen in the column 'response'. column 'correct' just say the correct response but not the participant's result.

    maryam

    with best wishes๐ŸŒท๐ŸŒบ

  • Hi @maryam_omranian ,


    You set the timeout to 500 ms but you probably took longer than 500 ms to respond on the red-square trials. Therefore, no keypresses were recorded and the response value was always None.


    If you increase the timeout, the problem should go away.


    Cheers,


    Lotje

    Buy Me A Coffee

  • Hi Ivan


    Honestly, all times 500, 1000, 2500 and 3000 were used, but still no response was recorded, and I think the problem is with the ISI, because by changing the timeout, the time between the stimuli changes. Correctly, the time interval between stimuli should be randomly 1000, 1500, 2000, and 2500 (same as ISI). In the last test I did (although I did not complete it), I pressed the space bar for all variables, but only two were recorded. Files were sent.

    I think the objection must be from the ISI. Could you please guide me again?

    Maryam

    with best wishes๐ŸŒบ

  • Hi @maryam_omranian ,


    Are you testing on your computer or in the browser?


    Cheers,


    Lotje

    Buy Me A Coffee

  • Hi, Ivan

    I apply it on the opensesame in my laptop. but I want to use experiment in the web for my participants in my research.

  • hi Ivan,

    in my computer, I try it. but I want to online it in jatos and then get link for my participants that they are going to do it.

    thanks, for your attention

    with best wishes๐ŸŒบ

    maryam.

  • Hi @maryam_omranian ,


    Firstly, please note that my name is Lotje, not Ivan. ;-)


    I can't reproduce your problem. If I press space on all trials, the column "response" correctly contains the variable "space". (I used the latest version that you uploaded here.)


    I noticed a few other things:

    • I think you should use the square-bracket syntax to define the duration in your sketchpad item called "ISI" to set the duration. Now you made the duration fixed (500ms) instead of using the variable that you defined in your inline_javascript item. For more information on the square-bracket syntax, see here: https://osdoc.cogsci.nl/3.3/manual/variables/#defining-variables


    • Also, shouldn't you show the empty sketchpad (ISI) before the stimulus? Otherwise, the RTs are indeed off.
    • You don't have to define the correct response in the keyboard_response item again if you already defined the variable "correct_response" in the block loop. So you can leave this box empty.



    Good luck!


    Lotje

    Buy Me A Coffee

  • hi, Lotje

    I'm sorry for my mistake.

    I do not know why my data recording is different from yours when I run the test? It's weird for me๐Ÿ˜ฏ


    And that I really do not know what to do?

    thanks for your help๐ŸŒบ

    maryam

  • hi Lotje

    I want to try it on another PC.

    thanks for your help๐ŸŒบ.

    maryam.

  • Hi @maryam_omranian and @mfp49 ,


    In addition to our advice about the timeout, I believe you should also reverse the order of the sketchpad items "stim" and "ISI". (See my previous post.)


    Also, can we please merge these discussions into one?


    Cheers,


    Lotje

    Buy Me A Coffee

  • Hi, Lotje

    thanks a lot.

    when I reverse stim and ISI my experiment recorded response and response- time.

    with best wishes to you. thank you very much.๐ŸŒบ๐ŸŒธ๐ŸŒท

  • In very glad to hear, Maryam!


    ๐Ÿ˜Š

    Buy Me A Coffee

  • hi lotje

    some of my participant when I online my experiment can't do it. and, they recieve error message.

    when they change their computer it's ok and they do the task. but some of them haven't second computer, and when they can't do the the task, they leave experiment.

    would you mind help me again?

    with best wishes,๐ŸŒธ

    Maryam

  • Hi @maryam_omranian ,


    Can you reproduce the problem on your own system? If you press Ctr+Shift+I, do you see any error message written to the console?


    Cheers,


    Lotje

    Buy Me A Coffee

  • Hi, Lotje

    woud you please tell me how I can reproduce this error on my system? this is my participant's error. I don't understand what should I do. may I ask you for more explanation, please?

    thanks,๐ŸŒบ

    Maryam

  • Hi, Lotje

    with my stroop online task at jatos they see this error.

    thanks, with best wishes,๐ŸŒท

    Maryam

  • Hi @maryam_omranian ,


    I'm sorry to hear that some of your participants are not able to run the study. But without an error message I can't help you finding the problem. Perhaps you could ask one of your participants to press Control-Shift-I and copy the message from the console.


    I did notice something else while looking at your script: The duration of the sketchpads showing the color stimuli should be set to 0 instead of "keypress". Otherwise, the response values that you are measuring with the keyboard_response item won't be recorded correctly.


    Good luck!


    Lotje

    Buy Me A Coffee

  • Hi, Lotje

    ok. Im' going to ask one of my participant to do that and, I will send you the message, she recieve.

    thanks for your attention to my task, ok, I changed it to zero.

    thanks a lot.๐ŸŒบ

    Maryam

  • Hi, Lotje

    this is the message, would you like to help me again?

    thanks ,๐ŸŒบ

    Maryam

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