mcmc-0.2.2: 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.Monitor.Parameter

Contents

Description

Creation date: Fri May 29 11:11:49 2020.

Synopsis

Parameter monitors

data MonitorParameter a Source #

Instruction about a parameter to monitor.

Constructors

MonitorParameter 

Fields

(@.) :: Lens' b a -> MonitorParameter a -> MonitorParameter b Source #

Convert a parameter monitor from one data type to another using a lens.

For example, to monitor a Double value being the first entry of a tuple:

mon = _1 @@ monitorDouble

monitorInt Source #

Arguments

:: String

Name.

-> MonitorParameter Int 

Monitor Int.

monitorDouble Source #

Arguments

:: String

Name.

-> MonitorParameter Double 

Monitor Double with eight decimal places (half precision).

monitorDoubleF Source #

Arguments

:: String

Name.

-> MonitorParameter Double 

Monitor Double with full precision computing the shortest string of digits that correctly represent the number.

monitorDoubleE Source #

Arguments

:: String

Name.

-> MonitorParameter Double 

Monitor Double in exponential format and half precision.