simBKMRdata

Kazi Tanvir Hasan and Gabriel Odom

Simulate multivariate normal or multivariate skewed exposure data for downstream in silico experiments with Bayesian Kernel Machine Regression.

Outline of Functions

  1. (Graphically) Assess Skewness of Exposure variables \(z_i\): this part we will show as examples in the vignettes, but we won’t include functions.
  2. Transformation Functions:
  3. Calculate List of Parameters for Groups \(i = 1, \ldots, G\)
  4. Simulate List of Exposure Data Sets for Groups \(i = 1, \ldots, G\)
  5. Use BKMR to analyze the simulated data (we will show some quick examples in vignettes, but not include any functions)
  6. Calculate a PIP threshold that preserves a 5% test size for real or simulated data (as close as we can for now). This function should only depend on the response vector, or summary statistics of it (specifically \(|\text{cv}(y)|\) and \(n\)).