| ngme_batch_ci | R Documentation |
Compute Xi-style batch-means confidence intervals directly from trajectories stored in an 'ngme' object.
ngme_batch_ci(
ngme,
name = "all",
level = 0.95,
alpha = 0.501,
M = NULL,
N = NULL,
apply_transform = TRUE,
drop_burnin = TRUE,
burnin_iter = 0
)
ngme |
fitted 'ngme' object with 'store_traj = TRUE' during optimization. |
name |
either '"all"' (default) to use all parameters jointly, a latent model name, or '"general"' for measurement-noise/fixed-effect block. |
level |
confidence level. |
alpha |
stepsize decay exponent in |
M |
number of retained batches (excluding burn-in batch 0). |
N |
decorrelation constant in the batch boundary formula. |
apply_transform |
logical; if 'TRUE', inference is first computed in the raw optimization space and then mapped to user scale via post-hoc Delta method (Post-delta). |
drop_burnin |
logical; if 'TRUE', discard batch 0. |
burnin_iter |
non-negative integer. Explicitly discard the first 'burnin_iter' optimization iterations before Xi-style batching. |
Same structure as [batch_means_ci()] with extra metadata fields 'name' and 'apply_transform'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.