Refits an AME model by iterative block coordinate descent, initialised
(“warm-started”) from an existing ame_als fit. This is the
workhorse of ame_als_bootstrap: every bootstrap replicate
is refit from the original point estimate rather than from a cold random
start, which prevents replicates from converging to different local optima
or rotations and is essential for meaningful bootstrap standard errors.
Usage
ame_als_refit(
object,
Y_new = NULL,
X_new = NULL,
max_iter = 30,
tol = 1e-05,
verbose = FALSE
)Arguments
- object
an
ame_alsobject supplying the warm-start values (mu,beta,a,b,U,V) and the model configuration (family,mode,symmetric,R).- Y_new
optional canonical outcome array
[n_row, n_col, T]to refit on. Defaults toobject$Y.- X_new
optional canonical design array
[n_row, n_col, p, T]. Defaults toobject$X.- max_iter
maximum block coordinate descent iterations (default 30; fewer are needed than for a cold start). On the dynamic route, left unset it keeps the original fit's iteration budget.
- tol
convergence tolerance (default
1e-5). On the dynamic route, left unset it keeps the original fit's tolerance.- verbose
logical; print progress (default
FALSE).
Value
An object of class "ame_als"; see ame_als.
Details
The estimation algorithm is the iterative block coordinate descent estimator
of the Social Influence Regression model of Hoff & Minhas
(sir::sir_alsfit()), adapted to the AME model, with each bootstrap
replicate warm-started from the original point estimate.
A fit from one of the dynamic ALS routes (lame(..., method = "als")
with dynamic_uv, dynamic_ab or dynamic_beta) stores
trajectories rather than a single
value per parameter. Such a fit is refit through the dynamic fitter that
produced it, seeded from the stored trajectories, and the result is again a
dynamic fit of the same class.
A fit saved by an earlier release with a fast-route estimator setting that
this release no longer has stops with an error of class
"lame_als_removed_setting"; refit the model with ame_als,
lame_als or lame(..., method = "als").
References
Minhas, S. and Hoff, P. D. (2025). Decomposing Network Dynamics: Social
Influence Regression. Political Analysis. The iterative block
coordinate descent estimator refit here originates with that work
(implemented in sir::sir_alsfit()).