Howdy, Stranger!

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

Supported by

Randomization & Blinding

Hello :)

I am new to using OpenSesame. However, there are one or two problems that I need help with. I have a simple between-subjects design where I want subjects to go through either condition A or condition B randomized. However, as the experimenter, I don't want to know which condition they had until afterwards. So randomization and blinding need to be implemented. What is the best way to do this without programming experience?

Thanks a lot!

Tim

Comments

  • Hi @tocb,

    The easiest way to allocate randomly participants to a between-subjects condition without knowing in advance which condition will be picked for each subject is to use nested loops, with the highest-level loop containing two rows and one variable coding for the condition to be run, and set the number of cycles of that loop to 0.5. That way, only one of the conditions will be run at random. You'd then include two loops (one for each condition) and use the "Run if" property of the higher-level sequence to only display one (based on the random condition selection).

    The drawback is that you're not guaranteed to end up with the same number of participants in your two conditions.

    Here are the basic steps:


    1) Nest the condition conditions inside a higher-level loop and sequence and configure the latter as follows:

    2) Set the "run if" property of the higher-level loop to only display the lower-level loop that corresponds to the condition selected at random:

    This method will result in only on of the two rows of the pick_condition loop to be run. Depending on which is picked, CondA or CondB will be run.

    You can download thus very basic example here and then customize it to your needs:

    Good luck!

    Fabrice.

    Buy Me A Coffee

  • Hi @Fab ,

    thank you for this simple and useful implementation. It helped me a lot, now everything works as it should :)

    Is there a possibility that a condition is randomly selected to have the same number of subjects in each condition at the end of my experiment? Specifically, I need 200 subjects and 100 in each condition.


    Thanks a lot!

  • Hi @tocb ,

    Unfortunately, no, that is not possible with this simple implementation, because the task picks the condition at random every time it runs. If you want the experimenter to be blind to the condition to which each subject is allocated, there is one way that might work for you if the experimenter is not the person programming the task: to have the task select the condition based on the subject's number parity (e.g., if the subject number is odd then it would select one condition, and if it is even, it would select the other). I'm assuming here that you're planning to run the experiment in the lab and not online (online, the experimenter does not type in the subject's number, it is picked randomly based on your settings for OSWeb).

    Other than that, the only solution I could imagine (but I have not tried to implement it), if you're running the experiment in the lab, would be to program code in Python or Javascript to read from and write to a text file where you've keep a count of the number of subjects in each condition and implement some algorithm that makes sure to keep numbers similar as subjects are tested. Such solution would require you to do some programming and would not work if you're planning to run the experiment online.

    Best,

    Fabrice.

    Buy Me A Coffee

  • Thank you so much @Fab !

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