compute_negative_loglike.Rd
compute_negative_loglike
compute negative log likelihood of data under the latent cause model.
compute_negative_loglike(param, data, model, opts)
param | parameter |
---|---|
data | single-subject data |
model | 1 = latent cause model, 2 = latent cause modulated RW model |
opts | options |
negative log likelihood