compute_negative_loglike compute negative log likelihood of data under the latent cause model.

compute_negative_loglike(param, data, model, opts)

Arguments

param

parameter

data

single-subject data

model

1 = latent cause model, 2 = latent cause modulated RW model

opts

options

Value

negative log likelihood