i think to have seen earlier in the source code of hddm how priors can be set, but I can't find it anymore. can anybody give me a hint where I find this info, or just email a quick description?
I happy to write up an easy to follow example from that.
cheers-guido
ps: from fitting some models it seems to me that the prior for z has a lower bound of zero. is this correct?
pps: I think kabuki.analyze has a number of use full functions. a simple link to the source code in one of the latter examples would make it easier to find those.
import hddm
from kabuki import Parameter
class myHDDM(hddm.HDDM):
def get_params(self):
params = [Parameter('a', lower=.3, upper=10),
Parameter('v', lower=-15., upper=15., init=1.),
Parameter('t', lower=.1, upper=.9, init=.1), # Change lower to .2 as in MW09?
Parameter('z', lower=.2, upper=0.8, init=.7,
default=.5, optional=True),
Parameter('V', lower=0., upper=3.5, default=0,
optional=True),
Parameter('Z', lower=0., upper=1.0, init=.1,
default=0, optional=True),
Parameter('T', lower=0., upper=0.8, init=.1,
default=0, optional=True),
Parameter('wfpt', is_bottom_node=True)]
return params