suff_stat {distributions3} | R Documentation |
Generic function for computing the sufficient statistics of a distribution based on empirical data.
suff_stat(d, x, ...)
d |
An object. The package provides methods for distribution
objects such as those from |
x |
A vector of data to compute the likelihood. |
... |
Arguments passed to methods. Unevaluated arguments will generate a warning to catch mispellings or other possible errors. |
a named list of sufficient statistics
X <- Normal()
suff_stat(X, c(-1, 0, 0, 0, 3))