tedana.metrics.external

Metrics based on fits of component time series to external time series.

Functions

build_fstat_regressor_models(...)

Combine detrending all or subsets of external regressors to make models to fit and test.

fit_mixing_to_regressors(component_table, ...)

Compute Linear Model and calculate F statistics and P values for combinations of regressors.

fit_model_with_stats(y, regressor_models, ...)

Fit full and partial models and calculate F stats, R2, and p values.

fit_regressors(component_table, ...)

Fit regressors to the mixing matrix.

load_validate_external_regressors(*, ...)

Load and validate external regressors and descriptors in dictionary.

validate_extern_regress(*, ...)

Confirm external regressor dictionary matches data and expands regular expressions.

Exceptions

RegressError

Passes errors that are raised when validate_extern_regress fails.