Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

suff_stat.LogNormal

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

Probability Distributions as S3 Objects

v0.1.1
MIT + file LICENSE
Authors
Alex Hayes [aut, cre] (<https://orcid.org/0000-0002-4985-5160>), Ralph Moller-Trane [aut], Emil Hvitfeldt [ctb] (<https://orcid.org/0000-0002-0679-1945>), Daniel Jordan [ctb], Bruna Wundervald [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.