Description Usage Arguments Value
This function samples the true (theta) and false (psi) positive rates;
Constraint: theta[l]> 0.5 > psi[l]
1 | update_positive_rate(Y, H, Q, a_theta, a_psi, old_theta_vec = NULL)
|
Y |
binary data matrix |
H |
a binary matrix: rows for all individuals, columns for latent states |
Q |
Q matrix |
a_theta, a_psi |
Beta hyperparameters for priors on |
old_theta_vec |
sampled |
a list of true theta
and false psi
positive rates, each of length L.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.