mcmc-0.1.3: Sample from a posterior using Markov chain Monte Carlo

Copyright(c) Dominik Schrempf 2020
LicenseGPL-3.0-or-later
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Mcmc.Move.Slide

Description

Creation date: Wed May 6 10:59:13 2020.

Synopsis

Documentation

slide Source #

Arguments

:: String

Name.

-> Int

Weight.

-> Lens' a Double

Instruction about which parameter to change.

-> Double

Mean.

-> Double

Standard deviation.

-> Bool

Enable tuning.

-> Move a 

Additive move with normally distributed density.

slideSymmetric Source #

Arguments

:: String

Name.

-> Int

Weight.

-> Lens' a Double

Instruction about which parameter to change.

-> Double

Standard deviation.

-> Bool

Enable tuning.

-> Move a 

Additive move with normally distributed density with mean zero. This move is very fast, because the Metropolis-Hastings ratio does not include calculation of the forwards and backwards densities.

slideUniform Source #

Arguments

:: String

Name.

-> Int

Weight.

-> Lens' a Double

Instruction about which parameter to change.

-> Double

Delta.

-> Bool

Enable tuning.

-> Move a 

Additive move with uniformly distributed density. This move is very fast, because the Metropolis-Hastings ratio does not include calculation of the forwards and backwards densities.