@@ -0,0 +1,752 @@
+%0A#===============================================================================%0A# Specific estimands%0A#===============================================================================%0A%0Adef proportion_of_concentration(mu_draws, base=10):%0A    '''%0A    Computes proportion of concentration estimand for draws, defined as:%0A        base**mu_i / sum(base**mu)%0A    for each draw of mu.%0A%0A    Parameters%0A    ----------%0A    mu_draws : ndarray%0A        Array of posterior draws of mu, one draw per row.%0A    base : number%0A        Base of logarithm used to mu. Defaults to 10.%0A%0A    Returns%0A    -------%0A    prop : ndarray%0A        Array of same size as mu containing the estimand.%0A    '''%0A    prop = base**mu_draws%0A    prop = (prop.T / prop.mean(1)).T%0A    return prop%0A%0A

Add module for estimands.