get.random.zscore: Simulate z-scores according to a mixture model

Description Usage Details

View source: R/randomzScore.R

Description

η_0 * N(0,σ^2) + (1-η_0/2) * Unif(alt.min,alt.max) + (1-η_0/2)*Unif(-alt.max, alt.min)

Usage

1
2
get.random.zscore(d = 200, sigma = 2, eta0 = 0.8, alt.min = 5,
  alt.max = 10)

Details

also returns functions of the simulated null and alternative densities and CDFs as well as FDR and fdr functions


b-klaus/concaveFDR documentation built on June 4, 2017, 12:09 a.m.