Description Usage Arguments Value Functions Examples
Normal simulation: Covariate is effect size under alternative
1 2 3 | wasserman_normal_sim(m, pi0, xi_min, xi_max, seed = NULL)
wasserman_normal_sim_fun(m, pi0, xi_min, xi_max)
|
m |
Integer, total number of hypotheses |
pi0 |
Numeric, proportion of null hypotheses |
xi_min, xi_max |
Numeric, covariates are drawn as uniform on xi_min, xi_max |
seed |
Integer, Random seed to be used for simulation (default: NULL, i.e. RNG state will be used as is) |
A data frame containing all information about the simulation experiment
wasserman_normal_sim_fun
: Creates a closure function for a given seed
1 | sim_df <- wasserman_normal_sim(20000,0.9, 1, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.