All functions |
|
|---|---|
Power calculation to detect overall treatment effect and interaction effect |
|
Generate X from pre-specified distribution. |
|
Generate X from data "syn" |
|
Generate simulation data from pre-specified scenarios |
|
Generate binary treatment variable |
|
Generate outcome variable y and merge with predictor data matrix X. |
|
Calculate b parameter to achieve a given power to detect an overall effect and the interaction effect |
|
Calculate b0 parameter to achieve a given power to detect an overall effect and the interaction effect |
|
Pre-specified simulation scenarios from XYZ |
|