TFORGE0.1.16 package

Tests for Geophysical Eigenvalues

boot_calib

Bootstrap calibration for single-sample and k-sample tests

chisq_calib

Chi Squared Calibration for Testing

conf_fixedtrace

Eigenvalue confidence region under fixed trace constraint

conf_ss1fixedtrace

Eigenvalue confidence interval under trace=0 and sum of square constra...

cov_evals

Compute the Covariance of Eigenvalues

estimate_OIcov

Estimate parameters of orthogonally invariant covariance

fsm

Flat storage of symmetric matrices

has_fixedtrace

Check if the supplied sample(s) have fixed trace

has_ss1

Check whether the supplied sample(s) have equal sum of squared eigenva...

normalise_ss1

Normalise so that Sum of Squared Eigenvalues is One

normalise_trace

Scale symmetric matrices to have trace of one

project_trace

Project diagonal elements to have trace of zero

rsymm_norm

Simulate Symmetric Matrices with Multivariate Normal Elements

rsymm_t

Simulate Symmetric Matrices with Multivariate t Elements

test_fixedtrace

Test for eigenvalues when trace is fixed

test_multiplicity_OI

Test of eigenvalue multiplicity assuming orthogonally invariant covari...

test_multiplicity

Test eigenvalue multiplicity

test_ss1

Test for eigenvalues when sum of squared eigenvalues is 1

test_ss1fixedtrace

Test eigenvalues when trace=0 and sum of square eigenvalues = 1

test_unconstrained_aGOE

Two Sample Test of Equal Eigenvalues Using GOE Approximation

test_unconstrained

Pivotal bootstrap test of mean eigenvalues

TFORGE-package

TFORGE: Tests for Geophysical Eigenvalues

vecd

Flatten a symmetric matrix into a vector preserving Frobenius norm.

vech

Flatten a symmetric matrix into a vector.

The eigenvalues of observed symmetric matrices are often of intense scientific interest. This package offers single sample tests for the eigenvalues of the population mean or the eigenvalue-multiplicity of the population mean. For k-samples, this package offers tests for equal eigenvalues between samples. Included is support for matrices with constraints common to geophysical tensors (constant trace, sum of squared eigenvalues, or both) and eigenvectors are usually considered nuisance parameters. Pivotal bootstrap methods enable these tests to have good performance for small samples (n=15 for 3x3 matrices). These methods were developed and studied by Hingee, Scealy and Wood (2026, "Nonparametric bootstrap inference for the eigenvalues of geophysical tensors", accepted by the Journal of American Statistical Association). Also available is a 2-sample test using a Gaussian orthogonal ensemble approximation and an eigenvalue-multiplicity test that assumes orthogonally-invariant covariance.