log_density_ratio_langevin | R Documentation |
Compute logarithm of Langevin proposal density ratio.
log_density_ratio_langevin(
state,
proposed_state,
target_distribution,
scale_and_shape
)
state |
Current chain state. |
proposed_state |
Proposed chain state. |
target_distribution |
Target stationary distribution for chain. A list
with named entries |
scale_and_shape |
Scalar, vector or matrix which scales and shapes proposal distribution. If a scalar (in which case the value should be non-negative) the auxiliary vector will be isotropically scaled by the value. If a vector (in which case the value should be equal in length to the dimension of the space and all entries non-negative) each dimension of the auxiliary vector will be scaled separately. If a matrix (in which case the value should be a square matrix with size equal to the dimension of the space) then by pre-multiplying the auxiliary vector arbitrary linear transformations can be performed. |
Logarithm of proposal density ratio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.