.pairwise_diff_single: Outer subtraction for given params across MCMC samples.
Description
Computes p_j - p_i not j, for each j.
Usage
.pairwise_diff_single(mcmc)
Arguments
mcmc
Numeric matrix. MCMC samples.
Value
MCMC Matrix of all differences. Posterior samples of all possible differences, minus duplicates.
Details
Assumes that mcmc contains params from ONE parameter across the indices whose differences are of interest (e.g, resid_random[1:K, 1]).