bayesianSignedRank.test.Rd
This function performs the Bayesian Signed-Rank test
bayesianSignedRank.test( x, y = NULL, s = 0.5, z_0 = 0, rope.min = -0.01, rope.max = 0.01, weights = NULL, mc.samples = 10000 )
x | First vector of observations |
---|---|
y | Second vector of observations |
s | Prior pseudo-observation probabilitie |
z_0 | Prior pseudo-observation |
rope.min | Inferior limit of the rope considered |
rope.max | Superior limit of the rope considered |
weights | A priori weights |
mc.samples | Number of samples of the distribution |
List with probabilities for each region and a sample of posterior distribution.
bsr <- bayesianSignedRank.test(results$random.forest, results$KNN) bsr.stronger.prior <- bayesianSignedRank.test(results$random.forest, results$KNN, s=3, z_0 = 0.5)