Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 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

Probability Distributions as S3 Objects

v0.1.1
MIT + file LICENSE
Authors
Alex Hayes [aut, cre] (<https://orcid.org/0000-0002-4985-5160>), Ralph Moller-Trane [aut], Emil Hvitfeldt [ctb] (<https://orcid.org/0000-0002-0679-1945>), Daniel Jordan [ctb], Bruna Wundervald [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.