Skip to content
Snippets Groups Projects
MultilevelChainSampler.jl 683 B
Newer Older
Luca Lenz's avatar
Luca Lenz committed
module MultilevelChainSampler
Luca Lenz's avatar
Luca Lenz committed

#using AdvancedMH
#using AdvancedMH: DensityModelOrLogDensityModel
using AbstractMCMC: AbstractMCMC, AbstractModel, AbstractSampler, sample
using Distributions
Luca Lenz's avatar
Luca Lenz committed

using Random, StatsBase
using Primes, HaltonSequences

import Base: rand, length
Luca Lenz's avatar
Luca Lenz committed
import Distributions: logpdf
import StatsBase: sample
#import AdvancedMH.logdensity
Luca Lenz's avatar
Luca Lenz committed

#export CyclicWalk
#export SampledDensityModel
export LogDensity, SampledLogDensity
export logdensity
export propose, logpratio
Luca Lenz's avatar
Luca Lenz committed
export MetropolisHastings
export RandomWalk, CyclicWalk
export sample
Luca Lenz's avatar
Luca Lenz committed

include("models/all.jl")
include("proposals/all.jl")
include("algos/metropolis.jl")
#include("models/sample_based.jl")
Luca Lenz's avatar
Luca Lenz committed

Luca Lenz's avatar
Luca Lenz committed
end
Luca Lenz's avatar
Luca Lenz committed