-
Notifications
You must be signed in to change notification settings - Fork 7
Description
As far as I understand, right now the repeat parameter works by simply repeating the full factorial of the indicated design. Meaning two things:
- If I want a certain number of trials, am forced to work with multiples of the full factorial of my condition dictionary
- I cannot have fewer trials than the full factorial of my design.
The second point can quickly become an issue, given that if I only have 4 covariates in my model, like so:
cond_dict = Dict(
:condition => ["face", "bike"],
:sac_amplitude => range(0, 5, length = 10),
:evidence => range(1, 5, length = 8),
:duration => range(2, 8, length = 12)
)I already end up with 1920 trials, more covariates would explode this even more and quickly leads to a nonsensical amount of trials. The above is actually realistic in a 10-min free viewing task if you use saccades as events of interest, but if I add one more covariate such as :luminence => range(1, 31, length = 30) I will already have about 57.000 trials. This also quickly becomes a computational problem.
I am not sure how to better handle it (currently I draw random events without replacement to achieve a specified amount of trials), but I thought it would be good to have a discussion around implementing a way to get a specified number of trials back from UnfoldSim. It would probably be better to introduce a new way to do this than to completely revise the repeat parameter.