R/Pj.R

Defines functions Pj

Pj = function(a, b) {
  t = exp(-1 * broadcast.multiplication(a, broadcast.subtraction(b, t(.fedirtClusterEnv$X))))
  return (t / (1 + t))
}

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.