| h_unbiased_means_across_strata | R Documentation |
This function checks whether the means of residuals are approximately zero
across specified randomization strata for each of the two treatment groups.
It is used in robin_surv() downstream functions to verify the correct inclusion of randomization strata
variables in the analysis survival model.
h_unbiased_means_across_strata(
residuals_per_group,
df,
randomization_strata,
eps = sqrt(.Machine$double.eps)
)
residuals_per_group |
( |
df |
( |
randomization_strata |
( |
eps |
( |
TRUE if the means of residuals across randomization strata are within the specified tolerance
for both treatment groups, FALSE otherwise.
bias() for the underlying bias (means of residuals) calculation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.