R/log_Lik.R

Defines functions log_Lik

log_Lik = function(a, b, index) {
  .fedirtClusterEnv$my_data[[index]] %*% log(.fedirtClusterEnv$Pj(a, b))  + (1 - .fedirtClusterEnv$my_data[[index]]) %*% log(.fedirtClusterEnv$Qj(a, b))
}

Try the FedIRT package in your browser

Any scripts or data that you put into this service are public.

FedIRT documentation built on Sept. 30, 2024, 9:34 a.m.