spectral_connectivity.statistics#

Statistical procedures for connectivity analysis.

This module provides statistical functions for testing significance of connectivity measures, including multiple comparison corrections and transforms for coherence-based measures. Functions support both parametric and non-parametric approaches for statistical inference in frequency domain connectivity analysis.

Functions

Benjamini_Hochberg_procedure

Control false discovery rate using Benjamini-Hochberg procedure.

Bonferroni_correction

Control family-wise error rate using Bonferroni correction.

adjust_for_multiple_comparisons

Apply multiple comparison correction to p-values.

coherence_bias

Estimate bias correction for coherence estimates.

coherence_fisher_z_transform

Transform coherence magnitude to approximately normal distribution.

coherence_rate_adjustment

Adjust spike-field coherence for different firing rates between conditions.

get_normal_distribution_p_values

Compute p-values for normal distribution test.

power_bias

Bias of the power spectrum.

power_confidence_intervals

Compute confidence intervals for multitaper power spectrum estimates.

power_fisher_z_transform

Transform power spectrum estimates for statistical testing.

power_variance

Compute variance of log-power spectrum estimates.