| inv_gft_newton | R Documentation |
Reconstructs the correlation matrix C with
\mathrm{vecl}(\log C) = z by a full Newton
method with the exact O(n^4) Hessian recomputed at every
iteration, Armijo backtracking on the objective, and an optional
fixed-point warm start. Reference implementation for benchmarking
against inv_gft.
inv_gft_newton(z, x0 = NULL, tol = 1e-13, maxit = 500, warm = 1,
safeguard = TRUE)
z |
numeric vector of length |
x0 |
optional starting value of length |
tol |
convergence tolerance on
|
maxit |
maximum number of iterations. |
warm |
number of initial fixed-point steps. |
safeguard |
logical. If |
Each iteration forms the exact Hessian in O(n^4) time and solves
the Newton system by Cholesky factorization; if the factorization
fails or the line search cannot make progress, a fixed-point step is
substituted. inv_gft obtains the same fast local
convergence at O(n^3) cost per iteration by solving the Newton
system inexactly and matrix-free.
Near the solution the objective f = \mathrm{tr}(e^A) - 1'x is flat to within cancellation, so the Armijo
condition carries no information: the line search exhausts all of its
halvings, the fixed-point fallback is taken, and the iteration can lock
at an error several orders of magnitude above the attainable floor.
With safeguard = TRUE two further rules prevent this. The full
Newton step is taken untested once the predicted decrease falls below
the floating-point resolution of f, and a persistent lack of
progress below 10^{-9} hands the iteration to the
contractive fixed point.
safeguard = FALSE disables both and reproduces the comparator
benchmarked in the reference below, namely the method of Chen, Fei and
Yu (2025) with only the Armijo line search added. In that mode
converged can be FALSE on a small fraction of otherwise
well conditioned problems; this is the documented behaviour of that
variant, not a defect of the implementation.
An object of class "gft_inv"; see inv_gft for the
components.
Archakov, I. and Hansen, P. R. (2026). A variational approach to the generalized Fisher transformation of correlation matrices. Working paper.
inv_gft.
z <- gft(0.9^abs(outer(1:5, 1:5, "-")))
r <- inv_gft_newton(z)
r$converged
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.