Abstract:
This study describes key methodological decisions and their justifications for accelerometer data collection, processing, and cleaning/analysis in Pelotas (Rio Grande do Sul State, Brazil) cohorts, exemplifying how research using sensor monitors could be carried out in a middle-income country context. This is a descriptive methodological study using raw accelerometer data from five Brazilian population-based cohorts with 32,963 individuals. Data collection (pre-processing decisions), processing (choosing requirements to run the analysis), and post-processing decisions (data cleaning) are described in detail. Pre-processing includes choosing the device brand/model, placement of the device, algorithms/thresholds, and the number of days participants were required to wear the devices. Processing activities involve applying thresholds/algorithms to the data. Finally, post-processing includes data cleaning. The minimum number of days to be validated to correctly estimate weekly averages was specific to age and measurement. By summarizing and describing the methodological decisions and analysis protocol, we hope to contribute to the design and analysis of accelerometer data in future studies in similar research contexts.
Keywords:
Accelerometry; Cohorts Studies; Methods; Developing Countries
Resumo:
Este estudo descreve as principais decisões metodológicas e suas justificativas para a coleta, processamento e limpeza/análise de dados de acelerometria nas coortes de nascimento de Pelotas, Rio Grande do Sul, Brasil, exemplificando como a pesquisa usando sensores de movimento pode ser realizada em países de renda média. Trata-se de uma pesquisa descritiva utilizando dados brutos do acelerômetro obtidos de cinco coortes brasileiras de base populacional. A amostra foi composta por dados de 32.963 indivíduos. A coleta de dados (decisões de pré-processamento), processamento (critérios para executar a análise) e as decisões de pós-processamento (limpeza de dados) foram detalhadas. O pré-processamento inclui a escolha da marca/modelo do dispositivo, posicionamento do dispositivo, algoritmos/limites e o número de dias que os participantes foram solicitados a usar os dispositivos. Processamento de dados envolve a aplicação de limites dos algoritmos. Finalmente, o pós-processamento inclui a limpeza de dados. O número mínimo de dias a serem validados para estimar corretamente as médias semanais foi específico para cada idade e tipo de medida. Ao resumir e descrever as decisões metodológicas e protocolo de análise, espera-se que o presente estudo contribua para o desenho de futuros trabalhos que busquem analisar dados do acelerômetro em contextos semelhantes.
Palavras-chave:
Acelerometria; Estudos de Coortes; Métodos; Países em Desenvolvimento
Resumen:
Este estudio describe las principales decisiones metodológicas y sus justificaciones para la recopilación, procesamiento y limpieza/análisis de datos de acelerometría en las cohortes de nacimiento de Pelotas, Rio Grande do Sul, Brasil, ejemplificando cómo la investigación que utiliza sensores de movimiento puede llevarse a cabo en países de ingresos medianos. Se trata de una investigación descriptiva que utiliza datos sin procesar del acelerómetro obtenidos de cinco cohortes brasileñas de base poblacional. La muestra consistió en datos de 32.963 individuos. Se detalló la recopilación de datos (decisiones preprocesamiento), el procesamiento (criterios para realizar el análisis) y las decisiones posprocesamiento (limpieza de datos). El preprocesamiento incluye la elección de la marca/modelo del dispositivo, el posicionamiento del dispositivo, los algoritmos/límites y la cantidad de días que se les pidió a los participantes que usaran los dispositivos. El procesamiento de datos implica la aplicación de límites de los algoritmos. Por último, el posprocesamiento incluye la limpieza de datos. El número mínimo de días de validez para estimar correctamente los promedios semanales fue específico para cada edad y tipo de medida. Al resumir y describir las decisiones metodológicas y el protocolo de análisis, se espera que este estudio contribuya a futuros trabajos que busquen analizar los datos del acelerómetro en contextos similares.
Palabras-clave:
Acelerometría; Estudios de Cohortes; Métodos; Países en Desarrollo
Introduction
Physical inactivity is responsible for > 5 million deaths per year worldwide 11. Ekelund U, Dalene KE, Tarp J, Lee IM. Physical activity and mortality: what is the dose response and how big is the effect? Br J Sports Med 2020; 54:1125-6.. Sedentary behavior is associated with cardiovascular diseases, type 2 diabetes, and cancer mortality 22. Dempsey PC, Biddle SJH, Buman MP, Chastin S, Ekelund U, Friedenreich CM, et al. New global guidelines on sedentary behaviour and health for adults: broadening the behavioural targets. Int J Behav Nutr Phys Act 2020; 17:151.. Further, adequate sleep quality and duration are related to positive mental health and decreased risk of chronic diseases 33. Buysse DJ. Sleep health: can we define it? Does it matter? Sleep 2014; 37:9-17.. Accurately measuring movement behaviors is important in public health to develop evidence-based guidelines. Globally, 86% of premature deaths due to noncommunicable diseases take place in low- and middle-income countries, highlighting the need to promote accurate measurement of movement behaviors in these settings 44. World Health Organization. Non communicable diseases. https://www.who.int/news-room/fact-sheets/detail/noncommunicable-diseases (accessed on 16/Nov/2022).
https://www.who.int/news-room/fact-sheet... . However, most accelerometry data from large-scale population studies come from high-income countries (e.g., UK Biobank, National Health and Nutrition Examination Survey, Rotterdam Study, International Children’s Accelerometry Database) 55. Doherty A, Jackson D, Hammerla N, Plötz T, Olivier P, Granat MH, et al. Large scale population assessment of physical activity using wrist worn accelerometers: the UK Biobank Study. PLoS One 2017; 12:e0169649.,66. Troiano RP, Berrigan D, Dodd KW, Mâsse LC, Tilert T, McDowell M. Physical activity in the United States measured by accelerometer. Med Sci Sports Exerc 2008; 40:181-8.,77. Koolhaas CM, van Rooij FJA, Schoufour JD, Cepeda M, Tiemeier H, Brage S, et al. Objective measures of activity in the elderly: distribution and associations with demographic and health factors. J Am Med Dir Assoc 2017; 18:838-47.,88. Sherar LB, Griew P, Esliger DW, Cooper AR, Ekelund U, Judge K, et al. International children’s accelerometry database (ICAD): design and methods. BMC Public Health 2011; 11:485.. In this context, Pelotas (Rio Grande do Sul State), a middle-sized city in southern Brazil, is a rare example of accelerometer data collection in population-based studies in the Global South. The city hosts five population-based cohort studies (four birth cohorts and one older adult cohort).
There are two ways to analyze accelerometer data: traditional counts - post-filtered accelerometer values, with filters usually patented by companies - and raw data, which is the primary signal recorded by devices and expressed in gravitational acceleration. The Pelotas cohorts 99. Horta BL, Gigante DP, Gonçalves H, Santos Motta J, Loret de Mola C, Oliveira IO, et al. Cohort Profile Update: The 1982 Pelotas (Brazil) Birth Cohort Study. Int J Epidemiol 2015; 44:441-e.,1010. Victora CG, Hallal PC, Araújo CL, Menezes AM, Wells JC, Barros FC. Cohort profile: the 1993 Pelotas (Brazil) birth cohort study. Int J Epidemiol 2008; 37:704-9.,1111. Hallal PC, Bertoldi AD, Domingues MR, da Silveira MF, Demarco FF, da Silva ICM, et al. Cohort profile: the 2015 Pelotas (Brazil) Birth Cohort Study. Int J Epidemiol 2018; 47:1048-h.,1212. Barros AJD, da Silva dos Santos I, Victora CG, Albernaz EP, Domingues MR, Timm IK, et al. The 2004 Pelotas birth cohort: methods and description. Rev Saúde Pública 2006; 40:402-13.,1313. Universidade Federal de Pelotas. Como Vai? Estudo Longitudinal de Saúde do Idoso. https://wp.ufpel.edu.br/comovai/ (accessed on 27/Jul/2023).
https://wp.ufpel.edu.br/comovai/... pioneered using raw accelerometry data analyses, a methodological decision that potentially improves accuracy, transparency, and data harmonization 1414. Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96.,1515. Migueles JH, Cadenas-Sanchez C, Ekelund U, Delisle Nyström C, Mora-Gonzalez J, Löf M, et al. Accelerometer data collection and processing criteria to assess physical activity and other outcomes: a systematic review and practical considerations. Sports Med Auckl NZ 2017; 47:1821-45.. To date, researchers and collaborators of the Pelotas cohorts have published 33 studies using accelerometer data, from which nine used count-based analysis 1616. Reichert FF, Menezes AMB, Kingdom Wells JC, Ekelund E, Rodrigues FM, Hallal PC. A methodological model for collecting high-quality data on physical activity in developing settings-the experience of the 1993 Pelotas (Brazil) Birth Cohort study. J Phys Act Health 2009; 6:360-6.,1717. Gigante DP, Reichert FF, Hallal PC, Souza RV de, Neutzling MB, Vieira MFA, et al. Dietary assessment in the 1993 Pelotas (Brazil) birth cohort study: comparing energy intake with energy expenditure. Cad Saúde Pública 2010; 26:2080-9.,1818. Hallal PC, Dumith SC, Reichert FF, Menezes AMB, Araújo CL, Wells JCK, et al. Cross-sectional and longitudinal associations between physical activity and blood pressure in adolescence: birth cohort study. J Phys Act Health 2011; 8:468-74.,1919. Wells JCK, Hallal PC, Reichert FF, Dumith SC, Menezes AM, Victora CG. Associations of birth order with early growth and adolescent height, body composition, and blood pressure: prospective birth cohort from Brazil. Am J Epidemiol 2011; 174:1028-35.,2020. Hallal PC, Dumith SC, Ekelund U, Reichert FF, Menezes AMB, Victora CG, et al. Infancy and childhood growth and physical activity in adolescence: prospective birth cohort study from Brazil. Int J Behav Nutr Phys Act 2012; 9:82.,2121. Hallal PC, Reichert FF, Ekelund U, Dumith SC, Menezes AM, Victora CG, et al. Bidirectional cross-sectional and prospective associations between physical activity and body composition in adolescence: birth cohort study. J Sports Sci 2012; 30:183-90.,2222. Reichert FF, Hallal PC, Wells JCK, Horta BL, Ekelund U, Menezes AMB. Objectively measured physical activity in the 1993 Pelotas (Brazil) birth cohort. Med Sci Sports Exerc 2012; 44:2369-75.,2323. Reicherte FF, Menezes A, Hallal P, Ekelund U, Wells J. Objectively measured physical activity and body composition indices in Brazilian adolescents. Rev Bras Ativ Fís Saúde 2012; 17:573-84.,2424. Hallal PC, Reichert FF, Clark VL, Cordeira KL, Menezes AMB, Eaton S, et al. Energy expenditure compared to physical activity measured by accelerometry and self-report in adolescents: a validation study. PLoS One 2013; 8:e77036. and 24 used raw data analysis. Among the latter 2525. Bergmann GG, Bertoldi AD, Mielke GI, Camargo AL, Matijasevich A, Hallal PC. Physical activity, screen time, and use of medicines among adolescents: the 1993 Pelotas (Brazil) birth cohort study. Cad Saúde Pública 2016; 32:e00011715.,2626. Bielemann RM, Dos S Vaz J, Domingues MR, Matijasevich A, Santos IS, Ekelund U, et al. Are consumption of dairy products and physical activity independently related to bone mineral density of 6-year-old children? Longitudinal and cross-sectional analyses in a birth cohort from Brazil. Public Health Nutr 2018; 21:2654-64.,2727. Bielemann RM, LaCroix AZ, Bertoldi AD, Tomasi E, Demarco FF, Gonzalez MC, et al. Objectively measured physical activity reduces the risk of mortality among brazilian older adults. J Am Geriatr Soc 2020; 68:137-46.,2828. Bielemann RM, Oliveira R, Bertoldi AD, Tomasi E, Demarco FF, Gonzalez MC, et al. Objective and self-reported physical activity and risk of falling among community-dwelling older adults from Southern Brazil. J Aging Phys Act 2022; 30:972-9.,2929. Bielemann RM, Ramires VV, Wehrmeister FC, Gonçalves H, Assunção MCF, Ekelund U, et al. Is vigorous-intensity physical activity required for improving bone mass in adolescence? Findings from a Brazilian birth cohort. Osteoporos Int J Establ Result Coop Eur Found Osteoporos Natl Osteoporos Found USA 2019; 30:1307-15.,3030. Silva SG, Evenson KR, Silva ICM, Mendes MA, Domingues MR, Silveira MF, et al. Correlates of accelerometer-assessed physical activity in pregnancy: the 2015 Pelotas (Brazil) Birth Cohort Study. Scand J Med Sci Sports 2018; 28:1934-45.,3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.,3232. Silva SG, Evenson KR, Ekelund U, Silva ICM, Domingues MR, Silva BGC, et al. How many days are needed to estimate wrist-worn accelerometry-assessed physical activity during the second trimester in pregnancy? PLoS One 2019; 14:e0211442.,3333. Müller WA, Mielke GI, Silva ICM, Silveira MF, Domingues MR. Physical activity during pregnancy and preterm birth: findings from the 2015 Pelotas (Brazil) Birth Cohort Study. J Phys Act Health 2020; 17:1065-74.,3434. Esteban-Cornejo I, Hallal PC, Mielke GI, Menezes AMB, Gonçalves H, Wehrmeister F, et al. Physical activity throughout adolescence and cognitive performance at 18 years of age. Med Sci Sports Exerc 2015; 47:2552-7.,3535. Horta BL, Schaan BD, Bielemann RM, Vianna CA, Gigante DP, Barros FC, et al. Objectively measured physical activity and sedentary-time are associated with arterial stiffness in Brazilian young adults. Atherosclerosis 2015; 243:148-54.,3636. Knuth AG, Assunção MCF, Gonçalves H, Menezes AMB, Santos IS, Barros AJD, et al. Methodological description of accelerometry for measuring physical activity in the 1993 and 2004 Pelotas (Brazil) birth cohorts. Cad Saúde Pública 2013; 29:557-65.,3737. Knuth AG, Silva ICM, van Hees VT, Cordeira K, Matijasevich A, Barros AJD, et al. Objectively-measured physical activity in children is influenced by social indicators rather than biological lifecourse factors: Evidence from a Brazilian cohort. Prev Med 2017; 97:40-4.,3838. Leão OAA, Mielke GI, Hallal PC, Cairney J, Mota J, Domingues MR, et al. Longitudinal associations between device-measured physical activity and early childhood neurodevelopment. J Phys Act Health 2022; 19:80-8.,3939. Martins RC, Silva BGC, Blumenberg C, Ricardo LI, Silva SG, Ribeiro JP, et al. Multiple imputation to deal with missing objectively-measured physical activity data: findings from two cohorts. Rev Bras Ativ Fís Saúde 2021; 26:e0209.,4040. Mielke GI, Brown WJ, Ekelund U, Brage S, Gonçalves H, Wehrmeister FC, et al. Socioeconomic position and sedentary behavior in Brazilian adolescents: a life-course approach. Prev Med 2018; 107:29-35.,4141. Mielke GI, Menezes AMB, Da Silva BGC, Ekelund U, Crochemore-Silva I, Wehrmeister FC, et al. Associations between device-measured physical activity and cardiometabolic health in the transition to early adulthood. Med Sci Sports Exerc 2021; 53:2076-85.,4242. Ramires VV, Wehrmeister FC, Böhm AW, Galliano L, Ekelund U, Brage S, et al. Physical activity levels objectively measured among older adults: a population-based study in a Southern city of Brazil. Int J Behav Nutr Phys Act 2017; 14:13.,4343. Ricardo LIC, Silva ICM, Andrade Leão OA, Domingues MR, Wehrmeister FC. Objectively measured physical activity in one-year-old children from a Brazilian cohort: levels, patterns and determinants. Int J Behav Nutr Phys Act 2019; 16:131.,4444. Ricardo LIC, Wendt A, Galliano LM, de Andrade Muller W, Niño Cruz GI, Wehrmeister F, et al. Number of days required to estimate physical activity constructs objectively measured in different age groups: findings from three Brazilian (Pelotas) population-based birth cohorts. PloS One 2020; 15:e0216017.,4545. Silva BGC, Silva ICM, Ekelund U, Brage S, Ong KK, De Lucia Rolfe E, et al. Associations of physical activity and sedentary time with body composition in Brazilian young adults. Sci Rep 2019; 9:5444.,4646. Wendt A, Silva ICM, Gonçalves H, Assunção MCF, Menezes AMB, Wehrmeister FC. Sleep parameters measured by accelerometry: descriptive analyses from the 22-year follow-up of the Pelotas 1993 birth cohort. Sleep Med 2020; 67:83-90.,4747. Wendt A, Silva ICM, Gonçalves H, Menezes A, Barros F, Wehrmeister FC. Short-term effect of physical activity on sleep health: a population-based study using accelerometry. J Sport Health Sci 2022; 11:630-8.,4848. Wendt A, Wehrmeister FC, Ricardo LIC, Silva BGC, Martins RC, Gonçalves H, et al. Objectively measured physical activity according to the periods of the day in the Pelotas cohort. Rev Bras Ativ Fís Saúde 2020; 25:e0149., most (54.2%) investigated the association of accelerometer-derived variables (e.g., overall physical activity, moderate to vigorous intensity physical activity [MVPA], etc.) with health outcomes, such as cognitive performance 3434. Esteban-Cornejo I, Hallal PC, Mielke GI, Menezes AMB, Gonçalves H, Wehrmeister F, et al. Physical activity throughout adolescence and cognitive performance at 18 years of age. Med Sci Sports Exerc 2015; 47:2552-7., falls 2828. Bielemann RM, Oliveira R, Bertoldi AD, Tomasi E, Demarco FF, Gonzalez MC, et al. Objective and self-reported physical activity and risk of falling among community-dwelling older adults from Southern Brazil. J Aging Phys Act 2022; 30:972-9., pulse wave velocity 3535. Horta BL, Schaan BD, Bielemann RM, Vianna CA, Gigante DP, Barros FC, et al. Objectively measured physical activity and sedentary-time are associated with arterial stiffness in Brazilian young adults. Atherosclerosis 2015; 243:148-54., use of medicines 2525. Bergmann GG, Bertoldi AD, Mielke GI, Camargo AL, Matijasevich A, Hallal PC. Physical activity, screen time, and use of medicines among adolescents: the 1993 Pelotas (Brazil) birth cohort study. Cad Saúde Pública 2016; 32:e00011715., sleep 4747. Wendt A, Silva ICM, Gonçalves H, Menezes A, Barros F, Wehrmeister FC. Short-term effect of physical activity on sleep health: a population-based study using accelerometry. J Sport Health Sci 2022; 11:630-8., child neurodevelopment 3838. Leão OAA, Mielke GI, Hallal PC, Cairney J, Mota J, Domingues MR, et al. Longitudinal associations between device-measured physical activity and early childhood neurodevelopment. J Phys Act Health 2022; 19:80-8., bone mineral density 2626. Bielemann RM, Dos S Vaz J, Domingues MR, Matijasevich A, Santos IS, Ekelund U, et al. Are consumption of dairy products and physical activity independently related to bone mineral density of 6-year-old children? Longitudinal and cross-sectional analyses in a birth cohort from Brazil. Public Health Nutr 2018; 21:2654-64.,2929. Bielemann RM, Ramires VV, Wehrmeister FC, Gonçalves H, Assunção MCF, Ekelund U, et al. Is vigorous-intensity physical activity required for improving bone mass in adolescence? Findings from a Brazilian birth cohort. Osteoporos Int J Establ Result Coop Eur Found Osteoporos Natl Osteoporos Found USA 2019; 30:1307-15., body composition 4545. Silva BGC, Silva ICM, Ekelund U, Brage S, Ong KK, De Lucia Rolfe E, et al. Associations of physical activity and sedentary time with body composition in Brazilian young adults. Sci Rep 2019; 9:5444., cardiometabolic outcomes 4141. Mielke GI, Menezes AMB, Da Silva BGC, Ekelund U, Crochemore-Silva I, Wehrmeister FC, et al. Associations between device-measured physical activity and cardiometabolic health in the transition to early adulthood. Med Sci Sports Exerc 2021; 53:2076-85., preterm birth 3333. Müller WA, Mielke GI, Silva ICM, Silveira MF, Domingues MR. Physical activity during pregnancy and preterm birth: findings from the 2015 Pelotas (Brazil) Birth Cohort Study. J Phys Act Health 2020; 17:1065-74., and all-cause mortality 2727. Bielemann RM, LaCroix AZ, Bertoldi AD, Tomasi E, Demarco FF, Gonzalez MC, et al. Objectively measured physical activity reduces the risk of mortality among brazilian older adults. J Am Geriatr Soc 2020; 68:137-46.. In addition, 29.2% were descriptive studies 3030. Silva SG, Evenson KR, Silva ICM, Mendes MA, Domingues MR, Silveira MF, et al. Correlates of accelerometer-assessed physical activity in pregnancy: the 2015 Pelotas (Brazil) Birth Cohort Study. Scand J Med Sci Sports 2018; 28:1934-45.,3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.,3737. Knuth AG, Silva ICM, van Hees VT, Cordeira K, Matijasevich A, Barros AJD, et al. Objectively-measured physical activity in children is influenced by social indicators rather than biological lifecourse factors: Evidence from a Brazilian cohort. Prev Med 2017; 97:40-4.,4242. Ramires VV, Wehrmeister FC, Böhm AW, Galliano L, Ekelund U, Brage S, et al. Physical activity levels objectively measured among older adults: a population-based study in a Southern city of Brazil. Int J Behav Nutr Phys Act 2017; 14:13.,4343. Ricardo LIC, Silva ICM, Andrade Leão OA, Domingues MR, Wehrmeister FC. Objectively measured physical activity in one-year-old children from a Brazilian cohort: levels, patterns and determinants. Int J Behav Nutr Phys Act 2019; 16:131.,4646. Wendt A, Silva ICM, Gonçalves H, Assunção MCF, Menezes AMB, Wehrmeister FC. Sleep parameters measured by accelerometry: descriptive analyses from the 22-year follow-up of the Pelotas 1993 birth cohort. Sleep Med 2020; 67:83-90.,4848. Wendt A, Wehrmeister FC, Ricardo LIC, Silva BGC, Martins RC, Gonçalves H, et al. Objectively measured physical activity according to the periods of the day in the Pelotas cohort. Rev Bras Ativ Fís Saúde 2020; 25:e0149., and 16.7% were methodological 3232. Silva SG, Evenson KR, Ekelund U, Silva ICM, Domingues MR, Silva BGC, et al. How many days are needed to estimate wrist-worn accelerometry-assessed physical activity during the second trimester in pregnancy? PLoS One 2019; 14:e0211442.,3636. Knuth AG, Assunção MCF, Gonçalves H, Menezes AMB, Santos IS, Barros AJD, et al. Methodological description of accelerometry for measuring physical activity in the 1993 and 2004 Pelotas (Brazil) birth cohorts. Cad Saúde Pública 2013; 29:557-65.,3939. Martins RC, Silva BGC, Blumenberg C, Ricardo LI, Silva SG, Ribeiro JP, et al. Multiple imputation to deal with missing objectively-measured physical activity data: findings from two cohorts. Rev Bras Ativ Fís Saúde 2021; 26:e0209.,4444. Ricardo LIC, Wendt A, Galliano LM, de Andrade Muller W, Niño Cruz GI, Wehrmeister F, et al. Number of days required to estimate physical activity constructs objectively measured in different age groups: findings from three Brazilian (Pelotas) population-based birth cohorts. PloS One 2020; 15:e0216017.. Most publications used physical activity variables such as overall physical activity (expressed in mg) (66.7%) and MVPA (66.7%). Light-intensity physical activity was used in 25% of studies, sedentary time in 12.5%, and sleep variables in only 8.3%. Supplementary Material 1 (https://cadernos.ensp.fiocruz.br/static//arquivo/suppl-e00011724_4052.pdf) presents detailed information about Pelotas publications using accelerometry in these cohorts.
All raw data analyses from the Pelotas cohort studies were conducted using the GGIR R package (https://cran.r-project.org/web/packages/GGIR/vignettes/GGIR.html) 1414. Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96., which represented an advance in accelerometry, providing transparency in data cleaning/analysis. However, processing raw accelerometer data is highly complex in terms of software and code management, and computational limitations remain a challenge in contexts with limited research funding.
Over the course of more than a decade of data cleaning/analysis and collection, numerous updates have been made in accelerometer data processing 1414. Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96.. For example, in earlier datasets, the absence of sleep duration could affect the accuracy of calculating the total time spent on each intensity of physical activity. Additionally, decisions about the valid time of use considered in each cohort did not follow the same procedures, making it difficult to compare data across multiple waves.
Data collection protocols (pre-processing decisions), statistical analysis, and software features have generally been used by previous studies 1414. Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96.,1515. Migueles JH, Cadenas-Sanchez C, Ekelund U, Delisle Nyström C, Mora-Gonzalez J, Löf M, et al. Accelerometer data collection and processing criteria to assess physical activity and other outcomes: a systematic review and practical considerations. Sports Med Auckl NZ 2017; 47:1821-45.,4949. Migueles JH, Aadland E, Andersen LB, Brønd JC, Chastin SF, Hansen BH, et al. GRANADA consensus on analytical approaches to assess associations with accelerometer-determined physical behaviours (physical activity, sedentary behaviour and sleep) in epidemiological studies. Br J Sports Med 2022; 56:376-84.. However, the literature lacks information about data cleaning and harmonization issues that are also relevant and demand standardized procedures. In 2020/2021, all of Pelotas cohort’s accelerometer data files were reanalyzed, and methodological decisions and analyses protocols were summarized to improve transparency, comparability and aid future studies in similar research contexts. This study describes key methodological decisions and their justifications for accelerometer data collection, processing, and analysis in Pelotas cohorts.
Methods
Design and participants
Figure 1 presents the Pelotas cohorts with accelerometer data.
The first Pelotas birth cohort began in 1982 as a perinatal survey of all live births in the city’s maternity hospitals whose mothers lived in the urban area. With additional funding, the researchers decided to follow up the children at several points across their lifespan 99. Horta BL, Gigante DP, Gonçalves H, Santos Motta J, Loret de Mola C, Oliveira IO, et al. Cohort Profile Update: The 1982 Pelotas (Brazil) Birth Cohort Study. Int J Epidemiol 2015; 44:441-e.. The first accelerometer measurement from the 1982 cohort was conducted in 2012 (when participants were about 30 years old) using the GENEActive (https://activinsights.com/digital-health-technologies/professional-wearables/geneactiv/) device on the non-dominant wrist. Participants who visited the research clinic on Mondays, Tuesdays, or Wednesdays had the device collected the following Monday. Those who visited the clinic on Thursdays, Fridays, or Saturdays had the accelerometer collected the following Wednesday 3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.. This approach ensured all participants had four to seven free-living days, including at least one weekend day 3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.. More details about this protocol can be found elsewhere 3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.. The 1982 cohort is currently processing data from a new follow-up visit at the age of 40 using the Actigraph device.
The second cohort study included live births in 1993 and followed the same methodology of the 1982 study. This new cohort was designed to enable comparisons of health outcomes across generations (between cohorts). Detailed information about the 1993 birth cohort is available elsewhere 1010. Victora CG, Hallal PC, Araújo CL, Menezes AM, Wells JC, Barros FC. Cohort profile: the 1993 Pelotas (Brazil) birth cohort study. Int J Epidemiol 2008; 37:704-9.. Regarding accelerometry, in the chronological timeline of Pelotas cohorts, 1993 was the first Pelotas to collect physical activity data as an objective measure in a 13-year-old sub-sample. However, this first data collection presented three differences compared to the next follow-ups: the use of a uniaxial accelerometer (GTM1, Actigraph, https://theactigraph.com/), the placement of the device on the hip, and the reduced sample size. We opted not to address this follow-up in detail in our study due to these substantial methodological differences. The first accelerometer measurement, including all cohort participants, was carried out in 2011 (when participants were 18 years old), following the same protocol used in the 1982 birth cohort 3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.. In 2015, the GT3X+ (Actigraph, https://theactigraph.com/) device was used, and the protocol was changed from four-to-seven days to seven days for all participants at the 22-year follow-up 1010. Victora CG, Hallal PC, Araújo CL, Menezes AM, Wells JC, Barros FC. Cohort profile: the 1993 Pelotas (Brazil) birth cohort study. Int J Epidemiol 2008; 37:704-9.. This new protocol was possible due to the purchase of new accelerometers, increasing the number of devices available. The 1993 birth cohort is currently conducting a new follow-up at 30 years.
The third Pelotas (Brazil) birth cohort started in 2004 (the 2004 birth cohort) 1212. Barros AJD, da Silva dos Santos I, Victora CG, Albernaz EP, Domingues MR, Timm IK, et al. The 2004 Pelotas birth cohort: methods and description. Rev Saúde Pública 2006; 40:402-13.. It was the first Pelotas cohort to objectively measure physical activity in children. The first accelerometer measurement in this cohort was conducted in 2010 (at six years of age) following the first-adopted protocol (GENEActive for four-to-seven days) 3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.. In 2015 (when participants were 11 years old), the new protocol (Actigraph GT3x+ for seven days) was used. An additional follow-up occurred at 15 years of age in 2019, but was interrupted by the COVID-19 pandemic, with data being collected for approximately 50% of the cohort. Data from the 18-year follow-up is currently being processed.
The most recent Pelotas birth cohort began in 2015 and has two main additional characteristics. The first was the inclusion of baseline measurements during the pregnancy period, and the second was a specific focus on physical activity 1111. Hallal PC, Bertoldi AD, Domingues MR, da Silveira MF, Demarco FF, da Silva ICM, et al. Cohort profile: the 2015 Pelotas (Brazil) Birth Cohort Study. Int J Epidemiol 2018; 47:1048-h.. In this cohort, mothers from all liveborn infants were invited to wear an accelerometer during pregnancy (between 16 and 24 months) and when their children (i.e., the cohort participants) were two years old. Accelerometry data was also collected from fathers when cohort participants were one year old. Data on mothers and fathers were collected for seven days on the non-dominant wrist using Actigraph. At ages one and two, the children wore the monitors for four days. This decision was based on a previous study assessing required time of use, placement (wrist or ankle), and bracelet material for very young children 5050. Ricardo LIC, Da Silva ICM, Martins RC, Wendt A, Gonçalves H, Hallal PRC, et al. Protocol for objective measurement of Infants’ physical activity using accelerometry. Med Sci Sports Exerc 2018; 50:1084-92..
In addition to these, the fifth cohort in Pelotas focuses on older adults. The “Como vai?” Estudo Longitudinal de Saúde do Idoso (“How’s it going?” Longitudinal Study of Elderly Health) study 1313. Universidade Federal de Pelotas. Como Vai? Estudo Longitudinal de Saúde do Idoso. https://wp.ufpel.edu.br/comovai/ (accessed on 27/Jul/2023).
https://wp.ufpel.edu.br/comovai/... began in 2014 as a population-based survey designed to be representative of the community-dwelling population of 60+ years of age residing in the urban area of the city. After three years, the study became a cohort with follow-ups in 2017, 2019, and 2022. Accelerometer data are available only at baseline and was obtained using the GENEActive device on the non-dominant wrist for seven days.
Data summarization
We chose to present the processing in the results section using raw data provided by a triaxial accelerometer, since count-based and uniaxial accelerometers were analyzed in a different process (using the companies’ software). Most analyses carried out in the Pelotas cohorts use raw data and triaxial devices (GENEActive and GT3X+). Raw data refers to all raw acceleration signals measured in mg/unit of time. The research team is responsible for data cleaning and interpreting metrics.
Ethics
All follow-ups were approved by the Ethics Research Committee of the School of Medicine or School of Physical Education Ethics Committee, Federal University of Pelotas. All participants were asked to fill an informed consent form. The protocol numbers of each approval were: n. 16/12 (1982 birth cohort at 30 years), n. 05/2011 and 1.250.366 (1993 birth cohort at 18 and 22 years); n. 35/10, 889.753/CAAE: 38013414.9.0000.5317 and 3.554.667/CAAE: 20183419.1.0000.5317 (2004 birth cohort at seven, 11 and 15 years), 26746414.5.0000.5313 (2015 birth cohort - pregnancy to four years of age) and 201324538513.1.0000.5317 (“Como vai?” study).
Results
Pre-processing methodological decisions - data collection
The pre-processing phase of accelerometer data collection demands several methodological decisions, including device brand, placement, time of use, seasonality of data collection, and other aspects. Although this article does not focus on data collection, some aspects should be highlighted.
Unlike in high-income countries, we cannot rely on mail services in Brazil to send/return accelerometers due to costs, logistics, limited quality of service and safety. Therefore, the participants of the Pelotas cohorts have the accelerometer placed upon their visit to the research clinic, where they answer questionnaires and are examined (e.g., DXA, Bod Pod, blood sample, etc.). A research assistant collects the accelerometer after the data collection period for a given participant has elapsed. This procedure generates additional costs compared to mail services, but improves compliance. When the device is returned to the research clinic, a cohort staff downloads the data and performs a visual inspection as a first quality control procedure. If the accelerometer is used for less than half of the expected time, a new contact is made to try a new data collection.
The use of wrist-worn accelerometers is not usual, with hip-based measures being more common in the literature. Nevertheless, the wrist placement was chosen mainly due to higher compliance than hip placement 5151. Scott JJ, Rowlands AV, Cliff DP, Morgan PJ, Plotnikoff RC, Lubans DR. Comparability and feasibility of wrist- and hip-worn accelerometers in free-living adolescents. J Sci Med Sport 2017; 20:1101-6.,5252. McLellan G, Arthur R, Buchan DS. Wear compliance, sedentary behaviour and activity in free-living children from hip-and wrist-mounted ActiGraph GT3X+ accelerometers. J Sports Sci 2018; 36:2424-30.. Additionally, an increasing number of cut-off points and algorithms are being developed for wrist-based accelerometry to define time spent in different intensities in each age. Lastly, sleep measures are better detected when the device is wrist-worn 5353. Ray MA, Youngstedt SD, Zhang H, Robb SW, Harmon BE, Jean-Louis G, et al. Examination of wrist and hip actigraphy using a novel sleep estimation procedure. Sleep Sci São Paulo Braz 2014; 7:74-81..
Processing methodological decisions
To implement all filtering and processing required to analyze raw data, we used the GGIR R package, a free tool available for the R program (http://www.r-project.org) 1414. Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96., which works in five steps. The first generates metadata for the following stages: calculating metrics, performing an auto-calibration process, and detecting non-wear time. The second step incorporates non-wear time and summarizes metrics based on acceleration, providing quality data plot for each individual, as well as daily and weekly reports of physical activity measures. The third step detects periods of sustained inactivity. The fourth step detects sleep periods and generates a daily and weekly report for sleep measures. The last step merges physical activity (step two) and sleep (step four) reports 1414. Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96.. In the GGIR package, there are two options to define a one-day period: (a) midnight to midnight, and (b) waking up to waking up. Our standard analysis protocol used option (b), but option (a) could be used for specific analysis (mainly in compositional analyses using an exact cycle of 24 hours). GGIR enables customizing the criterion to consider a day valid (minimum time per day to consider a day period in the analysis), but we used the default criterion (16 hours). Supplementary Material 2 (https://cadernos.ensp.fiocruz.br/static//arquivo/suppl-e00011724_4052.pdf) brings the thresholds for MVPA and sedentary behavior proposed by Hildebrand et al. 5454. Hildebrand M, Hansen BH, van Hees VT, Ekelund U. Evaluation of raw acceleration sedentary thresholds in children and adults. Scand J Med Sci Sports 2017; 27:1814-23.,5555. Hildebrand M, VAN Hees VT, Hansen BH, Ekelund U. Age group comparability of raw accelerometer output from wrist- and hip-worn monitors. Med Sci Sports Exerc 2014; 46:1816-24., sleep algorithms proposed by van Hees et al. 5656. van Hees VT, Sabia S, Anderson KN, Denton SJ, Oliver J, Catt M, et al. A novel, open access method to assess sleep duration using a wrist-worn accelerometer. PLoS One 2015; 10:e0142533.,5757. van Hees VT, Sabia S, Jones SE, Wood AR, Anderson KN, Kivimäki M, et al. Estimating sleep parameters using an accelerometer without sleep diary. Sci Rep 2018; 8:12975., and the code we used in our analyses. The thresholds to define MVPA varied according to the participants’ age in each follow-up. Also, these thresholds influence final measures but not the processing protocol, which should be equal between samples in order to compare them. Most of our analytical decisions reflect our interest in both physical activity and sleep. Therefore, the final datasets were generated by applying cleaning parameters considering both outcomes. Steps two, four and five, respectively, generate .csv files with variables for physical activity, sleep, and physical activity combined with sleep.
Post-processing methodological decisions - data cleaning
Figure 2 summarizes the steps of data processing/analysis from cohorts after obtaining .csv files for each individual in the sample. Considering the follow-ups of the 2015 birth cohort at one, two, and four years of age, no sleep information was generated from the accelerometer data, as there is currently no validated algorithm to analyze sleep at these ages when using raw data.
We started cleaning the data after importing results generated by GGIR (stored in .csv files) to statistical software (Stata, SPSS, R, etc.). Step one uses the day summary output - that is, the datasets with each line representing estimates for each day/night (GGIR generates this file under the name “daysummary.csv”). This step excludes day or night periods that could present any sleep detection problem affecting the complete day estimates from step five (using the variable “cleancode” in GGIR). Following these exclusions, with the day/night unit of analysis, step two explores the possibilities for a number of days considered valid to estimate a weekly average, using the Spearman-Brown Prophecy formula (described below).
In step three, we calculate the weekly averages of variables, and in step four, we exclude data that fail to achieve certain quality parameters. These exclusions include data with a calibration error higher than 0.02, data without a complete 24-hour cycle, and potentially corrupted data (fraction of 15-minute windows for which acceleration in one of the three axes was close to the maximum for at least 80% of the time, clipping score = 1).
The fifth step is to visually inspect the data using plots generated for each participant and stored as a .pdf file. These plots contain the acceleration of each device to identify possible unexpected patterns that may not have been identified in previous steps. This step is mostly manual and subjective, and should be carried out jointly with the previous steps to exclude all problematic data. We are interested in identifying plots with very high acceleration values, very low variation or acceleration, or very far from zero during the data collection period for each individual (Supplementary Material 3 − https://cadernos.ensp.fiocruz.br/static//arquivo/suppl-e00011724_4052.pdf − includes examples of usual and abnormal data in plots).
Finally, step six refers to the results from the Spearman-Brown Prophecy formula (Table 1 and text below). Supplementary Material 4 (https://cadernos.ensp.fiocruz.br/static//arquivo/suppl-e00011724_4052.pdf) shows the definitions of variables presented in Table 1. After considering data quality and number of exclusions, the number of valid days is chosen and applied for the entire follow-up. Consequently, individuals with fewer days than the minimum number required are excluded. These requirements could vary depending on population, and the Spearman-Brown Prophecy formula varies from 0 to 1, with higher values indicating better intraclass correlation.
Figure 3 shows the number of individuals with accelerometer data analyzed in each follow-up of each cohort, as well as the number of exclusions related to data quality (individual identification problems, processing problems, calibration error, unexpected high acceleration, visual inspection, and sleep detection issues) and number of valid days. In total, 13 follow-ups from five Pelotas cohorts (four birth cohorts and one older adults’ cohort) were analyzed, resulting in 32,963 files. Detailed flowcharts of each follow-up are presented in Supplementary Material 5 (https://cadernos.ensp.fiocruz.br/static//arquivo/suppl-e00011724_4052.pdf).
Table 1 shows the Spearman-Brown Prophecy formula values used to decide the number of valid days in each follow-up for MVPA with no bouts, MVPA with 5-minute bouts, and total sleep time. The analysis was performed from one to six days to identify the minimum number of days considered valid to include individuals in weekly estimates. For the 2015 birth cohort follow-ups at one, two, and four years of age, the analysis was only carried out with overall physical activity (ENMO mean in 24h) due to the current absence of established MVPA cut-offs and sleep algorithm for raw data in these ages. This analysis was not possible for the first two follow-ups of the 2015 Birth cohort, when children wore the devices for only four days (as aforementioned). The decision of four days of data collection was based on a pilot study with children from 9 to 16 months (not participants of the cohort) to define the number of days needed to estimate overall physical activity at these ages (one day without measurement to avoid reactivity, 48h of measurement and one day to return the device to the team) 5050. Ricardo LIC, Da Silva ICM, Martins RC, Wendt A, Gonçalves H, Hallal PRC, et al. Protocol for objective measurement of Infants’ physical activity using accelerometry. Med Sci Sports Exerc 2018; 50:1084-92.. With these results, we can identify that the threshold for a number of valid days could be sample-specific and, ideally, the Spearman-Brown Prophecy formula should be used to determine a minimum of days according to the age of the sample and the main measure of the analysis (focusing on overall physical activity, MVPA or sleep).
For the other follow-ups, there is a clear pattern showing that, for MVPA with no bouts, two or three days were sufficient to reach the 0.7 threshold in the Spearman-Brown Prophecy formula (considered satisfactory to estimate global average) in most follow-ups. However, for variables with higher requirements such as MVPA 5-minute bouts, and especially for total sleep time, the number of days required to reach 0.7 in the Spearman-Brown Prophecy formula is higher.
After the abovementioned processes, final datasets (post exclusions) are shared with each cohort data manager containing a group of basic, interpretable variables (listed in Supplementary Material 4 - https://cadernos.ensp.fiocruz.br/static//arquivo/suppl-e00011724_4052.pdf), which will be available for empirical investigations involving physical activity and/or sleep. Additionally, the original .csv files with all information provided from GGIR (reports for steps two, four and five) are stored to facilitate generating specific variables not included in usual datasets, if necessary.
Lastly, in the Pelotas studies using accelerometry, we compared the original sample to individuals who presented valid accelerometer data according to gender, education, and socioeconomic position. We performed this to identify possible biases in accelerometer data, emphasizing caution when interpreting results. In the Pelotas cohorts, accelerometer samples were very similar to the original samples, ensuring the characteristics of population-based studies 3131. Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.,3939. Martins RC, Silva BGC, Blumenberg C, Ricardo LI, Silva SG, Ribeiro JP, et al. Multiple imputation to deal with missing objectively-measured physical activity data: findings from two cohorts. Rev Bras Ativ Fís Saúde 2021; 26:e0209.,4242. Ramires VV, Wehrmeister FC, Böhm AW, Galliano L, Ekelund U, Brage S, et al. Physical activity levels objectively measured among older adults: a population-based study in a Southern city of Brazil. Int J Behav Nutr Phys Act 2017; 14:13..
Discussion
The Pelotas cohorts contain a robust and unique amount of accelerometer data for a middle-income country, with pre-processing data files for 32,963 individuals. In addition to publications regarding accelerometer data processing 1414. Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96.,1515. Migueles JH, Cadenas-Sanchez C, Ekelund U, Delisle Nyström C, Mora-Gonzalez J, Löf M, et al. Accelerometer data collection and processing criteria to assess physical activity and other outcomes: a systematic review and practical considerations. Sports Med Auckl NZ 2017; 47:1821-45.,4949. Migueles JH, Aadland E, Andersen LB, Brønd JC, Chastin SF, Hansen BH, et al. GRANADA consensus on analytical approaches to assess associations with accelerometer-determined physical behaviours (physical activity, sedentary behaviour and sleep) in epidemiological studies. Br J Sports Med 2022; 56:376-84., the documentation process providing a big picture of methodological decisions can help other studies plan accelerometer data collection and analysis. Here, we present relevant topics to consider when collecting device-measured physical activity data in middle-income countries, such as the different thresholds to be used to define the number of valid data depending on the participants’ age and variables of interest (for example, MVPA versus total sleep time).
In Brazil, studies involving accelerometers face significant challenges, such as the logistic complexity of placing and collecting the monitors. Furthermore, data processing requires training teams and professionals with specific technical knowledge of the model, software, and data cleaning/analysis 3636. Knuth AG, Assunção MCF, Gonçalves H, Menezes AMB, Santos IS, Barros AJD, et al. Methodological description of accelerometry for measuring physical activity in the 1993 and 2004 Pelotas (Brazil) birth cohorts. Cad Saúde Pública 2013; 29:557-65.. Additionally, the high cost, short lifespan, failures, and losses of monitors can compromise the sustainability and continuity of the research, resulting in incomparable data due to different algorithms used by manufacturers and device brands 5858. Troiano RP, Stamatakis E, Bull FC. How can global physical activity surveillance adapt to evolving physical activity guidelines? Needs, challenges and future directions. Br J Sports Med 2020; 54:1468-73.,5959. Pedišić Ž, Bauman A. Accelerometer-based measures in physical activity surveillance: current practices and issues. Br J Sports Med 2015; 49:219-23.. However, initiatives such as the Pelotas cohorts stand out for overcoming these difficulties, performing analysis of raw data using open-source software and offering more transparency and comparability between studies 4949. Migueles JH, Aadland E, Andersen LB, Brønd JC, Chastin SF, Hansen BH, et al. GRANADA consensus on analytical approaches to assess associations with accelerometer-determined physical behaviours (physical activity, sedentary behaviour and sleep) in epidemiological studies. Br J Sports Med 2022; 56:376-84.,6060. Almeida Mendes M, Silva ICM, Ramires VV, Reichert FF, Martins RC, Tomasi E. Calibration of raw accelerometer data to measure physical activity: a systematic review. Gait Posture 2018; 61:98-110..
Accelerometer studies require extensive planning due to the devices’ high cost and the complexity of the logistics involved. Although the need for funding and planning to collect accelerometer data is high, most studies only use data of weekly averages of MVPA or sleep. At the same time, more detailed and creative research questions remain necessary. For example, out of 25 published papers by the Pelotas cohorts with raw accelerometer data, only two explored the averages of physical activity according to time of day 4747. Wendt A, Silva ICM, Gonçalves H, Menezes A, Barros F, Wehrmeister FC. Short-term effect of physical activity on sleep health: a population-based study using accelerometry. J Sport Health Sci 2022; 11:630-8.,4848. Wendt A, Wehrmeister FC, Ricardo LIC, Silva BGC, Martins RC, Gonçalves H, et al. Objectively measured physical activity according to the periods of the day in the Pelotas cohort. Rev Bras Ativ Fís Saúde 2020; 25:e0149.. Given the availability of many measurements in three different axes by second during one week for each participant, it is clear these data could be further explored. Current technology enables exploring acceleration patterns during the day, different bouts of physical activity, intensity gradients, other aspects of sleep besides duration (e.g., efficiency, fragmentation index), rhythmicity (e.g., intradaily variability and interdaily stability), and compositional analysis or averages in weekdays and weekends.
Accelerometry provides no information about domains of physical activity. Thus, it is essential to measure physical activity using questionnaires to complement accelerometer data. Some studies exploring the physical activity paradox indicate that the association with health outcomes could differ depending on the domain of physical activity, with work-related activities being the main representative of possible risk to diseases or absence of association 6161. Vries JD, Bakker AB. The physical activity paradox: a longitudinal study of the implications for burnout. Int Arch Occup Environ Health 2022; 95:965-79.,6262. ‘I’m active enough in my job’. Why is occupational physical activity not enough? Physiotutors 2022; 15 dec. https://www.physiotutors.com/physical-activity-paradox/.
https://www.physiotutors.com/physical-ac... ,6363. Holtermann A, Schnohr P, Nordestgaard BG, Marott JL. The physical activity paradox in cardiovascular disease and all-cause mortality: the contemporary Copenhagen General Population Study with 104 046 adults. Eur Heart J 2021; 42:1499-511.. Generally, accelerometers are more precise than questionnaires, as they are not based on the perceptions, understanding, and values of individuals 5454. Hildebrand M, Hansen BH, van Hees VT, Ekelund U. Evaluation of raw acceleration sedentary thresholds in children and adults. Scand J Med Sci Sports 2017; 27:1814-23.,5656. van Hees VT, Sabia S, Anderson KN, Denton SJ, Oliver J, Catt M, et al. A novel, open access method to assess sleep duration using a wrist-worn accelerometer. PLoS One 2015; 10:e0142533.. In turn, questionnaires remain relevant when analyzing social well-being or psychological effects of physical activity. Regarding physical activity promotion, most interventions focus on leisure-time and/or commuting physical activity - for example, public spaces to work out, green areas availability, sport and school interventions, walkability, etc.
Methodological decisions could interference in the results of accelerometry. Currently, we still have a lack of comparability because each research group follows a different protocol for pre-processing, processing, and post-processing. In our study, we tried to clarify all relevant steps in accelerometry analysis. Further, data cleaning is a detailed process, including visual inspection and data exclusions with calibration errors, non-human movement, etc. Finally, our analysis regarding the minimum number of days to be considered valid showed that this number is sample-specific. For example, while older individuals presented a more regular pattern throughout the days, children and adolescents presented a more irregular pattern, requesting more days to estimate better daily week averages. This number of days will directly influence the final sample size and consequent statistical power of analysis. Thus, we recommend running an analysis such as the Spearman-Brown Prophecy formula for each sample evaluated.
This study presents some limitations. First, the definition of sedentary behavior includes a postural measure, which most accelerometers do not collect. Thus, our sedentary time variable is based only on very low acceleration. Although many other studies use this measure as a proxy of sedentary behavior, it should be confirmed by well-conducted validation studies, which are currently lacking. Also, most studies with accelerometers used the period from midnight to midnight to define a 24-hour cycle. However, the Pelotas cohorts opted to use the wake-to-wake cycle. This decision sometimes generates a problem of days with more or less than 24 hours, but it is likely to better reflect the individuals’ routines.
Our study also has considerable strengths. We present methodological decisions for one of the largest datasets in a middle-income country, including five population-based cohorts with accelerometer data at multiple time points (except for the older people cohort, which collected accelerometer data only at baseline) and in different generations and life stages. Additionally, the round of analysis using the same analysis protocol for all follow-ups improves comparability within and between cohorts and makes data processing transparent, contributing to comparisons with external studies. Finally, because initial data from cohorts were processed over 10 years ago, many follow-ups did not include sleep, light physical activity, sedentary behavior, or rhythm variables that were inserted with the new rounds of analysis.
Conclusions
This study documented the methodological decisions for accelerometer data collection and processing in five Pelotas cohorts. Different thresholds were presented to define the number of valid days depending on age and variables under consideration. We also described the stages of data cleaning and harmonizing, which are usually not well reported in the literature. By summarizing and describing the methodological decisions and analysis protocol, we hope to contribute to the design and analysis of accelerometer data in future studies in a similar research context.
References
- 1Ekelund U, Dalene KE, Tarp J, Lee IM. Physical activity and mortality: what is the dose response and how big is the effect? Br J Sports Med 2020; 54:1125-6.
- 2Dempsey PC, Biddle SJH, Buman MP, Chastin S, Ekelund U, Friedenreich CM, et al. New global guidelines on sedentary behaviour and health for adults: broadening the behavioural targets. Int J Behav Nutr Phys Act 2020; 17:151.
- 3Buysse DJ. Sleep health: can we define it? Does it matter? Sleep 2014; 37:9-17.
- 4World Health Organization. Non communicable diseases. https://www.who.int/news-room/fact-sheets/detail/noncommunicable-diseases (accessed on 16/Nov/2022).
» https://www.who.int/news-room/fact-sheets/detail/noncommunicable-diseases - 5Doherty A, Jackson D, Hammerla N, Plötz T, Olivier P, Granat MH, et al. Large scale population assessment of physical activity using wrist worn accelerometers: the UK Biobank Study. PLoS One 2017; 12:e0169649.
- 6Troiano RP, Berrigan D, Dodd KW, Mâsse LC, Tilert T, McDowell M. Physical activity in the United States measured by accelerometer. Med Sci Sports Exerc 2008; 40:181-8.
- 7Koolhaas CM, van Rooij FJA, Schoufour JD, Cepeda M, Tiemeier H, Brage S, et al. Objective measures of activity in the elderly: distribution and associations with demographic and health factors. J Am Med Dir Assoc 2017; 18:838-47.
- 8Sherar LB, Griew P, Esliger DW, Cooper AR, Ekelund U, Judge K, et al. International children’s accelerometry database (ICAD): design and methods. BMC Public Health 2011; 11:485.
- 9Horta BL, Gigante DP, Gonçalves H, Santos Motta J, Loret de Mola C, Oliveira IO, et al. Cohort Profile Update: The 1982 Pelotas (Brazil) Birth Cohort Study. Int J Epidemiol 2015; 44:441-e.
- 10Victora CG, Hallal PC, Araújo CL, Menezes AM, Wells JC, Barros FC. Cohort profile: the 1993 Pelotas (Brazil) birth cohort study. Int J Epidemiol 2008; 37:704-9.
- 11Hallal PC, Bertoldi AD, Domingues MR, da Silveira MF, Demarco FF, da Silva ICM, et al. Cohort profile: the 2015 Pelotas (Brazil) Birth Cohort Study. Int J Epidemiol 2018; 47:1048-h.
- 12Barros AJD, da Silva dos Santos I, Victora CG, Albernaz EP, Domingues MR, Timm IK, et al. The 2004 Pelotas birth cohort: methods and description. Rev Saúde Pública 2006; 40:402-13.
- 13Universidade Federal de Pelotas. Como Vai? Estudo Longitudinal de Saúde do Idoso. https://wp.ufpel.edu.br/comovai/ (accessed on 27/Jul/2023).
» https://wp.ufpel.edu.br/comovai/ - 14Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: a research community-driven open source r package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. J Meas Phys Behav 2019; 2:188-96.
- 15Migueles JH, Cadenas-Sanchez C, Ekelund U, Delisle Nyström C, Mora-Gonzalez J, Löf M, et al. Accelerometer data collection and processing criteria to assess physical activity and other outcomes: a systematic review and practical considerations. Sports Med Auckl NZ 2017; 47:1821-45.
- 16Reichert FF, Menezes AMB, Kingdom Wells JC, Ekelund E, Rodrigues FM, Hallal PC. A methodological model for collecting high-quality data on physical activity in developing settings-the experience of the 1993 Pelotas (Brazil) Birth Cohort study. J Phys Act Health 2009; 6:360-6.
- 17Gigante DP, Reichert FF, Hallal PC, Souza RV de, Neutzling MB, Vieira MFA, et al. Dietary assessment in the 1993 Pelotas (Brazil) birth cohort study: comparing energy intake with energy expenditure. Cad Saúde Pública 2010; 26:2080-9.
- 18Hallal PC, Dumith SC, Reichert FF, Menezes AMB, Araújo CL, Wells JCK, et al. Cross-sectional and longitudinal associations between physical activity and blood pressure in adolescence: birth cohort study. J Phys Act Health 2011; 8:468-74.
- 19Wells JCK, Hallal PC, Reichert FF, Dumith SC, Menezes AM, Victora CG. Associations of birth order with early growth and adolescent height, body composition, and blood pressure: prospective birth cohort from Brazil. Am J Epidemiol 2011; 174:1028-35.
- 20Hallal PC, Dumith SC, Ekelund U, Reichert FF, Menezes AMB, Victora CG, et al. Infancy and childhood growth and physical activity in adolescence: prospective birth cohort study from Brazil. Int J Behav Nutr Phys Act 2012; 9:82.
- 21Hallal PC, Reichert FF, Ekelund U, Dumith SC, Menezes AM, Victora CG, et al. Bidirectional cross-sectional and prospective associations between physical activity and body composition in adolescence: birth cohort study. J Sports Sci 2012; 30:183-90.
- 22Reichert FF, Hallal PC, Wells JCK, Horta BL, Ekelund U, Menezes AMB. Objectively measured physical activity in the 1993 Pelotas (Brazil) birth cohort. Med Sci Sports Exerc 2012; 44:2369-75.
- 23Reicherte FF, Menezes A, Hallal P, Ekelund U, Wells J. Objectively measured physical activity and body composition indices in Brazilian adolescents. Rev Bras Ativ Fís Saúde 2012; 17:573-84.
- 24Hallal PC, Reichert FF, Clark VL, Cordeira KL, Menezes AMB, Eaton S, et al. Energy expenditure compared to physical activity measured by accelerometry and self-report in adolescents: a validation study. PLoS One 2013; 8:e77036.
- 25Bergmann GG, Bertoldi AD, Mielke GI, Camargo AL, Matijasevich A, Hallal PC. Physical activity, screen time, and use of medicines among adolescents: the 1993 Pelotas (Brazil) birth cohort study. Cad Saúde Pública 2016; 32:e00011715.
- 26Bielemann RM, Dos S Vaz J, Domingues MR, Matijasevich A, Santos IS, Ekelund U, et al. Are consumption of dairy products and physical activity independently related to bone mineral density of 6-year-old children? Longitudinal and cross-sectional analyses in a birth cohort from Brazil. Public Health Nutr 2018; 21:2654-64.
- 27Bielemann RM, LaCroix AZ, Bertoldi AD, Tomasi E, Demarco FF, Gonzalez MC, et al. Objectively measured physical activity reduces the risk of mortality among brazilian older adults. J Am Geriatr Soc 2020; 68:137-46.
- 28Bielemann RM, Oliveira R, Bertoldi AD, Tomasi E, Demarco FF, Gonzalez MC, et al. Objective and self-reported physical activity and risk of falling among community-dwelling older adults from Southern Brazil. J Aging Phys Act 2022; 30:972-9.
- 29Bielemann RM, Ramires VV, Wehrmeister FC, Gonçalves H, Assunção MCF, Ekelund U, et al. Is vigorous-intensity physical activity required for improving bone mass in adolescence? Findings from a Brazilian birth cohort. Osteoporos Int J Establ Result Coop Eur Found Osteoporos Natl Osteoporos Found USA 2019; 30:1307-15.
- 30Silva SG, Evenson KR, Silva ICM, Mendes MA, Domingues MR, Silveira MF, et al. Correlates of accelerometer-assessed physical activity in pregnancy: the 2015 Pelotas (Brazil) Birth Cohort Study. Scand J Med Sci Sports 2018; 28:1934-45.
- 31Silva IC, van Hees VT, Ramires VV, Knuth AG, Bielemann RM, Ekelund U, et al. Physical activity levels in three Brazilian birth cohorts as assessed with raw triaxial wrist accelerometry. Int J Epidemiol 2014; 43:1959-68.
- 32Silva SG, Evenson KR, Ekelund U, Silva ICM, Domingues MR, Silva BGC, et al. How many days are needed to estimate wrist-worn accelerometry-assessed physical activity during the second trimester in pregnancy? PLoS One 2019; 14:e0211442.
- 33Müller WA, Mielke GI, Silva ICM, Silveira MF, Domingues MR. Physical activity during pregnancy and preterm birth: findings from the 2015 Pelotas (Brazil) Birth Cohort Study. J Phys Act Health 2020; 17:1065-74.
- 34Esteban-Cornejo I, Hallal PC, Mielke GI, Menezes AMB, Gonçalves H, Wehrmeister F, et al. Physical activity throughout adolescence and cognitive performance at 18 years of age. Med Sci Sports Exerc 2015; 47:2552-7.
- 35Horta BL, Schaan BD, Bielemann RM, Vianna CA, Gigante DP, Barros FC, et al. Objectively measured physical activity and sedentary-time are associated with arterial stiffness in Brazilian young adults. Atherosclerosis 2015; 243:148-54.
- 36Knuth AG, Assunção MCF, Gonçalves H, Menezes AMB, Santos IS, Barros AJD, et al. Methodological description of accelerometry for measuring physical activity in the 1993 and 2004 Pelotas (Brazil) birth cohorts. Cad Saúde Pública 2013; 29:557-65.
- 37Knuth AG, Silva ICM, van Hees VT, Cordeira K, Matijasevich A, Barros AJD, et al. Objectively-measured physical activity in children is influenced by social indicators rather than biological lifecourse factors: Evidence from a Brazilian cohort. Prev Med 2017; 97:40-4.
- 38Leão OAA, Mielke GI, Hallal PC, Cairney J, Mota J, Domingues MR, et al. Longitudinal associations between device-measured physical activity and early childhood neurodevelopment. J Phys Act Health 2022; 19:80-8.
- 39Martins RC, Silva BGC, Blumenberg C, Ricardo LI, Silva SG, Ribeiro JP, et al. Multiple imputation to deal with missing objectively-measured physical activity data: findings from two cohorts. Rev Bras Ativ Fís Saúde 2021; 26:e0209.
- 40Mielke GI, Brown WJ, Ekelund U, Brage S, Gonçalves H, Wehrmeister FC, et al. Socioeconomic position and sedentary behavior in Brazilian adolescents: a life-course approach. Prev Med 2018; 107:29-35.
- 41Mielke GI, Menezes AMB, Da Silva BGC, Ekelund U, Crochemore-Silva I, Wehrmeister FC, et al. Associations between device-measured physical activity and cardiometabolic health in the transition to early adulthood. Med Sci Sports Exerc 2021; 53:2076-85.
- 42Ramires VV, Wehrmeister FC, Böhm AW, Galliano L, Ekelund U, Brage S, et al. Physical activity levels objectively measured among older adults: a population-based study in a Southern city of Brazil. Int J Behav Nutr Phys Act 2017; 14:13.
- 43Ricardo LIC, Silva ICM, Andrade Leão OA, Domingues MR, Wehrmeister FC. Objectively measured physical activity in one-year-old children from a Brazilian cohort: levels, patterns and determinants. Int J Behav Nutr Phys Act 2019; 16:131.
- 44Ricardo LIC, Wendt A, Galliano LM, de Andrade Muller W, Niño Cruz GI, Wehrmeister F, et al. Number of days required to estimate physical activity constructs objectively measured in different age groups: findings from three Brazilian (Pelotas) population-based birth cohorts. PloS One 2020; 15:e0216017.
- 45Silva BGC, Silva ICM, Ekelund U, Brage S, Ong KK, De Lucia Rolfe E, et al. Associations of physical activity and sedentary time with body composition in Brazilian young adults. Sci Rep 2019; 9:5444.
- 46Wendt A, Silva ICM, Gonçalves H, Assunção MCF, Menezes AMB, Wehrmeister FC. Sleep parameters measured by accelerometry: descriptive analyses from the 22-year follow-up of the Pelotas 1993 birth cohort. Sleep Med 2020; 67:83-90.
- 47Wendt A, Silva ICM, Gonçalves H, Menezes A, Barros F, Wehrmeister FC. Short-term effect of physical activity on sleep health: a population-based study using accelerometry. J Sport Health Sci 2022; 11:630-8.
- 48Wendt A, Wehrmeister FC, Ricardo LIC, Silva BGC, Martins RC, Gonçalves H, et al. Objectively measured physical activity according to the periods of the day in the Pelotas cohort. Rev Bras Ativ Fís Saúde 2020; 25:e0149.
- 49Migueles JH, Aadland E, Andersen LB, Brønd JC, Chastin SF, Hansen BH, et al. GRANADA consensus on analytical approaches to assess associations with accelerometer-determined physical behaviours (physical activity, sedentary behaviour and sleep) in epidemiological studies. Br J Sports Med 2022; 56:376-84.
- 50Ricardo LIC, Da Silva ICM, Martins RC, Wendt A, Gonçalves H, Hallal PRC, et al. Protocol for objective measurement of Infants’ physical activity using accelerometry. Med Sci Sports Exerc 2018; 50:1084-92.
- 51Scott JJ, Rowlands AV, Cliff DP, Morgan PJ, Plotnikoff RC, Lubans DR. Comparability and feasibility of wrist- and hip-worn accelerometers in free-living adolescents. J Sci Med Sport 2017; 20:1101-6.
- 52McLellan G, Arthur R, Buchan DS. Wear compliance, sedentary behaviour and activity in free-living children from hip-and wrist-mounted ActiGraph GT3X+ accelerometers. J Sports Sci 2018; 36:2424-30.
- 53Ray MA, Youngstedt SD, Zhang H, Robb SW, Harmon BE, Jean-Louis G, et al. Examination of wrist and hip actigraphy using a novel sleep estimation procedure. Sleep Sci São Paulo Braz 2014; 7:74-81.
- 54Hildebrand M, Hansen BH, van Hees VT, Ekelund U. Evaluation of raw acceleration sedentary thresholds in children and adults. Scand J Med Sci Sports 2017; 27:1814-23.
- 55Hildebrand M, VAN Hees VT, Hansen BH, Ekelund U. Age group comparability of raw accelerometer output from wrist- and hip-worn monitors. Med Sci Sports Exerc 2014; 46:1816-24.
- 56van Hees VT, Sabia S, Anderson KN, Denton SJ, Oliver J, Catt M, et al. A novel, open access method to assess sleep duration using a wrist-worn accelerometer. PLoS One 2015; 10:e0142533.
- 57van Hees VT, Sabia S, Jones SE, Wood AR, Anderson KN, Kivimäki M, et al. Estimating sleep parameters using an accelerometer without sleep diary. Sci Rep 2018; 8:12975.
- 58Troiano RP, Stamatakis E, Bull FC. How can global physical activity surveillance adapt to evolving physical activity guidelines? Needs, challenges and future directions. Br J Sports Med 2020; 54:1468-73.
- 59Pedišić Ž, Bauman A. Accelerometer-based measures in physical activity surveillance: current practices and issues. Br J Sports Med 2015; 49:219-23.
- 60Almeida Mendes M, Silva ICM, Ramires VV, Reichert FF, Martins RC, Tomasi E. Calibration of raw accelerometer data to measure physical activity: a systematic review. Gait Posture 2018; 61:98-110.
- 61Vries JD, Bakker AB. The physical activity paradox: a longitudinal study of the implications for burnout. Int Arch Occup Environ Health 2022; 95:965-79.
- 62‘I’m active enough in my job’. Why is occupational physical activity not enough? Physiotutors 2022; 15 dec. https://www.physiotutors.com/physical-activity-paradox/
» https://www.physiotutors.com/physical-activity-paradox/ - 63Holtermann A, Schnohr P, Nordestgaard BG, Marott JL. The physical activity paradox in cardiovascular disease and all-cause mortality: the contemporary Copenhagen General Population Study with 104 046 adults. Eur Heart J 2021; 42:1499-511.
Publication Dates
- Publication in this collection
11 Apr 2025 - Date of issue
2025
History
- Received
24 Jan 2024 - Reviewed
05 Nov 2024 - Accepted
02 Jan 2025