Skip to contents

Compute the sufficient statistics for a Log-normal distribution from data

Usage

# S3 method for LogNormal
suff_stat(d, x, ...)

Arguments

d

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

x

A vector of data.

...

Unused.

Value

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

  • mu: The sample mean of the log of the data.

  • sigma: The sample standard deviation of the log of the data.

  • samples: The number of samples in the data.