jackying

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • jackying
    Participant

    Hi Jeremy,

    Thank you so much for your help!

    I’ve figured out codes to run the experiment, and I have three more questions with presentation and formatting. Here’s the demonstration link https://farm.pcibex.net/r/ogzxLk/

    1) I want to present the conversations in a way that one line is added to the conversation with each click/keypress. That is,

    First screen:
    line 1

    second screen:
    line 1
    line 2

    third screen:
    line 1
    line 2
    line 3

    etc

    I used <br> to segment lines in each conversation, and I’m wondering if there’s a simple way for me to implement the abovementioned way of presentation with my use of <br>(s).

    2) I tried to find in the PCibex manual codes to adjust spaces between lines but didn’t find them. It would be nice if you can suggest ways to adjust the default spaces between lines so that they don’t look too cramped.

    3) I want to present aligned utterances of different speakers so that it’s easier to see who’s talking. Currently, my texts look like this.

    Mother: xxxxx.
    xxxxx.
    Child: xxxxx.
    Mother: xxxxxx.

    So the format I want would be something like the following.

    Mother:   xxxxxxx.
              xxxxxxx.
    Child:    xxxxxxx.
    Mother:   xxxxxxx.

    My input files are .csv files (originally .xlsx files), so I’m guessing I’ll either have to edit the texts in excel or do it over PCibex (if there’s a way to do that).

    These are my remaining questions. Thank you for your time!

    • This reply was modified 1 year, 5 months ago by jackying.
    jackying
    Participant

    Hi Jeremy, the codes you suggested work! Thanks!

    Here’s two follow-up questions, and they’re still about the same experiment asking participants to choose a word between two options for the blank in each conversation. Here’s link to the experiment with revised codes. https://farm.pcibex.net/r/hQtoVE/

    1. How can I have the 60 test items/conversations randomly drawn from a master list (.csv file) with 90 blanked conversations?
    PS: I did found a relevant post https://www.pcibex.net/forums/topic/choosing-subet-of-items-to-present/, but my case seems to be more complicated.

    These 90 conversations are labeled by the answer to the blank in each conversation and fall into 6 categories (the number of items for each category is put in parentheses and they add up to 90), let’s say, A (20), B (20), C (15), D (15), E (10), and F (10). First, I randomly take out 5 items from each category (i.e., a total of 30 items taken out or eliminated), so I have the remaining 60 items to start with as the actual set of test items.

    2. For the items/conversations in each category after elimination (suggested above), how do I assign one option pair to some conversations in that category and another option pair to the other conversations in the same category?

    Following the idea you suggested with using Boolean entries and given my case/needs, I’m considering to assign 5 “false”s to items in each category and the rest of the items will be “true”. The idea is basically that I want to give conversations different option pairs depending on 1) the category of (i.e., answer to) the conversation and 2) the “true”/”false” value assigned. So what makes this new version different from the old version (the demonstration link attached above) is that, while I already have separate columns (i.e., D1 and D2 in the .csv file) for option pairs in the old version, in the new version, there will not be predetermined option columns for each conversation — instead, the codes will decide what option pairs to be assigned to each conversation depending on the category and the “true”/”false” value assigned in each case.

    For instance, for items in categories A and B, if they are assigned “true”, the option pair for the blank will be A and B. For items assigned “false” in A, the option pair will be A and C, and for those “false” items in B, the option pair will be B and D. Is there a way for me to achieve this? I think I just need example codes for cases with “true” and “false” in category A, and I should be able to extend that to other categories with relevant modifications. Moreover, is it possible for me to log the option pairs assigned to each conversation (for the exact thing to be logged, maybe something more general like “true” or “false”, or it could be something more detailed like “A/B” for “true” items in category A)?

    Some more trivial questions include:
    a) Because I need to assign different option pairs to the six categories (A to F), do I need more than one template to make that happen? (Maybe not if the assignment of option pair should be done separately before the use of template or templates.)
    b) Does the assignment of option pairs affect the code I should be using for the line Sequence("intro", "practice", randomize("trial"),"send", "end")?

    I hope what I want to achieve is clearly stated above, but feel free to let me know if there’s places I didn’t explain well!
    Thank you so much for your time!

    jackying
    Participant

    Hi Jeremy! Thank you so much for the help!

Viewing 3 posts - 1 through 3 (of 3 total)