Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step type in a staircase #18

Open
kschuler opened this issue Jan 12, 2017 · 9 comments
Open

step type in a staircase #18

kschuler opened this issue Jan 12, 2017 · 9 comments

Comments

@kschuler
Copy link
Owner

screenshot 2017-01-12 14 38 16

@kcm1231
Copy link
Collaborator

kcm1231 commented Jan 26, 2017

Maybe on Friday we can look at some data files from the RAs runs and make sure the staircase is adjusting accuracy the way we want?

@kcm1231
Copy link
Collaborator

kcm1231 commented Feb 2, 2017

Once the code is set and I'm able to have RAs run through the entire experiment without errors, I'll need to make sure the accuracy is adjusting appropriately. If not, it's possible we may need to either 1) change the steptype, or 2) change the way the staircase is working and use pilot data to calculate specific parameters...

@kcm1231
Copy link
Collaborator

kcm1231 commented Feb 2, 2017

So, I just did a quick check on the longest run that we've gotten so far, and I looked at the accuracy in the Environmental condition. For the "easy" staircase, the RA only got 18/60 trials correct. For the "hard" staircase, she got 31/60 correct. So obviously something isn't working correctly. Will see what I can figure out...

@kschuler
Copy link
Owner Author

kschuler commented Feb 2, 2017 via email

@kcm1231
Copy link
Collaborator

kcm1231 commented Feb 3, 2017

I think that I figured out what was happening here. Traditional staircase procedures are used to discover a threshold (ie a JND), and they also usually change the level of the noise rather than the signal. With our staircase, we want to keep them at a predetermined level, and we are changing the value of the signal rather than the noise. So, this means that instead of using the 3up 1down and 1up 1down, we need to reverse the step directions, and probably also adjust the values. I'm going to run some tests using a 1up 5down for easy and a 1up 2down for hard. We'll see how that works out.

After talking with Peter, we may try to implement a different check on accuracy for the main staircase. The baseline staircase will hopefully get them closer to the desired easy and hard thresholds, and then in the main staircase, we want to implement a piece of code that checks the accuracy using a sliding window (i.e. rolling average) of the previous 10 trials, then adjusts either up or down depending on if accuracy is below or above the desired threshold. Our new postdoc, Andrew, has a bunch of coding experience but hasn't really used Python, but he said that if you're busy working on the other edits and your own stuff, he can try to implement this accuracy check for us. However, let me know if this is clear, and if it sounds like something that would be really quick for you to add in. If it's an easy change, I don't want him to mess with your code since you have it very well organized and formatted...

@kschuler
Copy link
Owner Author

kschuler commented Feb 3, 2017 via email

@kcm1231
Copy link
Collaborator

kcm1231 commented Feb 3, 2017

Ok! Yeah, I figured it would be better to have you do it yourself, but wanted to make sure. I'll tell him not to worry about it. We don't need that any sooner than any of the other edits we've already talked about, just wanted to make sure that wasn't going to add a huge chunk of time onto what you already had to do!

@kcm1231
Copy link
Collaborator

kcm1231 commented Feb 7, 2017

Hey there,

Experimenting with some different nUP and nDOWN numbers, and on the last couple of runs it's been doing something weird. I'll send the parameter and exp file used, but I had it set at an 1up 10down for easy and 2up 3down for hard, with a step size of 6 for the baseline and 2 for the main staircase. I'm looking at the intensity levels of the stimuli, and on the easy baseline staircase instead of changing by a step size of 6, on one trial the intensity jumps from 7 to 15, and then on another trial from 15 to 31, and then from 31 to 63 (meaning the sounds are super loud and distorted). The step type is db, not log. I have no clue why this could be happening.
Rami_1_A_AV-2017-Feb-07-115207.xlsx

experiment_Rae_edit.txt

@kschuler
Copy link
Owner Author

kschuler commented Feb 7, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants