Howdy, Stranger!

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

Supported by

Does text_input form have correct or response time variable?

Hello,

I am designing a math study that asks children to enter the answer to an equation and press 'enter' to move on to the next question using the text_input form. However, I was wondering if 'form_text_input' have a 'correct' or 'response time' variable? If not, is it possible/is there a way to log them?

Thanks in advance!

Comments

  • FabFab
    edited November 2021

    Hi @choql,

    As far as I can tell, form inputs don't have a correct variable (as they do not seem to allow a variable to be defined as the correct response) or a response time variable. These variables do appear in the log but they'll contain the data relative to whatever keyboard or mouse response was last taken (e.g., pressing the space bar to get passed the welcome sketchpad).

    So, you'd have to define these variables through coding.

    Here's a simple example where some basic math problems are presented on a form and subjects type in their responses:

    I defined the correct response in the loop:

    In order to score the subject's response and measure the RT, we can use some code right after the form input object(so that we waste no time measuring the RT). Here I do it in Javascript (in case you're interested in running your experiment online) - if you're gonna execute it on a device running OS, you could also use Python coding.

    Here's the Javascript code:

    // computes response time
    vars.response_time = vars.time_score_response - vars.time_math_problem
    
    // computes score
    if (vars.form_response==vars.correct_response) {
    vars.correct = 1
    } else {
    vars.correct = 0
    }
    

    To make things simple, I store the RT and the score in the vars.response_time and vars.correct variables respectively, but you could of course name these variables as you wish.

    As you can see, in order to calculate the RT, I subtract the onset time of the math problem's presentation from the onset time of the Javascript object presented right after.

    I attach my example here so that you can try it out:

    Note that if you're gonna run your experiment online, you will need to disable the "Log all variables" property of the logger and introduce the variables you want to see in the data log manually. In that case, make sure you include a the key variables you need.

    Finally, note that while handy to have the score and RT outputted as such in the data log, you could also in fact calculate these offline in Excel (as long as your log contains the correct response and the subject's response, as well as the onset time of the math problem's presentation and the onset time of the object presented right after it).

    Hope this helps!

    Fabrice

    Buy Me A Coffee

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