Description Usage Arguments Details Value Author(s) References Examples
View source: R/ranksProb_compare_plots.R
OPWeight
package proposed methods to compute the probabilities
of the rank of test given the effect size. This funciton uses the simulation results
obtained from the three approahes: 1) simulation, 2) exact formula, and
3) normal approximation to plot the rank probabilities.
1 | ranksProb_compare_plots(m0, effectType = c("binary", "continuous"))
|
m0 |
number of true null tests |
effectType |
type of effect sizes; c("continuous", "binary") |
To use this function to plot, one needs to load "simu_prob_rank_givenEffect.RDATA"
and apply for different m0
.
Data
A data frame containing seven columns; ranks and null and
alternative probabilities of the test from the three approaches
Mohamad S. Hasan, shakilmohamad7@gmail.com
Hasan and Schliekelman (2017)
1 2 3 | load(system.file("simulations/results", "simu_prob_rank_givenEffect.RDATA",
package = "OPWpaper"), envir = environment())
ranksPlots <- ranksProb_compare_plots(m0 = 90, effectType = "continuous")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.