corr: Compute the structural correlogram of the CLSP constraint...

View source: R/utils.R

corrR Documentation

Compute the structural correlogram of the CLSP constraint system.

Description

This method performs a row-deletion sensitivity analysis on the canonical constraint matrix [C | S], denoted as C_{\text{canon}}, and evaluates the marginal effect of each constraint row on numerical stability, angular alignment, and estimator sensitivity.

Usage

corr(object, reset = FALSE, threshold = 0)

Arguments

object

An object of class "clsp".

reset

Logical, default = FALSE. If TRUE, forces recomputation of all diagnostic values.

threshold

Numeric, default = 0. If positive, limits the output to constraints with \mathrm{RMSA}_i \ge \text{threshold}.

Details

For each row i in C_{\text{canon}}, it computes:

  • The Root Mean Square Alignment (\mathrm{RMSA}_i) with all other rows j \ne i.

  • The change in condition numbers \kappa(C), \kappa(B), and \kappa(A) when row i is deleted.

  • The effect on estimation quality: changes in NRMSE and in the norms of \hat{z}, z, and x.

Additionally, it computes the total RMSA statistic across all rows, summarizing the overall angular alignment of the constraint block.

Value

A named list containing per-row diagnostic values:

constraint

Numeric vector of constraint indices (1-based).

rmsa_i

Numeric vector of \mathrm{RMSA}_i values.

rmsa_dkappaC

Numeric vector of \Delta\kappa(C) after deleting row i.

rmsa_dkappaB

Numeric vector of \Delta\kappa(B) after deleting row i.

rmsa_dkappaA

Numeric vector of \Delta\kappa(A) after deleting row i.

rmsa_dnrmse

Numeric vector of \Delta\mathrm{NRMSE} after deleting row i.

rmsa_dzhat

Numeric vector of \Delta\|\hat{z}\|_2 after deleting row i.

rmsa_dz

Numeric vector of \Delta\|z\|_2 after deleting row i.

rmsa_dx

Numeric vector of \Delta \|x\|_2 or \Delta \|x\|_F after deleting row i.


rclsp documentation built on June 11, 2026, 5:07 p.m.