Longitudinal Trial Design: A Software – Assisted Approach to Power and Sample Size Optimization in Pharmacological Studies

Yashpreet Malhotra
University of New Haven, New Haven, Connecticut 06516, USA
yashmalhotra9323@gmail.com
DOI: 10.46793/BISEC25.345M

 

ABSTRACT: Ensuring adequate statistical power is paramount in longitudinal clinical trials evaluating pharmaceutical interventions. Underpowered studies can lead to unreliable conclusions regarding drug efficacy. This paper introduces a computational framework, implemented as an R package and a user-friendly web application, to facilitate robust sample size and power calculations specifically for longitudinal data arising in pharmacological research. The methodology encompasses various statistical models commonly employed in analyzing repeated measures in treatment versus control settings. Utilizing illustrative examples relevant to pharmaceutical outcomes, such as disease progression in neurodegenerative conditions and changes in physiological markers under drug administration, we demonstrate the utility of this software in optimizing study design parameters. Further- more, the application allows researchers to incorporate pilot data, potentially derived from large-scale initiatives like the Alzheimer’s Disease Neuroimaging Initiative (ADNI), to enhance the precision of these crucial computations, thereby improving the rigor and ethical conduct of pharmaceutical trials.

KEYWORDS: Longitudinal data analysis, Sample size determination, Power analysis, Linear mixed-effects models (LMM), Mixed models for repeated measures (MMRM), Generalized estimating equations (GEE), Attrition adjustment, Variance–covariance structures, Clinical trial design, Statistical efficiency, Alzheimer’s Disease Neuroimaging Initiative (ADNI), R statistical software, Shiny web application.

 

REFERENCES:

[1]  P. Diggle, K.-Y. Liang, and S. L. Zeger, Analysis of Longitudinal Data. Oxford University Press, 1994.

[2]  K.-Y. Liang and S. L. Zeger, “Longitudinal data analysis using generalized linear models,” Biometrika, vol. 73, no. 1, pp. 13–22, 1986.

[3]  S.L. Zeger and K.-Y.Liang, “Models for longitudinal data: a generalized estimating equation approach,” Biometrics, vol. 44, no. 4, pp. 1049– 1060, 1988.

[4]  G. Liu and K.-Y. Liang, “Sample size calculations for studies with correlated observations,” Biometrics, vol. 53, no. 3, pp. 937–947, 1997.

[5]  J. Rochon, “Sample size calculations for two-group repeated-measures experiments,” Biometrics, vol. 47, no. 4, pp. 1383–1398, 1991.

[6]  K.-J. Lui, “Sample size requirement for repeated measurements in continuous data,” Statistics in Medicine, vol. 11, no. 5, pp. 633–641, 1992.

[7]  J. W. D. Overall and S. R. Doyle, “Estimating sample size for repeated measurement designs,” Controlled Clinical Trials, vol. 15, no. 2, pp. 100–123, 1994.

[8]  E.F. Vonesh and M.A. Schork, “Sample sizes in multivariate analysis of repeated measurements,” Biometrics, vol. 42, no. 3, pp. 601–610, 1986.

[9]  J. W. D. Guo, “Sample size for experiments with multivariate repeated measures,” Journal of Biopharmaceutical Statistics, vol. 6, no. 2, pp. 155–176, 1996.

[10]  J.J. Lefante, “The power to detect differences in average rates of change in longitudinal studies,” Statistics in Medicine, vol. 9, no. 4, pp. 437– 446, 1990.

[11]  A. Roy, D. K. Bhaumik, S. Aryal, and R. D. Gibbons, “Sample size determination for hierarchical longitudinal designs with differential attrition rates,” Biometrics, vol. 63, no. 3, pp. 699–707, 2007.

[12]  Y. Guo, H. L. Logan, and D. H. Glueck, “Selecting a sample size for studies with repeated measures,” BMC Medical Research Methodology, vol. 13, p. 100, 2013.

[13]  H. Pan, S. Liu, D. Miao, and et al., “Sample size determination for mediation analysis of longitudinal data,” BMC Medical Research Methodology, vol. 18, no. 32, pp. 1–12, 2018.

[14]  J. C. Pinheiro and D. M. Bates, Mixed-Effects Models in S and S-PLUS. Springer, 2000.

[15]  G. M. Fitzmaurice, N. M. Laird, and J. H. Ware, Applied Longitudinal Analysis, 2nd ed. Wiley, 2011.

[16] C. H. Mallinckrodt, W. S. Clark, and S. R. David, “Accounting for dropout bias using mixed-effects models,” Journal of Biopharmaceutical Statistics, vol. 11, no. 1-2, pp. 9–21, 2001.

[17] W. Pan, “Sample size and power calculations with correlated binary data,” Statistics in Medicine, vol. 20, no. 9-10, pp. 1335–1349, 2001.

[18] A. Liu, W.J. Shih, and E.Gehan, “Sample size and power determination for clustered repeated measurements,” Statistics in Medicine, vol. 21, no. 12, pp. 1787–1801, 2002.

[19] D. Bates, M. Ma ̈chler, B. Bolker, and S. Walker, “Fitting linear mixed- effects models using lme4,” Journal of Statistical Software, vol. 67, no. 1, pp. 1–48, 2015.

[20] J. Pinheiro, D. Bates, S. DebRoy, and D. Sarkar, nlme: Linear and Nonlinear Mixed Effects Models, 2007, r package version. [Online]. Available: https://cran.r-project.org/package=nlme

[21] P. Green and B. MacLeod, “Simr: an r package for power analysis of generalized linear mixed models by simulation,” Methods in Ecology and Evolution, vol. 7, no. 4, pp. 493–498, 2016.

[22] S. Iddi and M. C. Donohue, “Power and sample size for longitudinal models in r: The longpower package and shiny app,” The R Journal, vol. 14, no. 1, pp. 1–23, 2022.

[23] ADNI Investigators, “Alzheimer’s disease neuroimaging initiative (adni),” http://adni.loni.usc.edu/, 2004–ongoing, data repository hosted at LONI, USC.

[24] S.-C. Chow, J. Shao, and H. Wang, Sample Size Calculations in Clinical Research. Chapman & Hall/CRC, 2007.

[25] S. A. Julious, “Sample sizes for clinical trials with normal data,” Statistics in Medicine, vol. 23, no. 12, pp. 1921–1986, 2004.

[26] S. T. Brookes, E. Whitley, T. J. Peters, P. A. Mulheran, M. Egger, and G. Davey Smith, “Estimating sample sizes for cluster randomized trials: an empirical comparison,” Contemporary Clinical Trials, vol. 25, no. 2, pp. 134–150, 2004.

[27] R. Wang and J. Cheng, “Adaptive designs and sample size re-estimation for longitudinal clinical trials,” Statistics in Medicine, vol. 31, no. 30, pp. 3937–3954, 2012.

 

IZVOR: Proceedings of the 16th International Conference on Business Information Security BISEC’2025