Learn R Programming

distributions3 (version 0.1.2)

suff_stat: Compute the sufficient statistics of a distribution from data

Description

Compute the sufficient statistics of a distribution from data

Usage

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