Description Usage Arguments Value Author(s) References Examples
sim_rct_biomarker
is used to simulate clinical trial data with
specified treatment, prognostic, and predictive effect sizes.
1 2 3 | sim_rct_biomarker(n = 50, p = 100, p_prog = 5, p_pred = 5,
p_both = 5, v_trt = 0.4, v_prog = 0.2, v_pred = 0.2,
v_err = 0.2, corr = NULL, family = "gaussian", ...)
|
n |
Number of subjects. |
p |
Number of biomarkers. |
p_prog |
Number of biomarkers with prognostic effects only. |
p_pred |
Number of biomarkers with predictive effects only. |
p_both |
Number of biomarkers with both prognostic and predictive effects |
v_trt |
Variance of response due to treatment. |
v_prog |
Variance of response due to prognostic effects. |
v_pred |
Variance of response due to predictive effects. |
v_err |
Variance of response due to random noise. |
corr |
Autocorrelation parameter between biomarkers, default is |
family |
The distribution family for response variable, can be |
... |
further arguments passed to or from other methods. |
A list containing several variables.
Treatment status in 1 or -1 values.
Biomarkers.
Hadamard product of treatment and biomarkers.
Model matrix - binding of T
, X
, and W
.
Response.
Response without error.
Treatment effect.
Prognostic effects.
Predictive effects.
All effects corresponding to M
.
Chong Ma chong.ma@yale.edu, Kevin Galinsky Kevin.Galinsky@takeda.com.
ma2019structuralsmog
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.