Howdy, Stranger!

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

Supported by

Quick help needed: How to choose stimuli from different lists in block loop

Dear Community,

I'm designing my first behavioral experiment with Opensesame Expyriment. There will be 4 different lists, each of them contains 84 sentence stimuli devided in 6 blocks (so 14 sentences per block). Each list is one version of the experiment, different participants will recieve a different version.

How can I get Opensesame to chose stimuli from a different list (in sequential order) depending on the version number acquired? With an inline script maybe?
Also do I have to create different loops for each block of the list or is there an easier way to devide the 84 stimuli into 14 per block?

I'm new at coding so I feel a bit lost right now. Quick help would be really appreciated since I need to get this done asap!

Happy easter everbody,
Sophie

Comments

  • Hi Sophie,

    You can select a loop based on the subject_nr, using the module (%) operator, like so:

    So that part is pretty easy, and does not require any inline scripting.

    Then there's the question of how to divide each loop into 6 blocks. What kind of structure are you looking for exactly? I.e. are there 84 unique trials, or are there repetitions? Are there constraints?

    Cheers!
    Sebastiaan

  • Hello Sebastian! Thank you very much for your help!!!
    There are 84 unique stimuli per version.

  • Hi Sophie,

    I see. In that case, you'll want to take a look at Extra Assignment 3 from this tutorial:

    This shows how you can split one long block up into multiple short ones. I would recommend first trying to solve it yourself based on the provided tips, but there's also a solution provided in the form of an experiment.

    Cheers!
    Sebastiaan

  • Thanks a lot for your help Sebastiaan! I've "solved" this problem by adding seperate loops per block (1 loop = 1 block) and it worked just fine but I'll check out the extra assignment!

    However, I've tried running the experiment yesterday and the error report "column block does not exist" occured. But I haven't changed a thing! And I don't see where the problem is either. Can you help me with this? It was running perfectly last week..

  • Hi Sophie,

    You get this error message if you have an advanced loop operation that refers to a non-existing column. If you view the script for block_loop_1, you should see these operations at the end of the script.

    Cheers!
    Sebastiaan

  • Thanks a lot!!! I feel a bit stupid now haha but well it's my first time working on a script so I guess that's an excuse :D

    All the best for you and thanks for this awesome free software!
    Sophie

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