suff_stat.Bernoulli {distributions3}R Documentation

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 class 'Bernoulli'
suff_stat(d, x, ...)

Arguments

d

A Bernoulli object.

x

A vector of zeroes and ones.

...

Unused.

Value

A named list of the sufficient statistics of the Bernoulli distribution:


[Package distributions3 version 0.2.1 Index]