Learn R Programming

resilience (version 2025.1.1)

Predictors of Resilience to a Stressor in a Single-Arm Study

Description

Studies of resilience in older adults employ a single-arm design where everyone experiences the stressor. The simplistic approach of regressing change versus baseline yields biased estimates due to regression-to-the-mean. This package provides a method to correct the bias. It also allows covariates to be included. The method implemented in the package is described in Varadhan, R., Zhu, J., and Bandeen-Roche, K (2024), Biostatistics 25(4): 1094-1111.

Copy Link

Version

Install

install.packages('resilience')

Monthly Downloads

11,885

Version

2025.1.1

License

GPL (>= 2)

Maintainer

Ravi Varadhan

Last Published

December 15th, 2025

Functions in resilience (2025.1.1)

tkr.dat

Example dataset for pre-post resilience analysis
summary.prepost_mi

Summary Results from Multiply Imputed Resilience Analysis
prepost

Identifying Predictors of Resilience to Stressors in Single-Arm Studies of Pre-Post Change
plot.prepost_mi

Plot Results from Multiply Imputed Resilience Analysis
prepost_mi

Prepost Analysis with Pre-Imputed Datasets
print.prepost_mi

Print Results from Multiply Imputed Resilience Analysis