log_likelihood_ind: Log-likelihood of each observation

View source: R/RcppExports.R

log_likelihood_indR Documentation

Log-likelihood of each observation

Description

Log-likelihood of the inverse Gaussian race model for every observation, including the contribution of censored observations.

Usage

log_likelihood_ind(tau, mu, b, delta, cens, D)

Arguments

tau

vector of size n containing the response times

mu

matrix of size (n x d1) containing the drift parameters corresponding to the n response times for each possible d1 decision

b

matrix of size (n x d1) containing the boundary parameters corresponding to the n response times for each possible d1 decision

delta

vector of size n containing the offset parameters corresponding to the n response times

cens

vector of size n containing censoring indicators (1 censored, 0 not censored) corresponding to the n response times

D

(n x 2) matrix whose first column has the n input stimuli, and whose second column has the n decision categories

Value

Vector of n log-likelihood values. An uncensored response time that is not larger than its offset has log-likelihood -Inf.


lddmm documentation built on Oct. 23, 2026, 5:07 p.m.