Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mult.icc

Multiple ICCs from a dataset


Description

Given a data frame and a group identifier, this function will estimate ICC(1) and ICC(2) values for each column in the dataframe. Note that this function depends upon the nlme package, and it only works with one level of nesting (e.g., students within schools). The dependent variable is assumed to be gaussian.

Usage

mult.icc(x, grpid)

Arguments

x

A data frame containing the variables of interest in each column.

grpid

A vector identifying the groups from which the variables originated.

Value

Variable

The variable name.

ICC1

The intraclass correlation coefficient 1.

ICC2

The group mean reliability or intraclass correlation coefficient 2.

Author(s)

References

Bliese, P. D. (2000). Within-group agreement, non-independence, and reliability: Implications for data aggregation and Analysis. In K. J. Klein & S. W. Kozlowski (Eds.), Multilevel Theory, Research, and Methods in Organizations (pp. 349-381). San Francisco, CA: Jossey-Bass, Inc.

Bartko, J.J. (1976). On various intraclass correlation reliability coefficients. Psychological Bulletin, 83, 762-765.

See Also

Examples

library(nlme)
data(bh1996)
mult.icc(bh1996[,c("HRS","LEAD","COHES")],grpid=bh1996$GRP)

multilevel

Multilevel Functions

v2.6
GPL (>= 2)
Authors
Paul Bliese
Initial release
2016-07-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.