sufficientStatistics: Get sample sufficient statistics
Description
This is a generic function that will generate the sufficient statistics of a given Bayesian bricks object. i.e.
for the model structure:
theta|gamma ~ H(gamma)
X|theta ~ F(theta)
get the sufficient statistics T(X)
Usage
sufficientStatistics(obj, ...)
Arguments
obj
A "BayesianBrick" object used to select a method.
...
further arguments passed to or from other methods.
Value
An object of corresponding sufficient statistics class, such as "ssGaussian"