R codes for longitudinal healthspan data analysis

Published: 25 June 2020| Version 1 | DOI: 10.17632/ytstmynn4m.1
Azar Asadi


R codes for assessing longitudinal health span data ( frailty Index). These codes are for 0. Preparation steps for calculating Total Scores (mean scores) and converting measurement dates to measurement IDs 1. Repeated Measures Correlation: To assess the correlation between life-expectancy (Remaining Lifespan) and total score ( considering the Intra-dependency of the data set). 2. Mixed Model (mouse as Random effect, treatment and time as fixed effects): Now, to assess the statistical difference between the slopes of regression lines, we applied a mixed model to the combined data set of AKG and control and compared the slopes ( considering the Intra-dependency of the data set collected throughout the study). 3. Mann-Kendall Trend Test : To assess the possible monotonic trend for each frailty phenotype with aging (time).



University of Southern California


Health, Longitudinal Analysis, Frailty, Applied Statistics