power_calc_difference: Estimate power to detect differences in lying between two samples
Description
Using simulations, estimate power to detect differences in lying
using compare_dists(), given values for \(\lambda\), the
probability of lying, in each sample.
"two.sided", "greater" (sample 1 is greater), or "less". Can be
abbreviated
prior
Prior over lambda. A function which takes a vector of values
between 0 and 1, and returns the probability density. The default is
the uniform distribution.