You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
it seems, that TwoSampleWilcoxonSignedRankTest has a bug when both passed in sample vectors are exactly the same. The signs and diffs are thus 0 all the time, which leads to an exception later on.
Can you please check on that?
Here the stack-trace:
Indexwas outside the bounds of the array.
at Accord.Statistics.Tools.Rank(Double[]samples,Boolean&hasTies,BooleanalreadySorted,BooleanadjustForTies)
at Accord.Statistics.Testing.WilcoxonTest.Compute(Int32[]signs,Double[]diffs,DistributionTailtail, Nullable`1exact,BooleanadjustForTies)
at Accord.Statistics.Testing.TwoSampleWilcoxonSignedRankTest..ctor(Double[]sample1,Double[]sample2,TwoSampleHypothesisalternate, Nullable`1exact,BooleanadjustForTies)