Basagaña Flores, XavierSpiegelman, Donna2019-02-152019-02-152011Basagaña X, Xiaomei Liao, Spiegelman D. Power and sample size calculations for longitudinal studies estimating a main effect of a time-varying exposure. Stat Methods Med Res. 2011 Oct;20(5):471-87. DOI: 10.1177/09622802103715630962-2802http://hdl.handle.net/10230/36594Existing study design formulas for longitudinal studies have assumed that the exposure is time-invariant. We derived sample size formulas for studies comparing rates of change by exposure when the exposure varies with time within a subject, focusing on observational studies where this variation is not controlled by the investigator. Two scenarios are considered, one assuming that the effect of exposure on the response is acute and the other assuming that it is cumulative. We show that accurate calculations can often be obtained by providing the intraclass correlation of exposure and the exposure prevalence at each time point. When comparing rates of change, studies with a time-varying exposure are, in general, less efficient than studies with a time-invariant one. We provide a public access program to perform the calculations described in the paper (http://www.hsph.harvard.edu/faculty/spiegelman/optitxs.html).application/pdfengBasagaña X, Xiaomei Liao, Spiegelman D, Power and sample size calculations for longitudinal studies estimating a main effect of a time-varying exposure, Stat Methods Med Res (Volume Number 20, Issue Number 5) p. 471-87. © 2011. DOI: 10.1177/0962280210371563Mètode longitudinalModels matemàticsPower and sample size calculations for longitudinal studies estimating a main effect of a time-varying exposureinfo:eu-repo/semantics/articlehttp://dx.doi.org/10.1002/sim.3772info:eu-repo/semantics/openAccess