Title: | Computation of the Double-Entry Intraclass Correlation |
---|---|
Description: | The functions compute the double-entry intraclass correlation, which is an index of profile similarity (Furr, 2010; McCrae, 2008). The double-entry intraclass correlation is a more precise index of the agreement of two empirically observed profiles than the often-used intraclass correlation (McCrae, 2008). Profiles comprising correlations are automatically transformed according to the Fisher z-transformation before the double-entry intraclass correlation is calculated. If the profiles comprise scores such as sum scores from various personality scales, it is recommended to standardize each individual score prior to computation of the double-entry intraclass correlation (McCrae, 2008). See Furr (2010) <doi:10.1080/00223890903379134> or McCrae (2008) <doi:10.1080/00223890701845104> for details. |
Authors: | Christian Blötner, Michael Paul Grosz |
Maintainer: | Christian Blötner <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.3.6 |
Built: | 2024-12-03 06:49:02 UTC |
Source: | CRAN |
For different applications, confidence intervals for the double- entry intraclass correlation can be useful. Bootstrap confidence intervals are computed by means of repeated resampling from the original data at hand.
icc.de.boot(data, n.sim = 1000, alpha = .05, digit = 3)
icc.de.boot(data, n.sim = 1000, alpha = .05, digit = 3)
data |
A data frame with participants in rows and variables in columns. Users should restrict the data set to the variables of concrete interest because the all available information in the data frame will be used to compute bootstrapped confidence intervals. Thus, it is advisable to create a new data frame that entails only the variables on which the matrix of ICCDEs should be based. Computations in a data set with 56 variables on a Windows device (i5 CPU, 8 GB RAM) and a Macbook Pro (M3 Pro CPU, 36 GB RAM), for instance, took about two minutes, given 1,000 iterations. |
n.sim |
The number of iterations to be carried out. Default is 1,000. |
alpha |
Type I error. Default is .05. |
digit |
Number of digits in the output. Default is 3. |
The output provides a list of matrices of double-entry intraclass correlations.
Mean |
A matrix of the bootstrapped point estimates of the bootstrapped double-entry intraclass correlations. |
LL |
A matrix providing the lower limits of the bootstrap confidence intervals, given the desired alpha level. |
UL |
A matrix providing the upper limits of the bootstrap confidence intervals, given the selected alpha level. |
Christian Blötner, Michael Paul Grosz [email protected]
Furr, R. M. (2010). The Double-Entry Intraclass Correlation as an index of profile similarity: Meaning, limitations, and alternatives. Journal of Personality Assessment, 92(1), 1–15. <https://doi.org/10.1080/00223890903379134>
McCrae, R. R. (2008). A note on some measures of profile agreement. Journal of Personality Assessment, 90(2), 105–109. <https://doi.org/10.1080/00223890701845104>
df <- data.frame(a = rnorm(100), b = rnorm(100), c = rnorm(100), x = rnorm(100), y = rnorm(100), z = rnorm(100)) icc.de.boot(data = df, n.sim = 1000, alpha = .01, digit = 2)
df <- data.frame(a = rnorm(100), b = rnorm(100), c = rnorm(100), x = rnorm(100), y = rnorm(100), z = rnorm(100)) icc.de.boot(data = df, n.sim = 1000, alpha = .01, digit = 2)
This function computes pairwise double-entry intraclass correlations among all entries of a data frame. Correlations between the compared variables as well as correlations of the constructs with themselves are thereby excluded from the calculation (i.e., correlations between X and Y, correlation between X and X, and correlation between Y and Y).
icc.de.mat(data, digit)
icc.de.mat(data, digit)
data |
A data frame with participants in rows and variables in columns. |
digit |
Number of digits in the output. The default is 3. |
iccde |
Double-Entry Intraclass Correlation |
Christian Blötner, Michael Paul Grosz [email protected]
Furr, R. M. (2010). The Double-Entry Intraclass Correlation as an Index of Profile Similarity: Meaning, Limitations, and Alternatives. Journal of Personality Assessment, 92(1), 1–15. https://doi.org/10.1080/00223890903379134
McCrae, R. R. (2008). A Note on Some Measures of Profile Agreement. Journal of Personality Assessment, 90(2), 105–109. https://doi.org/10.1080/00223890701845104
df <- data.frame(a = rnorm(100), b = rnorm(100), c = rnorm(100), x = rnorm(100), y = rnorm(100), z = rnorm(100)) icc.de.mat(df)
df <- data.frame(a = rnorm(100), b = rnorm(100), c = rnorm(100), x = rnorm(100), y = rnorm(100), z = rnorm(100)) icc.de.mat(df)
The function computes the double-entry intraclass correlation, which is an index of profile similarity (Furr, 2010; McCrae, 2008). The double-entry intraclass correlation is a more precise index of the agreement of two empirically observed profiles than the often-used intraclass correlation (McCrae, 2008). The function transforms profiles comprising correlations according to the Fisher z-transformation before the double-entry intraclass correlation is calculated. If the profiles comprise scores such as sum scores from various personality scales, it is recommended to standardize each individual score prior to computation of the double-entry intraclass correlation (McCrae, 2008). See Furr (2010) <doi:10.1080/00223890903379134> or McCrae (2008) <doi:10.1080/00223890701845104> for details.
icc.de(prof1, prof2, input = c("cor", "score"), digits = 2)
icc.de(prof1, prof2, input = c("cor", "score"), digits = 2)
prof1 |
Vector of components of the nomological network of the first trait (input = "cor") or vector of components of the first profile (input = "score"). |
prof2 |
Vector of components of the nomological network of the second trait (input = "cor") or vector of components of the second profile (input = "score"). |
input |
Do the profiles contain correlations (e.g., from nomological network; input = "cor") or scores from different scales (e.g., sum scores from diverse personality tests; input = "score")? The default is input = "cor". |
digits |
Number of digits in the output. The default is digits = 2. |
iccde |
Double-Entry Intraclass Correlation for two given profiles |
Christian Blötner, Michael Paul Grosz [email protected]
Furr, R. M. (2010). The Double-Entry Intraclass Correlation as an Index of Profile Similarity: Meaning, Limitations, and Alternatives. Journal of Personality Assessment, 92(1), 1-15. https://doi.org/10.1080/00223890903379134
McCrae, R. R. (2008). A Note on Some Measures of Profile Agreement. Journal of Personality Assessment, 90(2), 105-109. https://doi.org/10.1080/00223890701845104
icc.de(prof1 = c(.59, .48, .23), prof2 = c(.52, .76, .22), input = "cor") icc.de(prof1 = c(-1, -0.85, 2), prof2 = c(-0.93, 1, 1.26), input = "score", digits = 4)
icc.de(prof1 = c(.59, .48, .23), prof2 = c(.52, .76, .22), input = "cor") icc.de(prof1 = c(-1, -0.85, 2), prof2 = c(-0.93, 1, 1.26), input = "score", digits = 4)