powered by
Function to conduct cluster bias correction of sampling variance estimates obtained from cluster-randomized studies in which the reported variance does not account for clustering.
cluster_bias_adjustment(sigma2js, cluster_size = 22, icc = 0.2)
Returns a vector of cluster bias adjusted variance estimates
A vector of sampling variance estimates that do not account for clustering.
A numerical value for average cluster size.
Assumed intra-class correlation (proportion of total variance at the cluster level).
cbc_var <- cluster_bias_adjustment( sigma2js = c(0.04, 0.06, 0.08, 0.1), cluster_size = 15, icc = 0.15 ) cbc_var
Run the code above in your browser using DataLab