logctablepost: Log posterior of difference and sum of logits in a 2x2 table
Description
Computes the log posterior density for the difference and sum of logits
in a 2x2 contingency table for independent binomial samples and uniform
prior placed on the logits
Usage
logctablepost(theta,data)
Arguments
theta
vector of parameter values "difference of logits" and "sum of logits")
data
vector containing number of successes and failures for first sample, and then second sample