Skip to contents

Compute the sufficient statistics of an Poisson distribution from data

Usage

# S3 method for Poisson
suff_stat(d, x, ...)

Arguments

d

An Poisson object created by a call to Poisson().

x

A vector of data.

...

Unused.

Value

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

  • sum: The sum of the data.

  • samples: The number of samples in the data.