loglikC_bin {ludic} | R Documentation |
C++ implementation of the pseudo-likelihood computation
Description
loglikC_bin
implements an even faster C++ implementation of the pseudo-likelihood computation for binary
variables
loglikC_bin_wDates
implements a C++ implementation of the pseudo-likelihood computation for binary
variables with dates
Usage
loglikC_bin(Bmat, Amat, eps_p, eps_n, piA, piB)
loglikC_bin_wDates(Bmat, Amat, Bdates, Adates, eps_p, eps_n, piA, piB)
loglikratioC_diff_arbitrary(Bmat, Amat, d_max, cost)
Arguments
Bmat |
|
Amat |
|
eps_p |
a vector of length |
eps_n |
a vector of length |
piA |
a vector of length |
piB |
a vector of length |
Bdates |
|
Adates |
|
d_max |
a numeric vector of length |
cost |
a numeric vector of length |