Compute joint probabilities of P(W = j, Y = k) for j, k = 0, 1.
get_prob(theta, pi0, alpha, beta, alpha0)
A numeric
that provides the true prevalence of a given disease.
A numeric
that provides the prevalence or proportion of people (in the whole population) who are positive, as measured through a non-random,
but systematic sampling (e.g. based on medical selection).
A numeric
that provides the False Negative (FN) rate for the sample R.
A numeric
that provides the False Positive (FP) rate for the sample R.
A numeric
that corresponds to the probability that a random participant
has been incorrectly declared positive through the nontransparent procedure. In most applications,
this probability is likely very close to zero.
A vector
containing tau1, tau2, tau3 and tau4.