Defining a password to start


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
JessicaEMFarias - 9/17/2019
JessicaEMFarias - 9/17/2019
Dave - 9/17/2019
JessicaEMFarias - 9/16/2019
Dave - 9/16/2019
JessicaEMFarias - 9/16/2019

Thanks!

I have also tried to set up a pretest so that participants understand the task better before starting for real. The task itself involves indicating in which side of a square there are more dots. On each trial, participants see an image and two buttons below them in which the words right side (lado direito) and left side (lado esquerdo) are written along with the amount of money they will receive after making each choice (either 10 cents or zero, respectively). Also, after making each choice, the current balance (saldo) is shown.

I tried to set up a pretest with 3 images so that people could practice before starting for real. However, despite the fact I based my work on the script that was already written and worked, only the images are being showed, that is, the buttons and other text elements are not. Also the balance is not being shown after each choice. 

Can you tell me what is wrong with this script?







You have added a <block teste>

<block teste>
/ trials = [1-3 = noreplace(teste)]
</block>

that runs three instances of <trial teste>

<trial teste>
/ stimulusframes = [1=teste]
/ validresponse = (28)
</trial>

That trial does nothing except displaying a single image on-screen and accepting a press of the ENTER key. It does not display any other stimuli such as the buttons or other text elements.

How is this modeled on the other parts of the script? It bears no similarity to it. Please go back and re-review the actual test trials and how they work. Then implement your practice part properly based on that.

It seems to me you're not even running the actual practice trials you've added and it's unclear to me what <trial teste> above is for / supposed to achieve. If you want to execute those practice trials analogous to the test portion of the script, you ought to make your block run them

<block teste>
/ trials = [1-3 = noreplace(testedireito, testeesquerdo)]
</block>

Moreover, the testedireito and testeesquerdo trials are full of mistakes. You need to replace any references to trial.direito and trial.esquerdo with the proper references to trial.testedireito and trial.testeesquerdo in those <trial> elements.


I have implemented all the changes you suggested but now it is freezing everytime I try to run it. Please check and let me know what the problem is.

It's not freezing for me and a fixed script was already attached to my previous reply. In general, be more specific please. If you say something is freezing, explain precisely *where* it is freezing. Thanks.

It is freezing at the pretest part, after typing the password, which is, by the way "jogodospontos". I set up the script to present three images as a pretest.

Just after showing the first image and making the choice of which side there are more dots, it freezes right when the balance is shown. 

I've tried to run it like five times and it always freezes there.

To be even more precise, it freezes on the sixth screen.

Here's a data file attached of me running through the script until the first few trials of the test part. It does not freeze.

Attachments
Resultados.iqdat (311 views, 1.00 KB)
JessicaEMFarias
JessicaEMFarias
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 22, Visits: 49
Dave - 9/17/2019
JessicaEMFarias - 9/17/2019
JessicaEMFarias - 9/17/2019
Dave - 9/17/2019
JessicaEMFarias - 9/16/2019
Dave - 9/16/2019
JessicaEMFarias - 9/16/2019

Thanks!

I have also tried to set up a pretest so that participants understand the task better before starting for real. The task itself involves indicating in which side of a square there are more dots. On each trial, participants see an image and two buttons below them in which the words right side (lado direito) and left side (lado esquerdo) are written along with the amount of money they will receive after making each choice (either 10 cents or zero, respectively). Also, after making each choice, the current balance (saldo) is shown.

I tried to set up a pretest with 3 images so that people could practice before starting for real. However, despite the fact I based my work on the script that was already written and worked, only the images are being showed, that is, the buttons and other text elements are not. Also the balance is not being shown after each choice. 

Can you tell me what is wrong with this script?







You have added a <block teste>

<block teste>
/ trials = [1-3 = noreplace(teste)]
</block>

that runs three instances of <trial teste>

<trial teste>
/ stimulusframes = [1=teste]
/ validresponse = (28)
</trial>

That trial does nothing except displaying a single image on-screen and accepting a press of the ENTER key. It does not display any other stimuli such as the buttons or other text elements.

