log_pr_Qml_cond: Compute the full conditional probability of Q_ml given the...

Description Usage Arguments Value

View source: R/sample_mcmc.R

Description

Function to compute this log full conditional density, which will be used in update_Q

Usage

1
log_pr_Qml_cond(Yl, eta_star, Ql, thetal, psil)

Arguments

Yl

binary vector (e.g., observed values at dimension l)

eta_star

a matrix of latent state profiles, rows for clusters, columns for M latent states

Ql

l-th column of the Q matrix

thetal, psil

true, false positive rate (both between 0 and 1)

Value

log conditional probability of Q_ml given other unknown parameters


zhenkewu/rewind documentation built on Sept. 9, 2020, 3:40 p.m.