Description Usage Arguments Value Note Author(s) References See Also
View source: R/Scale_Logistic.R
Applies the ‘simple’ preconditioning transformation described within the ‘Implementation Details’ section of Pollock et al. (2016) to points in the original space (beta.pos
), centred at the point at which the control variate is computed (beta.star
). Outputs a vector giving the position within the transformed space (eta.pos
).
1 | scale_transform(beta.pos)
|
beta.pos |
Point within the original space to be transformed |
beta.star |
Point within the original space that the control variate is computed at |
n.sigma.inv |
Simple inverse preconditioning matrix |
eta.pos |
Point within the transformed space |
As discussed within Pollock et al. (2016) the simple preconditioning procedure uses a diagonal matrix. Modification to this function would be required (along with associated package functions) if the full preconditioning matrix were to be used (precon
/ precon.inv
).
Murray Pollock, Paul Fearnhead, Adam Johansen and Gareth Roberts
Pollock, Murray, Paul Fearnhead, Adam M. Johansen, and Gareth O. Roberts. "The scalable Langevin exact algorithm: Bayesian inference for big data." arXiv preprint arXiv:1609.03436 (2016).
un_scale_transform
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.