| vcmm_control | R Documentation |
Builds a validated options list controlling the iterative SS estimator
(and, later, the CSL and SVD-stabilised estimators). Pass the returned
object as the control argument of fit_ss().
vcmm_control(
max_iter = 200L,
tol_beta = 1e-06,
tol_alpha = 1e-06,
sigma_eps = 1,
sigma_alpha = 1,
update_variance = FALSE,
verbose = FALSE
)
## S3 method for class 'vcmm_control'
print(x, ...)
max_iter |
Integer. Maximum number of iterations (default 200). |
tol_beta |
Positive numeric. Relative-change convergence tolerance
for the fixed-effects coefficient vector |
tol_alpha |
Positive numeric. Relative-change convergence tolerance
for the random-effects vector |
sigma_eps |
Positive numeric. Initial residual standard deviation.
If |
sigma_alpha |
Positive numeric. Initial random-effect standard
deviation. If |
update_variance |
Logical. If |
verbose |
Logical. If |
x |
A |
... |
Unused. |
A list of class "vcmm_control" containing the validated
options.
Jalili, L. and Lin, L.-H. (2025). Scalable and Communication-Efficient Varying Coefficient Mixed-Effects Models.
# Defaults: fix variances at 1, iterate up to 200 times.
ctrl <- vcmm_control()
ctrl
# Fix variances at user-supplied values.
ctrl <- vcmm_control(sigma_eps = 0.5, sigma_alpha = 0.5)
# Re-estimate variances each iteration.
ctrl <- vcmm_control(sigma_eps = 0.5, sigma_alpha = 0.5,
update_variance = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.