Control parameters for mixqr()
Usage
mixqr_control(
tol = 1e-06,
maxit = 500L,
reltol = TRUE,
bandwidth = NULL,
kde_grid = 512L,
label_order = "slope",
distinct_tol = 0.001,
trace = FALSE,
seed = NULL
)Arguments
- tol
Convergence tolerance on the summed absolute parameter change (Wu & Yao 2016, p. 164). Default
1e-6.- maxit
Maximum EM iterations. Default
500.- reltol
Logical; if
TRUEuse the relative criterionsum|dtheta| / (sum|theta| + eps) < tol(recommended because pi and beta differ in scale). DefaultTRUE.- bandwidth
Optional numeric KDE bandwidth override (kdEM engine). If
NULL, Silverman's rule1.06 * sd * n^(-1/5)is used per component.- kde_grid
Number of grid points for stored KDE evaluation / plotting. Default
512.- label_order
Label-switching constraint:
"slope"(ascending first slope coordinate, default – aligned with the distinct-slope identifiability of Wu & Yao Thm 2.1),"intercept", or"slope:k"for the k-th slope.- distinct_tol
RELATIVE threshold below which component slope vectors are flagged as near-coincident (near-violation of Wu & Yao Thm 2.1), measured as
||b_a - b_b|| / (||b_a|| + ||b_b||). Default1e-3.- trace
Logical; print iteration progress. Default
FALSE.- seed
Optional integer RNG seed for reproducible multi-start.