Skip to contents

Control parameters for mixqrgate()

Usage

mixqrgate_control(
  nstart = 10L,
  maxit = 500L,
  tol = 1e-06,
  gate_ridge = 0.001,
  gate_maxit = 50L,
  gate_tol = 1e-08,
  label_order = "slope",
  bandwidth = NULL,
  kde_grid = 512L,
  trace = FALSE,
  seed = NULL
)

Arguments

nstart

Number of multi-start initialisations (the mixture likelihood is multimodal). Default 10.

maxit

Maximum EM iterations. Default 500.

tol

Convergence tolerance on the relative parameter change. Default 1e-6.

gate_ridge

Ridge penalty on the gate coefficients (stabilises the multinomial-logit M-step under separation / small samples). Default 1e-3.

gate_maxit, gate_tol

Inner Newton iterations / tolerance for the gate M-step. Defaults 50 and 1e-8.

label_order

Component ordering for label switching: "slope" (default, ascending first slope) or "intercept".

bandwidth

Optional KDE bandwidth override (method = "kde").

kde_grid

KDE grid size (method = "kde"). Default 512.

trace

Logical; print EM progress. Default FALSE.

seed

Optional integer RNG seed.

Value

A list of class "mixqrgate_control".