Package gmisclib :: Module mcmc_idxr
[frames] | no frames]

Module mcmc_idxr

source code

Classes
  probdist_c
  Fixed
This is essentially a delta-function probability distribution.
  Weibull
Weibull distribution
  Expo
Exponential distribution
  Normal
Normal distribution
  Uniform
Uniform distribution
  LogNormal
Lognormal distribution
  problem_definition
Functions
float
logp_prior_normalized(x, guess_prob_dist)
Returns: the log of the prior probability.
source code
Variables
  __package__ = 'gmisclib'

Imports: math, random, numpy, mcmc, IC


Function Details

logp_prior_normalized(x, guess_prob_dist)

source code 
Parameters:
  • guess_prob_dist (list((str, probdist_c)))
  • x (newstem2.indexclass.index_base)
Returns: float
the log of the prior probability. @except mcmc.NotGoodPosition: When raised by any of the underlying probability distributions.