Open wleoncio opened 4 years ago
@mollyolaf, @Kondwani84, @ylinglw, do any of you know where I could find the equation to calculate the standard error of rho (the intraclass correlation) when each sampling unit has a different size?
Reference: Donner (1986), equation (6.1)
Summary
According to the following code, the
anova_table()
function is not able to calculate the standard error of the intraclass correlation when the sample sizes are different.https://github.com/tmatta/lsasim/blob/844c889ace23fe8e8b3a41b54aedfec51d3968b8/R/anova_table.R#L39-L44
Theoretical references must be provided to implement this.
MRE
The following was performed on lsasim 2.0.2.9004.