mcmc-0.8.3.1: Sample from a posterior using Markov chain Monte Carlo
Copyright2021 Dominik Schrempf
LicenseGPL-3.0-or-later
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Mcmc.Monitor.Parameter

Description

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

Synopsis

Parameter monitors

data MonitorParameter a Source #

Instruction about a parameter to monitor.

Convert a parameter monitor from one data type to another with (>$<).

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

mon = fst >$< monitorDouble

Constructors

MonitorParameter 

Fields

Instances

Instances details
Contravariant MonitorParameter Source # 
Instance details

Defined in Mcmc.Monitor.Parameter

(>$<) :: Contravariant f => (a -> b) -> f b -> f a infixl 4 #

This is an infix alias for contramap.

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.

monitorDoubleS Source #

Arguments

:: String

Name.

-> MonitorParameter Double 

Monitor Double in scientific format.