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

View source: R/Geometric.R

suff_stat.GeometricR Documentation

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

Arguments

d

A Geometric object.

x

A vector of zeroes and ones.

...

Unused.

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.


distributions3 documentation built on Sept. 30, 2024, 9:37 a.m.