suff_stat.Exponential: Compute the sufficient statistics of an Exponential...

View source: R/Exponential.R

suff_stat.ExponentialR Documentation

Compute the sufficient statistics of an Exponential distribution from data

Description

Compute the sufficient statistics of an Exponential distribution from data

Usage

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

Arguments

d

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

x

A vector of data.

...

Unused.

Value

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

  • sum: The sum of the observations.

  • samples: The number of observations.


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