Compute the sufficient statistics of a distribution from data

suff_stat(d, x, ...)

Arguments

d

A probability distribution object such as those created by a call to Bernoulli(), Beta(), or Binomial().

x

A vector of data to compute the likelihood.

...

Unused. Unevaluated arguments will generate a warning to catch mispellings or other possible errors.

Value

a named list of sufficient statistics