Learn R Programming

distributions3 (version 0.2.2)

suff_stat.Geometric: Compute the sufficient statistics for the Geometric distribution from data

Description

Compute the sufficient statistics for the Geometric distribution from data

Usage

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

Value

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

  • trials: The total number of trials ran until the first success.

  • experiments: The number of experiments run.

Arguments

d

A Geometric object.

x

A vector of zeroes and ones.

...

Unused.