Howdy, Stranger!

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

Supported by

Troubles with the shuffle function on OpenSesame

Hi,

I want to be able to shuffle the words within each of my columns in a loop so that when two columns from the same loop are called the words that appear are not from the same row. For example: I don't want the activity 'reading books' to always come up with the food 'pizza'.

I have tried to use the shuffle function to execute this. In the script of the loop after the set cycle functions, I have put "shuffle" and then the name of the column I want to shuffle.

But this hasn't seemed to work.

Does anyone have an idea of how to solve this?

Many Thanks,

Sara

Comments

  • Hi Sara,

    It what sense doesn't it work? The pairing between food and activities is broken, right? But you're also undoing the constraints by reshuffling the columns—is that what you mean?

    Cheers,
    Sebastiaan

  • Hi Sebastiaan,

    So the problem is that I want to ask a question like;

    What is better [food] or [activities]?

    But I don't the pairing between food and activities to always be the same across the rows. For example I want to make it possible for the question 'What is better pizza or going to the pub" or "What is better steak or going for long walks" to be asked. But at the moment only what is better "pizza or reading books" will be asked as both those options occur in the same row.

    I realise the concepts are a bit odd but I promise there is a method to the madness!!

    Thankyou for letting me know the shuffling undoes the constraints! But at the moment the shuffle function is not reshuffling the columns at all. Could that be due to the presence of the constraints?

    Many Thanks,
    Sara

  • edited January 2018

    Hi Sara,

    I notice now that you've set repeat to 0.12. Given that you have 8 cycles, this means that you're selecting only (8 × 0.125 = ) 1 cycle. But with only 1 cycle, there is no point applying constraints, because no repeats can occur. And shuffling columns from a table with only 1 cycle also does nothing.

    So I suspect that you have something very different in mind. What does your design look like exactly, in terms of blocks, trials, repeats, etc?

    Cheers,
    Sebastiaan

  • edited January 2018

    Hi Sebastiaan,

    My experiment is investigating human scale judgement and if our underlying representation of rating scales reflects how they are analysed in the literature. I.e. Sequential, ordered and linear/ ratio or interval.

    So set repeat is only chooses one because it is part of a larger sequence, but all variables get used eventually as the sequence runs again.

    So my difficulty is getting the words within the loop to shuffle so that it is not just one row that is called each time.
    I have a new example; so this is the loop I want to shuffle:

    The result currently is this:

    But I want to have it so that it could be one toffee and going to the nightclub three times. Not that once always goes with one time, twice with two times etc.

    I hope this is slightly clearer. I was thinking perhaps manually writing the variables in an inline script might be the solution but I'm not sure how you do that.

    Many thanks,
    Sara

  • Hi Sara,

    Hmm, the design is still not entirely clear to me. Can you try to explain it a bit more formally, in terms of independent variables, block structure, etc.?

    Or by example maybe: Can you give a series of choices (as in your last screenshot) that meet your criteria?

    Cheers,
    Sebastiaan

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