Efficient Hessian computation using sparse matrix derivatives in RAM notation
Related Experiment Video
Updated: May 6, 2026

Experimental and Data Analysis Workflow for Soft Matter Nanoindentation
Published on: January 18, 2022
Timo von Oertzen1, Timothy R Brick
1Department of Psychology, University of Virginia, 1023 Millmont Street, Charlottesville, VA, 22903, USA, timo@virginia.edu.
Abstract:
This article proposes a new, more efficient method to compute the minus two log likelihood, its gradient, and the Hessian for structural equation models (SEMs) in reticular action model (RAM) notation. The method exploits the beneficial aspect of RAM notation that the matrix derivatives used in RAM are sparse. For an SEM with K variables, P parameters, and P' entries in the symmetrical or asymmetrical matrix of the RAM notation filled with parameters, the asymptotical run time of the algorithm is O(P ' K (2) + P (2) K (2) + K (3)). The naive implementation and numerical implementations are both O(P (2) K (3)), so that for typical applications of SEM, the proposed algorithm is asymptotically K times faster than the best previously known algorithm. A simulation comparison with a numerical algorithm shows that the asymptotical efficiency is transferred to an applied computational advantage that is crucial for the application of maximum likelihood estimation, even in small, but especially in moderate or large, SEMs.
Related Concept Videos
Second Derivatives and Laplace Operator
Consider a scalar function. The curl of its...
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Cartesian Form for Vector Formulation
Vector Algebra: Method of Components
In many applications, the magnitudes and directions of...
Differential Form of Maxwell's Equations
Higher Derivatives
