suff_stat.Binomial: Compute the sufficient statistics for the Binomial...

View source: R/Binomial.R

suff_stat.BinomialR Documentation

Compute the sufficient statistics for the Binomial distribution from data

Description

Compute the sufficient statistics for the Binomial distribution from data

Usage

## S3 method for class 'Binomial'
suff_stat(d, x, ...)

Arguments

d

A Binomial object.

x

A vector of zeroes and ones.

...

Unused.

Value

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

  • successes: The total number of successful trials.

  • experiments: The number of experiments run.

  • trials: The number of trials run per experiment.


distributions3 documentation built on Sept. 7, 2022, 5:07 p.m.