dep_ci | R Documentation |
Confidence Interval for the difference between two dependent ICCs
dep_ci(data1, data2, conf_level = 0.95)
data1 |
A dataframe in wide format |
data2 |
A dataframe in wide format |
conf_level |
The confidence level of the confidence interval; defaults to 0.95. |
Used when the same subjects are tested in each dataframe. The wide format for the dataframe means that the subjects constitute the rows, and the multiple trials per subject constitute the columns of the dataframe.
A list with 3 elements:
ICC of data1 ($icc_1
)
ICC of data2 ($icc_2
)
Confidence interval for the difference between the ICC of data1 and the ICC of data2 ($confidenceIntervalDifference
)
The confidence interval is a 1x2 dataframe with calls $lowerBound
and $upperBound
for the bounds of the interval
subject1_test1 <- c(46, 42, 43) subject2_test1 <- c(34, 35, 34) subject3_test1 <- c(51, 48, 54) rater1Data <- data.frame(subject1_test1, subject2_test1, subject3_test1) subject1_test2 <- c(45, 44, 44) subject2_test2 <- c(36, 35, 37) subject3_test2 <- c(49, 49, 51) rater2Data <- data.frame(subject1_test2, subject2_test2, subject3_test2) dep_ci(rater1Data, rater2Data) dep_ci(rater1Data, rater2Data, conf_level = 0.99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.