Howdy, Stranger!

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

Supported by

conditioned randomization


I have 32 words to be presented in the middle screen (Focal) along with another 32 words to be presented either on the left or right the screen (Periphery). If I use completely randomized design, there would be 1024 compositions, but I want to present only 32 pairs randomly selected from the possible pairs of 32 focal and 32 periphery words.

Please can you kindly advice how to deal with this randomized selection ?

Thanks in advance,



  • Hi Masoud,

    What do you mean with:

    but I want to present only 32 pairs randomly selected from the possible pairs of 32 focal and 32 periphery words.

    YOu can shuffle both word lists and then just select one by one from each list. Would that work?


    Buy Me A Coffee

  • Dear Eduard,

    Please could you advice how to to this? Is there need for an inline script?


  • Yes, I think so.

    Syntax is straightfoward:

    import random
    list1 = [1,2,3]
    list2 = [4,5,6]
    combined_list = [(l1,l2) for (l1,l2) in zip(list1,list2)]

    Now you have a list of lists (representing trials). Within a trial list, the first item can be shown in the center and the second on in the periphery.


    Buy Me A Coffee

  • Dear Eduard


    I have the following variables in the Loop:

    correct_response focal periphery periphery_position





    The participant is expected to press RCTRL when see a reading stuff in the middle screen otherwise LCTRL.

    Shall I use the "list1" and list2" as the column names in the Loop? Please kindly advice where to introduce the variable names in the inline script?



  • Hi Masoud,

    No, you have to use Inline coding to define these lists (i.e. onelist = focal, secondlist=peripherie). Once randomized, and matched, you have to put another inline script in the loop sequence, in which you extract the current pair from the list (based on the current trial number). That means, that in your loop table, you only need a trial counter ( a variable that counts from 0-31). Based on that counter you can index the lists, set the correct response (e.g. "if reading in middle: correct_response = RCTRL"), and the position of the words.

    Hope this helps. In any case, try to get started on it and see how far you get. Maybe learning some Python in the mean time will also be very helpful, certainly on the long run.


    Buy Me A Coffee

  • Dear Eduard,

    Thanks for your message.

    I have changed the experiment structure to fit my level of Python knowledge.

    I have four variable in the loop :

    "word" that is included with 64 words

    "type" that is included with singular (e.g., apple) or plural nouns (apples)

    "location" that is included with -320 and 320

    "counter" that is included with the numbers form 0-31

    After a random selection, two words to be selected out of 64 words, one from singular and one from the plural words. One of them to be presented in the middle screen and the second on the periphery (-320 or 320) in a fully randomized way.

    The words are added to the sketchpad at the -320, middle screen and 320 and I need help to know how manage the opensesame to randomize presentation so each time only one word is selected from singular and one from plurals and such the selection has no repetitions for both the selected words. I do not want to have apple and apple together in one trial.



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 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