ssd_match_moments {ssdtools}R Documentation

Match Moments

Description

Gets a named list of the values that produce the moment values (meanlog and sdlog) by distribution and term.

Usage

ssd_match_moments(
  dists = ssd_dists_bcanz(),
  meanlog = 1,
  sdlog = 1,
  nsim = 1e+05
)

Arguments

dists

A character vector of the distribution names.

meanlog

The mean on the log scale.

sdlog

The standard deviation on the log scale.

nsim

A positive whole number of the number of simulations to generate.

Value

a named list of the values that produce the moment values by distribution and term.

See Also

estimates.fitdists(), ssd_hc() and ssd_plot_cdf()

Examples

moments <- ssd_match_moments()
print(moments)
ssd_hc(moments)
ssd_plot_cdf(moments)

[Package ssdtools version 1.0.6 Index]