Sampler1DNormal

0th

Percentile

Sampler1DNormal Class

Normal sampling (potentially truncated) for ParamDbl.

Keywords
datasets
Format

R6::R6Class inheriting from Sampler1D.

Construction

smpl = Sampler1DNormal$new(param, mean = NULL, sd = NULL)
  • mean :: numeric(1) Mean parameter of the normal distribution. Default is mean(c(param$lower, param$upper).

  • sd :: numeric(1) SD parameter of the normal distribution. Default is (param$upper - param$lower)/4.

Fields

See Sampler1D. Additionally, the class provides:

  • mean :: numeric(1) Mean parameter of the normal distribution. Default is mean(c(param$lower, param$upper).

  • sd :: numeric(1) SD parameter of the normal distribution. Default is (param$upper - param$lower)/4.

Methods

See Sampler1D.

See Also

Other Sampler: Sampler1DCateg, Sampler1DRfun, Sampler1DUnif, Sampler1D, SamplerHierarchical, SamplerJointIndep, SamplerUnif, Sampler

Aliases
  • Sampler1DNormal
Documentation reproduced from package paradox, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.