suff_stat.Bernoulli: Compute the sufficient statistics for a Bernoulli distribution from data
Description
Compute the sufficient statistics for a Bernoulli distribution from data
Usage
# S3 method for Bernoulli
suff_stat(d, x, ...)
Value
A named list of the sufficient statistics of the Bernoulli
distribution:
Arguments
- d
A Bernoulli
object.
- x
A vector of zeroes and ones.
- ...
Unused.