wasserman_normal_sim: Normal simulation: Covariate is effect size under alternative

Description Usage Arguments Value Functions Examples

View source: R/simulations.R

Description

Normal simulation: Covariate is effect size under alternative

Usage

1
2
3
wasserman_normal_sim(m, pi0, xi_min, xi_max, seed = NULL)

wasserman_normal_sim_fun(m, pi0, xi_min, xi_max)

Arguments

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)

Value

A data frame containing all information about the simulation experiment

Functions

Examples

1
sim_df <- wasserman_normal_sim(20000,0.9, 1, 5)

nignatiadis/ihwPaper documentation built on Jan. 18, 2021, 3:13 p.m.