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

suff_stat.Gamma

Compute the sufficient statistics for a bernoulli distribution from data


Description

  • sum: The sum of the data.

    • log_sum: The log of the sum of the data.

    • samples: The number of samples in the data.

Usage

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

Arguments

d

A Gamma object created by a call to Gamma().

x

A vector to fit the Gamma distribution to.

...

Unused.

Value

a Gamma object


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.