Function uses ANOVA statistics or SSCP matrices to find the ratio of among-subject
to within-subject variance. The former is a dispersion-based approach and the latter
is a multivariate generalization of the ICC statistic (as a matrix product). The
multivariate generalizations of the statistics
described by Liljequist et al. (2019) are used to find matrix products,
from which eigenanalysis is performed, providing ICC statistics by eigenvectors.
Three statistics describe the ICC for the population,
agreement of measurements among subjects, and consistency between measurements.
The last statistic does not necessarily measure the sameness
between measurements but the consistency of change between measurements,
which might be indicative of a systematic measurement error.
If groups are used, these three statistics are
repeated, using the SSCP for groups-adjusted data.
This approach accounts for group differences,
which would avoid large subject variation compared to measurement error
inflating ICC values. If there are
inherently disparate groups from which subjects are sampled,
this approach can elucidate better agreement and
consistency in light of group differences.
This function is most useful for analyses performed with
measurement.error
, but any lm.rrpp
fit can be used,
so long as research subjects can be defined.
It is essential that all arguments are terms that can be found in the model frame
of the model fit, as provoke by ANOVA. Using anova(fit) will elucidate the row
names of the ANOVA that could be used.