Hi everyone,
what is the best way to handle access to previous values of nodes? I mean not only the current value of the chain, but all values. Something like
values(models, nodes, iterations)
Is this possible with a user-written sampler by accessing the modelValues object appropriately? Or is it even possible with a user-written distribution (that depends on past values) that could then be used with all standard samplers?
-----------------------------
Probably irrelevant background:
I am working on a Quasi-Bayesian/Laplace-type approach to Generalized Method of Moments estimation. The basic idea is to substitute the likelihood in an MCMC procedure with a quasi-likelihood that is motivated by the CLT on the moments of a given model.
Consider a moment function m(θ) with parameter θ . One would specify a “quasi-likelihood” with average moments m and weighting matrix W as
and estimate the “quasi-posterior” with a MCMC procedure.
The problem I have is that the weighting matrix W should be the inverse of a consistent covariance estimate of the moments at the true parameter. As this parameter is unknown, one usually relies on iterative procedures. One solution is to take a covariance estimator using the posterior mean of the preceding chain.
--
You received this message because you are subscribed to the Google Groups "nimble-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nimble-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nimble-users/81fdc3ee-614b-419f-9ba4-fb2a77cd36fan%40googlegroups.com.