cvborkulo / NetworkComparisonTest

Statistical comparison of two networks with respect to three invariance measures
21 stars 21 forks source link

NCT permutation p-values #20

Closed AndrewLawrence closed 4 years ago

AndrewLawrence commented 4 years ago

Resolves #19

pval calculation changed from e / n to (e + 1) / (n + 1). I also removed code that rounded the post-adjustment p-values for edge invariance. Rounding reintroduces exact-zero p-values if nperms is large (~>10,000).