suff_stat.Normal: Compute the sufficient statistics for a Normal distribution...

View source: R/Normal.R

suff_stat.NormalR Documentation

Compute the sufficient statistics for a Normal distribution from data

Description

Compute the sufficient statistics for a Normal distribution from data

Usage

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

Arguments

d

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

x

A vector of data.

...

Unused.

Value

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

  • mu: The sample mean of the data.

  • sigma: The sample standard deviation of the data.

  • samples: The number of samples in the data.


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