Run the Particle Gibbs Filter, given a samples value of the state
Run the Particle Gibbs Filter, given a samples value of the state
the number of particles in the filter
the parameters used to run the filter
the specification of the system evolution matrix, G and observation matrix F
a list of observations
the conditioned upon state
a tuple containing the log-likelihood of the parameters given the observations and a single state path deterministically chosen to be the final path
Using the weights at time T (the end of all observations) sample a path from the collection of paths
Using the weights at time T (the end of all observations) sample a path from the collection of paths
a collection of paths with ancestory, the outer list is of length T, inner length N
particle weights at time T
a single path
Particle Gibbs Sampler for A Dynamic Generalised Linear Model