Calculate the variance partitioning coefficient
1 2 3 4
An object created by
For partially nested studies, the VPC is calculated for the treatment group.
data.frame with class
plcp_VPC containing the
percentage of variance per level and time point. The column
between_clusters is also the intraclass correlation for level three,
i.e. the correlation between two subjects belonging to the same cluster at
a specific time point. With random slopes in the model the variances per time point
will be a quadratic function of time.
tot_var is the
percentage increase or decrease in total variance relative to baseline variance.
plot method returns a
Goldstein, H., Browne, W., & Rasbash, J. (2002). Partitioning variation in multilevel models. Understanding Statistics: Statistical Issues in Psychology, Education, and the Social Sciences, 1(4), 223-231.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.