Related Experiment Video
Updated: Dec 7, 2025

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
lcc: an R package to estimate the concordance correlation, Pearson correlation and accuracy over time
Thiago P Oliveira1,2, Rafael A Moral3, Silvio S Zocchi4
1School of Mathematics, Statistics and Applied Mathematics, NUI Galway, Galway, Ireland.
Background And Objective:
Observational studies and experiments in medicine, pharmacology and agronomy are often concerned with assessing whether different methods/raters produce similar values over the time when measuring a quantitative variable. This article aims to describe the statistical package lcc, for are, that can be used to estimate the extent of agreement between two (or more) methods over the time, and illustrate the developed methodology using three real examples.
Methods:
The longitudinal concordance correlation, longitudinal Pearson correlation, and longitudinal accuracy functions can be estimated based on fixed effects and variance components of the mixed-effects regression model. Inference is made through bootstrap confidence intervals and diagnostic can be done via plots, and statistical tests.
Results:
The main features of the package are estimation and inference about the extent of agreement using numerical and graphical summaries. Moreover, our approach accommodates both balanced and unbalanced experimental designs or observational studies, and allows for different within-group error structures, while allowing for the inclusion of covariates in the linear predictor to control systematic variations in the response. All examples show that our methodology is flexible and can be applied to many different data types.
Conclusions:
The lcc package, available on the CRAN repository, proved to be a useful tool to describe the agreement between two or more methods over time, allowing the detection of changes in the extent of agreement. The inclusion of different structures for the variance-covariance matrices of random effects and residuals makes the package flexible for working with different types of databases.
More Related Videos
Related Concept Videos
Microsoft Excel: Pearson's Correlation
Spearman's Rank Correlation Test
Spearman's test calculates correlation by...
Kendall's Coefficient of Concordance
Coefficient of Correlation
If you suspect a linear relationship between x and y, then r can measure how strong the linear relationship is.
What the VALUE of r tells us:
The value of r is always between –1 and +1: –1 ≤ r ≤ 1.
The size of the correlation r indicates the...
Calculating and Interpreting the Linear Correlation Coefficient
Calibration Curves: Correlation Coefficient

