View source: R/BNPPairedSamples.R
plotshift.function | R Documentation |
The shift function quantifies the differences between the two study populations, before and after the intervention or measurement, through the difference between the quantiles of the two distributions as a function of the quantiles of the first group.
plotshift.function(results_BNP)
results_BNP |
list of results obtained from the |
It returns an interactive graph with the shift function estimate and the credible interval at 95 possible to observe in detail the grid of 200 values ranging from the minimum of the data to the maximum; it also shows the average of the differences between the quantiles of both distributions.
It is suggested to use the shift function if significant
differences are observed between the marginal distributions
(posterior.probability.H1
), after performing the
hypothesis test BNP.test
.
## Not run: results <- BNP.test(x1, y1, n.mcm=10000) plotshift.function(results) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.