spectral_connectivity.statistics#

Common statistical procedures used with frequency domain measures.

Functions

Benjamini_Hochberg_procedure

Corrects for multiple comparisons and returns the significant p-values by controlling the false discovery rate at level alpha using the Benjamani-Hochberg procedure.

Bonferroni_correction

Corrects for multiple comparisons and returns the significant p-values by controlling the false discovery rate at level alpha using the Bonferroni procedure.

adjust_for_multiple_comparisons

Corrects for multiple comparisons and returns the significant p-values.

coherence_bias

Estimates of coherence are biased by sample size [1,2].

coherence_rate_adjustment

Correction for the spike-field or spike-spike coherence when the conditions have different firing rates.

fisher_z_transform

Transform the coherence magnitude to an approximately normal distribution.

get_normal_distribution_p_values

Given data, returns the probability the data was generated from a normal distribution with mean and std_deviation

power_confidence_intervals

Confidence intervals for the power spectrum.