Efficient fMRI designs are important for finding effects in an fMRI experiment. Often it is unknown in advance what the optimal stimulus order and optimal time between two events is, and people may use rules-of-thumb such as "I use a random order and a jitter of 4s ± 2s between two events". This approach may lead to fMRI designs that are much less efficient than necessary for the purpose of the study (in other words: this approach may waste scanning time). These tools can be used to inspect the efficiency of an experimental design and possibly maximize design efficiency across a number of iterations.
Many learning tasks are modeled where the value of each option is changed across trials using a random walk. Due to the fact that the walk is random, the rate of change will be different across trials. Ideally, one would like random walks with the same spectral properties for all chains. In addition, it is often desired that the chains are uncorrelated. This function generates such uncorrelated random walks which can be used for multiple value chains within subject, but also for single value chains across multiple subjects.