powered by
Aggregates binomial data using sufficient statistics for binomial samples. For a sample \(\boldsymbol{y} = \{y_1, \dots, y_n\}\) with \(y_i \sim \text{Bin}(n, p)\), the sample is aggregated into the sufficient statistic \(s = \sum_{i=1}^n y_i\).
abinomial(data)
Aggregated binomial data.
Binomial data vector.