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.Item

Contents

Description

Creation date: Wed May 20 09:10:27 2020.

Synopsis

Documentation

data Item a Source #

An Item, or link of the Markov chain. For reasons of computational efficiency, each state is associated with the corresponding prior and likelihood.

Constructors

Item 

Fields

Instances
Eq a => Eq (Item a) Source # 
Instance details

Defined in Mcmc.Item

Methods

(==) :: Item a -> Item a -> Bool #

(/=) :: Item a -> Item a -> Bool #

Ord a => Ord (Item a) Source # 
Instance details

Defined in Mcmc.Item

Methods

compare :: Item a -> Item a -> Ordering #

(<) :: Item a -> Item a -> Bool #

(<=) :: Item a -> Item a -> Bool #

(>) :: Item a -> Item a -> Bool #

(>=) :: Item a -> Item a -> Bool #

max :: Item a -> Item a -> Item a #

min :: Item a -> Item a -> Item a #

Read a => Read (Item a) Source # 
Instance details

Defined in Mcmc.Item

Show a => Show (Item a) Source # 
Instance details

Defined in Mcmc.Item

Methods

showsPrec :: Int -> Item a -> ShowS #

show :: Item a -> String #

showList :: [Item a] -> ShowS #

ToJSON a => ToJSON (Item a) Source # 
Instance details

Defined in Mcmc.Item

FromJSON a => FromJSON (Item a) Source # 
Instance details

Defined in Mcmc.Item

Orphan instances

ToJSON a => ToJSON (Log a) Source # 
Instance details

Methods

toJSON :: Log a -> Value #

toEncoding :: Log a -> Encoding #

toJSONList :: [Log a] -> Value #

toEncodingList :: [Log a] -> Encoding #

FromJSON a => FromJSON (Log a) Source # 
Instance details

Methods

parseJSON :: Value -> Parser (Log a) #

parseJSONList :: Value -> Parser [Log a] #