NestedSampling-0.1.4: A port of John Skilling's nested sampling C code to Haskell.

Statistics.MiniNest

Synopsis

Documentation

class SamplingObject a whereSource

nestedSampling :: (Ord a, SamplingObject a) => [a] -> (a -> Double -> IO a) -> Int -> IO (NestedSamplingResult a)Source

nestedSampling computes the evidence Z and samples from the posterior. Args: priorSamples: a list of samples from the prior. explore: a function that evolves an object within a likelihood constraint. iterations: number of iterations to run.