How is this modeled on the other parts of the script? It bears no similarity to it. Please go back and re-review the actual test trials and how they work. Then implement your practice part properly based on that.

It seems to me you're not even running the actual practice trials you've added and it's unclear to me what <trial teste> above is for / supposed to achieve. If you want to execute those practice trials analogous to the test portion of the script, you ought to make your block run them

<block teste>
/ trials = [1-3 = noreplace(testedireito, testeesquerdo)]
</block>

Moreover, the testedireito and testeesquerdo trials are full of mistakes. You need to replace any references to trial.direito and trial.esquerdo with the proper references to trial.testedireito and trial.testeesquerdo in those <trial> elements.


I have implemented all the changes you suggested but now it is freezing everytime I try to run it. Please check and let me know what the problem is.

It's not freezing for me and a fixed script was already attached to my previous reply. In general, be more specific please. If you say something is freezing, explain precisely *where* it is freezing. Thanks.

It is freezing at the pretest part, after typing the password, which is, by the way "jogodospontos". I set up the script to present three images as a pretest.

Just after showing the first image and making the choice of which side there are more dots, it freezes right when the balance is shown. 

I've tried to run it like five times and it always freezes there.

To be even more precise, it freezes on the sixth screen.

Here's a data file attached of me running through the script until the first few trials of the test part. It does not freeze.

Yeah, it seems like it was a problem with my computer, but it's solved now. 

Currently I am facing a problem with the pretest balance. In the beginning of the experiment, I set up a pretest with three images to simulate the conditions of the real experiment and train participants beforehand. I have created another variable for the balance in the pretest section (balance_temp2) so that balance starts at zero when the real experiment begins. However, the amount of money is not being updated during the pretest. 

Can you help me with that?
Attachments
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
JessicaEMFarias - 9/19/2019
Dave - 9/17/2019

Here's a data file attached of me running through the script until the first few trials of the test part. It does not freeze.

Yeah, it seems like it was a problem with my computer, but it's solved now. 

Currently I am facing a problem with the pretest balance. In the beginning of the experiment, I set up a pretest with three images to simulate the conditions of the real experiment and train participants beforehand. I have created another variable for the balance in the pretest section (balance_temp2) so that balance starts at zero when the real experiment begins. However, the amount of money is not being updated during the pretest. 

Can you help me with that?

The balance is updated just fine. In your practice trials you /branch to the regular *test* saldo trial, not the *practice* saldo trial. Thus you never display the practice balance.

<trial testedireito>
...
/ branch = [
if (trial.testedireito.response == 57) trial.testedireito_pause else trial.saldo;
]
</trial>

ought to be

<trial testedireito>
...
/ branch = [
if (trial.testedireito.response == 57) trial.testedireito_pause else trial.saldoteste;
]
</trial>

Same goes for <trial testeesquerdo>.

JessicaEMFarias
JessicaEMFarias
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 22, Visits: 49
Dave - 9/19/2019
JessicaEMFarias - 9/19/2019
Dave - 9/17/2019

Here's a data file attached of me running through the script until the first few trials of the test part. It does not freeze.

Yeah, it seems like it was a problem with my computer, but it's solved now. 

Currently I am facing a problem with the pretest balance. In the beginning of the experiment, I set up a pretest with three images to simulate the conditions of the real experiment and train participants beforehand. I have created another variable for the balance in the pretest section (balance_temp2) so that balance starts at zero when the real experiment begins. However, the amount of money is not being updated during the pretest. 

Can you help me with that?

The balance is updated just fine. In your practice trials you /branch to the regular *test* saldo trial, not the *practice* saldo trial. Thus you never display the practice balance.

<trial testedireito>
...
/ branch = [
if (trial.testedireito.response == 57) trial.testedireito_pause else trial.saldo;
]
</trial>

ought to be

<trial testedireito>
...
/ branch = [
if (trial.testedireito.response == 57) trial.testedireito_pause else trial.saldoteste;
]
</trial>

Same goes for <trial testeesquerdo>.

I got it! Thank you!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search