suff_stat.LogNormal: Compute the sufficient statistics for a Log-normal...

View source: R/LogNormal.R

suff_stat.LogNormalR Documentation

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

Description

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

Usage

## S3 method for class '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.


distributions3 documentation built on Sept. 7, 2022, 5:07 p.m.