a function from parameters to LogLikelihood
a generic proposal distribution for the metropolis algorithm (eg. Gaussian)
the starting parameters for the metropolis algorithm
the starting parameters for the metropolis algorithm
the starting parameters for the metropolis algorithm
a function from parameters to LogLikelihood
a function from parameters to LogLikelihood
Definition of the log-transition, used when calculating the acceptance ratio This is the probability of moving between parameters according to the proposal distribution Note: When using a symmetric proposal distribution (eg.
Definition of the log-transition, used when calculating the acceptance ratio This is the probability of moving between parameters according to the proposal distribution Note: When using a symmetric proposal distribution (eg. Normal) this cancels in the acceptance ratio
the previous parameter value
the proposed parameter value
Use the Breeze Markov Chain to generate a process of ParamsState Calling .sample(n) on this will create a single site metropolis hastings, proposing parameters only from the initial supplied parameter values
Use the Breeze Markov Chain to generate a process of ParamsState Calling .sample(n) on this will create a single site metropolis hastings, proposing parameters only from the initial supplied parameter values
A single step of the metropolis hastings algorithm to be used with breeze implementation of Markov Chain.
A single step of the metropolis hastings algorithm to be used with breeze implementation of Markov Chain. This is a slight alteration to the implementation in breeze, here ParamsState holds on to the previous calculated pseudo marginal log-likelihood value so we don't need to run the previous particle filter again each iteration
Use the same step for iterations in a stream
Use the same step for iterations in a stream
Prior distribution for the parameters, with default implementation
Prior distribution for the parameters, with default implementation
a generic proposal distribution for the metropolis algorithm (eg.
a generic proposal distribution for the metropolis algorithm (eg. Gaussian)
Implementation of the particle metropolis hastings algorithm specified prior distribution
a function from parameters to LogLikelihood
a generic proposal distribution for the metropolis algorithm (eg. Gaussian)
the starting parameters for the metropolis algorithm