| ccd_to_theta | R Documentation |
Converts standardised CCD z-coordinates (in \mathbb{R}^k) to
physical hyperparameters \theta via the affine map
\theta = \hat\theta + L \cdot z with optional log-scale
transform per component. L is typically a Cholesky factor of the
negative Hessian inverse evaluated at the (working) mode \hat\theta
– i.e. it scales z to one posterior standard deviation per axis.
ccd_to_theta(z, theta_hat, L, log_scale = FALSE)
z |
Matrix |
theta_hat |
Numeric vector of length |
L |
Numeric |
log_scale |
Logical (or logical vector of length k). If |
Numeric matrix [n_points x k] of physical theta-values.
g <- ccd_grid(2)
ccd_to_theta(g$z, theta_hat = c(0, 1), L = diag(c(0.5, 0.2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.