conpy.stats.group_connectivity_ttest#
- conpy.stats.group_connectivity_ttest(cond1, cond2, df=None, tail=None)[source]#
- Paired t-test comparing connectivity between two conditions. - Parameters:
- cond1list of VertexConnectivity | LabelConnectivity
- For each subject, the connectivity object corresponding to the first experimental condition. 
- cond2list of VertexConnectivity | LabelConnectivity
- For each subject, the connectivity object corresponding to the second experimental condition. 
- dfint | None
- Degrees of freedom. If - None, defaults to- n_subjects - 1.
- tail: ‘right’ | ‘left’ | None
- Which tailed t-test to use. If - None, two-tailed t-test is performed.
 
- Returns:
- tndarray, shape (n_pairs,)
- t-values for all connections. 
- pvalndarray, shape (n_pairs,)
- p-values for all connections.