mcmc-0.2.4: 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.Proposal.Scale

Description

Creation date: Thu May 14 21:49:23 2020.

Synopsis

Documentation

scale Source #

Arguments

:: Double

Shape.

-> Double

Scale.

-> String

Name.

-> Int

Weight.

-> Bool

Enable tuning.

-> Proposal Double 

Multiplicative proposal with Gamma distributed kernel.

scaleUnbiased Source #

Arguments

:: Double

Shape.

-> String

Name.

-> Int

Weight.

-> Bool

Enable tuning.

-> Proposal Double 

Multiplicative proposal with Gamma distributed kernel.

The scale of the Gamma distributions is set to (shape)^{-1}, so that the mean of the Gamma distribution is 1.0.

scaleContrarily Source #

Arguments

:: Double

Shape.

-> Double

Scale.

-> String

Name.

-> Int

Weight.

-> Bool

Enable tuning.

-> Proposal (Double, Double) 

Multiplicative proposal with Gamma distributed kernel.

The two values are scaled contrarily so that their product stays constant. Contrary proposals are useful when parameters are confounded.