Skip to contents

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.