View source: R/GEE_Functions.R
vif_gee_crt | R Documentation |
Compute the variance inflation factor applicable to a maximum likelihood analysis via a generalized estimating equation (GEE) for a three-level cluster randomized trial.
vif_gee_crt(r, rho, n_e = 1, n_s = 1)
r |
A numeric value for |
rho |
A numeric value for |
n_e |
A numeric vector for |
n_s |
A numeric vector for |
=============================================================================
This function is useful for power analysis calculations based on the methods described in Teerenstra et. al (2010).
A numeric value.
Teerenstra, S., Lu, B., Preisser, J. S., van Achterberg, T., & Borm, G. F. (2010). Sample size considerations for GEE analyses of three-level cluster randomized trials. Biometrics, 66(4), 1230-1237. doi:10.1111/j.1541-0420.2009.01374.x
vif_gee_crt(r = .18, rho = .02, n_e = 15, n_s = 22.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.