View source: R/mcee_helper_nuisance_config.R
| mcee_config_known | R Documentation |
Creates a configuration for nuisance parameters with known constant values, bypassing model fitting. Useful for known randomization probabilities in MRTs.
mcee_config_known(target, value = NULL, a1 = NULL, a0 = NULL)
target |
Character. Nuisance parameter name ("p", "q", "eta", "mu", "nu"). |
value |
Numeric scalar. Single constant value for all observations. |
a1, a0 |
Numeric scalars. Arm-specific constants for A=1 and A=0 conditions.
If provided, these override |
A configuration list for use with mcee_general.
# Known randomization probability
cfg_p <- mcee_config_known("p", 0.6)
# Arm-specific known values
cfg_eta <- mcee_config_known("eta", a1 = 0.8, a0 = 0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.