Skip to Main Content

OPTITXS.r

Program, documents and manuscripts for sample size and power calculation for longitudinal studies written by Xavier Basagaña and Donna Spiegelman

Calculating the minimum number of participants (N) for a fixed number of measurements (r), given pre-specified power; the minimum number of repeated measurements (r) for fixed N, power, and pre-specified study length or time between visits; power for a given (N,r); and the optimal (N,r) subject to power or cost constraints. Compound symmetry, damped exponential, and random slopes covariances are supported.

Manuscripts: