Can a prior be weighted?
Posted: Thu Nov 23, 2023 8:02 am
When using PAL_AMPM(), can the values supplied for priors (priorAlphaRange, etc.) be weighted according to a distribution? For example, in a temporal order judgement task, I expect threshold to be somewhere around 30 ms. However, I am running the task on a group of people that could include some individuals with much longer thresholds. Therefore if I plot the threshold over a population, I expect a positively skewed distribution (peak at lower values, but a long tail).
What is the best way of informing PAL_AMPM() of this? I can think of three possible approaches:
What is the best way of informing PAL_AMPM() of this? I can think of three possible approaches:
- Supply priorAlphaRange as a vector of values, with more elements in the lower part of the range (this is what we currently do)
- Supply linearly-spaced values which are transformed in order to arrive at a flat distribution of expected threshold values (this might work but then you would need to untransform the values whenever using them - the code could get quite messy)
- ...Or is there a native way to apply a distribution within Palamedes?
