Skip to main content
PLOS One logoLink to PLOS One
. 2021 Jan 28;16(1):e0246055. doi: 10.1371/journal.pone.0246055

Identifying bedrest using waist-worn triaxial accelerometers in preschool children

J Dustin Tracy 1, Thomas Donnelly 2, Evan C Sommer 3, William J Heerman 3, Shari L Barkin 3, Maciej S Buchowski 2,*
Editor: Raffaele Ferri4
PMCID: PMC7842939  PMID: 33507967

Abstract

Purpose

To adapt and validate a previously developed decision tree for youth to identify bedrest for use in preschool children.

Methods

Parents of healthy preschool (3-6-year-old) children (n = 610; 294 males) were asked to help them to wear an accelerometer for 7 to 10 days and 24 hours/day on their waist. Children with ≥3 nights of valid recordings were randomly allocated to the development (n = 200) and validation (n = 200) groups. Wear periods from accelerometer recordings were identified minute-by-minute as bedrest or wake using visual identification by two independent raters. To automate visual identification, chosen decision tree (DT) parameters (block length, threshold, bedrest-start trigger, and bedrest-end trigger) were optimized in the development group using a Nelder-Mead simplex optimization method, which maximized the accuracy of DT-identified bedrest in 1-min epochs against synchronized visually identified bedrest (n = 4,730,734). DT's performance with optimized parameters was compared with the visual identification, commonly used Sadeh’s sleep detection algorithm, DT for youth (10-18-years-old), and parental survey of sleep duration in the validation group.

Results

On average, children wore an accelerometer for 8.3 days and 20.8 hours/day. Comparing the DT-identified bedrest with visual identification in the validation group yielded sensitivity = 0.941, specificity = 0.974, and accuracy = 0.956. The optimal block length was 36 min, the threshold 230 counts/min, the bedrest-start trigger 305 counts/min, and the bedrest-end trigger 1,129 counts/min. In the validation group, DT identified bedrest with greater accuracy than Sadeh’s algorithm (0.956 and 0.902) and DT for youth (0.956 and 0.861) (both P<0.001). Both DT (564±77 min/day) and Sadeh’s algorithm (604±80 min/day) identified significantly less bedrest/sleep than parental survey (650±81 min/day) (both P<0.001).

Conclusions

The DT-based algorithm initially developed for youth was adapted for preschool children to identify time spent in bedrest with high accuracy. The DT is available as a package for the R open-source software environment (“PhysActBedRest”).

Introduction

Sleep is fundamental for optimal children’s health and wellbeing [1–3]. Low sleep quality in preschool children is associated with delayed growth, a decline in daytime physical activity, body weight abnormalities, and learning and behavioral difficulties [4,5]. Young children require increased sleep duration to ensure healthy growth and development [6], and yet, there are no available methods to measure sleep reliably and conveniently in natural environments. The current clinical gold standard for assessing sleep in children is polysomnography (PSG), which uses advanced laboratory-based technology to assess brain, cardiovascular, and respiratory activity during nighttime sleep [7–9]. PSG yields several sleep metrics, including sleep onset and offset sleep stages. Some sleep metrics can be approximated through other means, including accelerometers [10].

Recently, accelerometry, also known as actigraphy, has been used to assess habitual sleep-wake patterns in children, both healthy and with sleep disorders [11–13], using relatively nonintrusive research-grade triaxial accelerometers worn for several days or weeks [14]. Although accelerometry does not provide detailed information on sleep that PSG does, it has the advantages of portability, tolerability, and the ability to identify and differentiate between nighttime and daytime sleep and non-sleep sedentary behaviors and physical activity measured for several days or weeks [15]. The primary signal used by accelerometers to identify sleep is a lack of body movement confounded by slight movements during sleep and lack of body movement during wake episodes [14,16]. The results may not necessarily result in the same sleep period(s) s identified by PSG or a parental report.

Field-based sleep assessments in preschool children also frequently rely on parent-report methodologies, often not providing sufficiently valid or reliable sleep estimates [12,17,18]. Combining PSG, accelerometry, and parental or self-reports could help balance the limitations of each. Because this is often not feasible in both research and clinical studies, accelerometry is frequently used as a method of choice [19].

In children, accelerometry is 80 to 90% concordant with PSG during night rest [20–22]. A significant challenge in preschool children is to capture time spent in nighttime sleep and daytime naps over several days in a natural environment, without additional information from a parental report [23]. The majority of automated algorithms for assessing sleep were validated in 10-18-yr-old children [24], no. Belanger et al. [9] developed two algorithms for the wrist-worn and ankle-worn single-axis Actiwatch accelerometer using data from 2–5 years old children (n = 12) during nighttime sleep. However, no triaxial accelerometer’s-based algorithm validation studies in healthy preschool children have been reported to our knowledge. The present study aims to fill a gap in the literature by identifying periods of bedrest that include nighttime sleep and daytime naps with a high degree of accuracy using accelerometer recordings collected for several days.

We previously developed and implemented as an R software program a decision tree (DT) that uses an automated series of decision rules with user-modifiable parameters to identify the time in bedrest in healthy 10-18-year-old children (DT-Youth) with good accuracy [25]. However, its validity cannot be assumed for younger children with different personal characteristics, physical activity levels, and sleep habits.

The goal of this study was to adapt DT-Youth to identify bedrest periods in preschool children using a large group of 3-6-year-old children living in their homes and wearing waist-worn triaxial accelerometers. The adapted DT algorithm's performance was compared to that of Sadeh’s automated sleep scoring algorithm, which is frequently used in pediatric research for sleep assessment from accelerometer recordings [26], to previously validated DT-Youth, and to the parental survey of child sleep duration. We posited that the new adapted DT would better identify bedrest in preschool children than Sadeh’s algorithm, DT-Youth, and parental survey.

Methods

Participants

The study included a subset of 610 healthy 3-6-yr-old children, 294 males, BMI percentile ≥50th and <95th recruited to The Growing Right Onto Wellness (GROW), a 36-month behavior change intervention trial focused on childhood obesity prevention among preschool-aged children from underserved communities in Nashville, Tennessee and registered with ClinicalTrials.gov (NCT03268577) [27]. All applicable institutional and governmental regulations concerning human volunteers' ethical use followed the Helsinki-II Declaration's ethical principles. The Institutional Review Board of Vanderbilt University approved the study protocol and consent form (IRB No. 120643). Written informed consent was obtained before the study. Study data were collected from 2012 to 2017, and current analyses were performed in 2019 and 2020.

Anthropometric and demographic data

Standing height (to the nearest 0.1 cm) and weight (to the nearest 0.1 kg) were measured using wall-mounted stadiometers and research-grade scales using a rigorous protocol [28]. Body mass index (BMI) was calculated as a ratio of weight (kg) and height (m2). BMI percentiles were calculated using the Centers for Disease Control (CDC) age- and sex-specific growth references. Chronological age was determined from birth dates and the accelerometer wearing start date.

Accelerometry recordings

Parents were asked to help their children wear an ActiGraph GT3X+ triaxial accelerometer (ActiGraph, Pensacola, FL) on the waist for at least 7 days, including sleeping and napping. Data were collected at baseline and after 12, 24, and 36 months of the trial. The accelerometers collected recordings at 40 Hz chosen at the beginning of the study to allow data collection for up to 14 days. The records were integrated into 60-s epochs, and vector magnitude (VM) data were calculated as a square root of the sum of squared recordings from the accelerometer’s three axes. Non-wear periods in accelerometer recordings were identified using Choi’s algorithm using the PhysicalActivity package in R [29] and excluded to eliminate the possibility of identifying them as bedrest.

Selection criteria

To be included in the analysis, a recording required ≥3 valid nights with ≥2 weeknights and ≥1 weekend night. A valid night required ≥ 6 hours of an accelerometer wearing between 10:00 pm and 6:59 am on the next day. Data collected after 48 hours of nonwear were discarded. To obtain a study sample with a uniform age distribution, 100 eligible recordings were randomly selected from each time point of data collection, producing 400 eligible recordings. Each recording came from a different child to minimize non-independence or clustering within the dataset.

Visual identification of bedrest and wake periods

Although it is a slow and time-consuming process, visual identification is recommended as the best referent heuristic method for identifying bedrest/sleep and wake time using accelerometry data [2,3]. This study used two trained raters' visual identification as the benchmark for comparing the other bedrest identification methods. In this study, we used the terms bedrest and wake to define sustained periods below or above the optimal threshold of body movements (i.e., counts per min). In the current pediatric literature, terms used for similarly defined and assessed sleep-related periods of absent or minimal activity include “bedrest”[25,30], “sleep” [10,16], “sleep-period time”, “nocturnal sleep” [2], and “in-bed time” [3].

Visually identified bedrest was defined as prolonged periods (>30min) below or equal to the threshold of 100 counts/min. Each record was viewed using a labeling software developed for this study (available at https://github.com/shi-xin/actigraph_labeler) with two independent raters being able to see each day’s accelerometer recordings as VM counts on the vertical axis and time of day in 1-min increments on the horizontal axis. The software enabled the rates to discard data at the beginning and end of each Actigraph file. Raters were trained on heuristics, guiding the visual identification process to estimate each bedrest period's start and end. The guidelines illustrated in Fig 1 were similar to those used in other studies [3,16] and our previous experience.

Fig 1. Graphical presentation of heuristic guidelines for visual identification of accelerometer recordings to estimate each bedrest period's start and end.

Fig 1

The smallest period to be considered a separate episode was 30 min for bedrest and 10 min for awake. Identification guidelines for marking bedrest-start required: (i) 10 consecutive minutes with ≤100 counts/min; (ii) followed by a 20-min period with consistent readings with ≤100 counts/min, but allowing for two minutes >100 counts/min. The first minute with ≤100 counts/min, identified in (i), was marked bedrest-start. Bedrest-end identification required: (i) identifying a minute with ≥500 counts/min; (ii) followed by 5 out of the next 9 minutes with ≥500 counts/min. The minute preceding the first minute with ≥500 counts/min, identified in (i), was marked bedrest-end. The period between bedrest-start and the next bedrest-end was marked bedrest, and the period between bedrest-end and the next bedrest-start was marked wake. The agreement between raters was assessed using kappa-statistics. To handle a disagreement between the raters in identifying 1-min epochs as bedrest or wake, we generated two separate sets of data named True1 and True2, respectively, for both the development and the validation group. In True1, the epochs in which there was disagreement were assumed to be truly wake, and in True2, they were assumed to be truly bedrest. Separate analyses were conducted for both True1 and True2. We report the True2 analysis as the algorithm was less accurate relative to True1. Thus, we report the more conservative estimate of identifying bedrest.

Development of DT for bedrest and wake identification

The DT algorithm was developed to automate the process of identifying bedrest and wake periods from accelerometer recordings. It finds periods with minimal activity (i.e., below a threshold) and then adjusts the periods’ beginning and endpoints. This study adapted an automated DT-Youth previously developed for 10-18-yr-old children [25] using a Nelder-Mead method [31] to optimize four DT parameters, named block length, threshold, bedrest-end trigger, and bedrest-start trigger. The block length is defined as the number of epochs over which an average number of counts per epoch is calculated (e.g., an epoch is 1 min, and a block has 60 epochs, then block length is 60 min). Threshold (VM counts/min) is the number of counts/block when searching for transition time points from bedrest to wake or from wake to bedrest. Bedrest-start trigger is the maximum number of VM courts/min needed for a transition from wake to bedrest or bedrest to start. Bedrest-end trigger is a minimum number of VM counts/min needed for wake to start.

DT description

The DT has four steps, illustrated in Fig 2. In Step 1, DT divides the data from the accelerometer recordings into blocks (e.g., 60 min), calculates the average counts per epoch in each block. Next, DT determines if the counts/min average in the first block (e.g., 60 min) is lower, equal to, or higher than the tested threshold (VM counts/min) to determine its initial status (i.e., bedrest or wake) of this block and whether to proceed to Step 2 or Step 3. Although categorization is not made by the block, implicitly, blocks with averages below the threshold are identified as bedrest, while those with averages above are identified as wake. Blocks near transitions may be identified as part bedrest and part wake.

Fig 2. Simplified decision tree (DT) to identify triaxial accelerometer recordings (counts/epoch) as bedrest or wake.

Fig 2

The plots contain ~48 h data from a representative child (4-year-old, male) before (Step 1—left panel), during (Step 1 –right panel, Step 2, and Step 3), and after (Step 4) bedrest marking by the DT. The DT uses four algorithm parameter values (block length, threshold, bedrest-start trigger, and bedrest-end trigger) and has a four-step process to run through the data.

The DT proceeds to Step 2 if the first block is identified as wake in Step 1 or after identifying bedrest-start in Step 3. Step 2 identifies bedrest-start. First, DT searches through the next block's remaining data with an average value below the threshold. Next, DT searches within the identified block and the preceding block for the last two consecutive epochs with VM counts higher than the bedrest-start trigger parameter. The epoch after these two epochs is marked bedrest-start.

The DT proceeds to Step 3 if the first block is categorized as bedrest in Step 1, or after identifying bedrest-start in Step 2. Step 3 identifies the bedrest-end and follows a similar logic to Step 2. DT searches the remaining blocks for a block with an average above the threshold. Then, DT searches within the identified block and the block proceeding for the epoch that ends bedrest using the bedrest-end trigger parameter. The identified blocks are searched for the first two consecutive epochs with VM counts above the trigger. The epoch immediately before these epochs is marked bedrest-end.

Step 4 disregards any bedrest period shorter than a user-specified minimum bedrest duration (e.g., 60 min). The DT algorithm cycles between Step 2 identifying bedrest-start and Step 3 identifying bedrest-end until all epochs are marked as either bedrest or wake. Epochs after the last identified change from bedrest to wake or wake to bedrest are marked accordingly.

Testing DT parameters

An automated Nelder-Mead Simplex Optimization procedure [31] was used to construct and test DT parameter combinations to find combinations that maximized accuracy for True1 in the development group and another combination that maximized accuracy for True2 files. The Nelder-Mead algorithm finds the minimum of a real n-dimensional function by generating a simplex with (n+1) vertices. For a two-dimensional function, the simplex would be a triangle, and for three-dimensional, a tetrahedron. The algorithm then adapts the simplex to the local landscape of the function, eventually contracting to a minimum. The algorithm requires four scalar parameters for reflection (ρ), expansion (χ), contraction (γ) and shrinkage (α) of the simplex and standard values were used for each; 1, 2, 0.5, and 0.5, respectively. The procedure was initialized with four sets of four parameter values (see S1 Table). Initial testing showed that the procedure took around 80 iterations to converge on a minimum point; therefore, the algorithm was allowed to proceed for 100 iterations in all the subsequent runs to allow space for error. A graphic summary of the optimization process is in S1 Fig, and selected performance parameters for each iteration are in S2 Table.

For each combination of parameters and each participant, every epoch (1 min) in the monitoring wear period was classified by DT as bedrest or wake and compared to the time-synchronized bedrest or wake classification from the visual identification. To calculate sensitivity, specificity, and accuracy, every epoch (n = 4,730,734) was placed into one of four categories: (i) true positive (TP), DT, and visual identification agreed on bedrest; (ii) a true negative (TN), DT and visual identification agreed on wake; (iii) a false positive (FP), DT identified as bedrest and visual identification classified as wake; and (iv) a false negative (FN), DT identified as wake and visual identification classified as bedrest [30].

Sensitivity was defined as the proportion of bedrest epochs correctly identified as bedrest by the DT (TP/(TP+FN)), and specificity was defined as the proportion of wake epochs correctly identified as wake by the DT (TN/(TN+FP)). Accuracy was defined as the proportion of all epochs correctly identified as bedrest or wake by the DT ((TP + TN)/(TP + TN + FN + FP)). Specificity and sensitivity were considered equally important. For each combination of block lengths, threshold, bedrest-start trigger, and bedrest-end trigger, means of sensitivity, specificity, and accuracy were calculated for True1 and True2 datasets. To obtain conservative validity estimates, the optimal algorithm parameters for the least accurate approach, True2, were recorded and tested on the validation group.

Assessing DT performance

The DT performance in the validation group was assessed by comparing its accuracy to the mentioned earlier DT-Youth [25] and the automated Sadeh’s sleep detection algorithm [26] in ActiLife software (ActiGraph, Pensacola, FL). We used DT-Youth to compare it head-to-head to determine the impact of new parameters on preschool children's DT performance.

We used Sadeh’s algorithm because no validated algorithm is available to identify bedrest or sleep for preschool children. Sadeh’s algorithm was initially developed in 10-16-yr-old children and 20-25-yr-old adults for wrist-worn accelerometers, but it has been validated for waist-worn accelerometers in 10-18-yr-old children [2,13]. DT and Sadeh’s algorithm's significant difference is that DT allows a user-specified minimum period to be identified as bedrest (e.g., 30 min). Sadeh’s algorithm classifies each 1-min epoch, either sleep or wake and summarizes sleep epochs to assess the total period of sleep. As recommended by others [2,32,33], DT classification (bedrest and wake) was synchronized minute-by-minute and compared with visual identification (bedrest or wake), DT-Youth (bedrest or wake), and Sadeh’s classification (sleep or wake).

Bedrest and wake periods classification

In the validation group, bedrest periods lasting <30 min were classified as wake, periods lasting from ≥30 to ≤90 min were classified as naps, and periods lasting >90 min were classified as bedrest. Naps frequency and duration were calculated as an average number and total duration of naps per day and included in the total bedrest analyses. The 30-min lower threshold for bedrest was selected by assuming that children are typically in bed for more than 30 min for their daytime naps. The 90-min upper threshold for naps was selected by assuming that bedrest longer than 90 min and following or preceding a wake period should be classified as a distinct bedrest episode. Awakenings during bedrest were defined as wake periods lasting from ≥5 to ≤15 min (e.g., to visit the bathroom) during bedrest lasting >90 min and are presented as an average number and total duration of awakenings per day.

Parent-reported sleep survey

The parent-reported sleep survey conducted at the start of the accelerometer wearing period was used to obtain the usual child’s bedtime and wake time and the frequency and duration of daytime naps. Survey sleep time was calculated as the sum of reported nap duration and the elapsed time between the reported bedtime and wake time. It was compared with DT and Sadeh’s algorithm assessment of bedrest or sleep duration, respectively.

Statistical analysis

From the group of selected participant recordings (n = 400), 200 were randomly allocated to the development and 200 to validation groups using the random sampling function in R. The development group was used to optimize DT algorithm parameters values (block length, threshold, bedrest-start trigger, and bedrest-end trigger). The differences between the groups in age and anthropometric measures were compared using the independent sample t-test and chi-square, respectively. The agreement between raters in the visual identification of bedrest was calculated using a weighted Cohen’s Kappa coefficient [34].

The sensitivity, specificity, and accuracy of the DT algorithm were compared for agreement with the visual identification. The differences in sensitivity, specificity, and accuracy between the development and validation groups were compared using independent samples t-test. In the validation group, differences between DT and Sadeh’s algorithm, between DT and parental survey, between Sadeh’s algorithm and parental survey, between DT bedrest identification. For these calculations, we used the VM counts data. Since Sadeh’s algorithm uses a single (vertical) axis data from an accelerometer, we also compared the difference between Sadeh’s algorithm and DT using recordings from the vertical axis using paired samples t-test. Bedrest characteristics were performed after epochs (minutes) of not-wearing and discarded in visual identification were removed. The agreement between the parental survey and other methods in the validation group was assessed using overlap coefficients calculated for bedrest identified by DT and parental survey, Sadeh’s and parental survey, and DT and Sadeh’s algorithm. Overlap was defined as the time both methods agreed on bedrest/sleep identification divided by the shortest time of total sleep/bedrest identified by either method. Therefore, if the sleep period identified by one method was a subset of that identified by the other method, the overlap coefficient would be equal to 1.0. Overlap coefficients were calculated for each child in the validation group, and the average is reported.

All results are presented as means, standard deviations (SD), ranges, and statistical significance set at P < 0.05. The programming language R version 3.6.1 was used to develop DT and perform statistical analyses.

Results

Participants’ characteristics

The study population (n = 400, 51.5% male) included Hispanic/Latino (n = 361, 90.3%), non-Hispanic black (n = 24, 6.0%), non-Hispanic white (n = 9, 2.3%), and non-Hispanic multi-racial (n = 6, 1.5%) children. Of the eligible children, 250 (62.5%) were normal weight (<85th BMI percentile), 111 (27.8%) were overweight (≥85th to <95th BMI percentile), and 39 (9.8%) were obese (≥95th BMI percentile). Among parents, 246 (61.5%) had less than a high school degree or equivalent. The average child age was 5.03 ± 1.14 years, weight was 19.68 ± 3.69 kg, height was 107.90 ± 8.64 cm, and BMI was 16.78 ± 1.12 kg/m2 (see Table 1). There were no significant differences in personal characteristics between participants in the development and validation groups (all P>0.05).

Table 1. Characteristics of study participants.

All Participants (n = 400) Development Group (n = 200) Validation Group (n = 200) P-value
Male | Female, n (%) 206 | 194 (51.50 | 48.50) 108 | 92 (54.00 | 46.00) 98 | 102 (49.00 | 51.00) 0.317a
Age (years) 5.03 ± 1.14 (3.01, 6.98) 5.00 ± 1.11 (3.01, 6.98) 5.05 ± 1.18 (3.01, 6.94) 0.707b
Height (cm) 107.90 ± 8.64 (88.80, 129.40) 107.82 ± 8.63 (90.45, 128.65) 107.90 ± 8.66 (88.80, 129.40) 0.933b
Weight (kg) 19.68 ± 3.69 (13.00, 40.40) 19.61 ± 3.66 (13.30, 31.80) 19.74 ± 3.74 (13.00, 40.40) 0.718b
Body Mass Index (kg/m2)c 16.78 ± 1.12 (14.19, 24.11) 16.73 ± 1.07 (14.19, 21.02) 16.83 ± 1.16 (14.44, 24.11) 0.387b
Accelerometer wear (days) 8.32 ± 1.74 (4.00, 20.00) 8.31 ± 1.89 (4.00, 20.00) 8.34 ± 1.60 (5.00, 15.00) 0.841b
Accelerometer wear (hours/day) 20.86 ± 2.37 (10.92, 23.99) 21.09 ± 2.23 (12.67, 23.97) 20.72 ± 2.51 (10.92, 23.99) 0.250b

Values are mean ± standard deviation and values in parentheses are ranges.

a Pearson’s chi-square test between development and validation groups.

b independent samples t-test between development and validation groups.

c body mass index (BMI).

Agreement between raters in visual bedrest identification

The inter-rater agreement was very good (mean sensitivity, specificity, and accuracy were >0.98 and κ (kappa)  =  0.99).

DT algorithm optimal parameters

Within the development group, the optimal block length was 36 min, the threshold was 230 counts/min, the bedrest-start trigger was 305 counts/min, and the bedrest-end trigger was 1,129 counts/min. These parameter values are default in the PhysActBedRest package, but the end-user can easily change them if they wish (e.g., for use in preschool children with sleep disturbances).

DT performance

Using visual identification as the benchmark, differences between the development and validation groups were not statistically significant for sensitivity, specificity, and accuracy (all P>0.05, see Table 2).

Table 2. DT performance in the development and validation groups.

Development group (n = 200) Validation group (n = 200) P-valuea
Sensitivity 0.948 ± 0.058 (0.501, 0.998) 0.941 ± 0.056 (0.618, 0.999) 0.258
Specificity 0.976 ± 0.028 (0.798, 0.998) 0.974 ± 0.038 (0.566, 0.999) 0.414
Accuracy 0.961 ± 0.042 (0.626, 0.995) 0.956 ± 0.043 (0.654, 0.994) 0.305

Values are mean ± standard deviation and values in parentheses are ranges.

a independent samples t-test between development and validation groups.

In the validation group, DT performed better at identifying bedrest than DT-Youth and Sadeh’s algorithm measured by sensitivity, specificity, and accuracy for VM counts data (P<0.001; see Table 3).

Table 3. Performance of DT, DT-Youth, and Sadeh’s algorithm in the validation group.

DT (n = 200) DT -Youth (n = 200) Sadeh’s (n = 200) P-value a,b
Sensitivity 0.941 ± 0.056 (0.618, 0.999) 0.855 ± 0.086 (0.558, 0.999) 0.920 ± 0.041 (0.706, 0.979) < 0.001
Specificity 0.974 ± 0.038 (0.566, 0.999) 0.870 ± 0.079 (0.564, 0.999) 0.888 ± 0.064 (0.506, 0.984) < 0.001
Accuracy 0.956 ± 0.043 (0.654, 0.994) 0.861 ± 0.062 (0.588, 0.979) 0.902 ± 0.042 (0.599, 0.965) < 0.001

Values are mean ± standard deviation and values in parentheses are ranges.

a paired t-test between DT algorithm and Sadeh’s algorithm.

b paired t-test between DT algorithm and DT-Youth algorithm.

The DT performed better when using VM than single-axis (vertical) recordings from accelerometers (P<0.001, see S3 Table). Also, DT performed better than Sadeh’s algorithm when both were using data from single-axis (vertical) data (P<0.001, see S4 Table).

Bedrest characteristics in the validation group

As identified by DT and shown in Table 4, the average daily bedrest time was over 9 hours (502 ± 62 min/day), ranging from almost 5 hours (294 min/day) to over 10 hours (652 min/day). Mean sleep duration obtained from the parental survey was significantly longer than bedrest identified by DT (650 and 502 min/day; P<0.001), Sadeh’s algorithm (650 and 604 min/day; P<0.001), and visual identification (650 and 502 min/day; P<0.001).

Table 4. Characteristics of bedrest and wake periods identified using DT, Sadeh’s algorithm, and parental survey, and visual identification in the validation group (n = 200).

DT Sadeh’s algorithm Parental survey Visual identification P-value
Bedrest [min/day] 502 ± 62 (294, 652) 556 ± 73 (301, 847) 650 ± 81 (450, 960) 502 ± 63 (302, 664) <0.001a,b,d,e,f 0.859 c
Wake [min/day] 734 ± 101 (291, 898) 693 ± 88 (286, 850) - 733 ± 103 (292, 937) <0.001a,e 0.859 c
Children taking naps [n (%)] 134 (67.0) - 45 (22.5) - <0.001b
Nap frequency g [number/day] 0.25 ± 0.24 (0.00 h, 1.00) - 1.05 ± 0.27 (1.00, 3.00) - <0.001b
Nap duration g [min/day] 47 ± 34 (0 h, 84) - 72 ± 38 (15, 180) - <0.001b
Awakenings during bedrest i [number/day] 1.8 ± 0.8 (0.4, 4.4) - - -
Awakenings during bedrest [min/day] 8.3 ± 1.9 (5, 15) - - -

Values are mean ± standard deviation and values in parentheses are ranges.

a paired t-test between DT and Sadeh’s algorithm.

b paired t-test between DT and Parental survey.

c paired t-test between DT and Visual identification.

d paired t-test between Sadeh’s algorithm and Parental survey.

e paired t-test between Sadeh’s algorithm and Visual identification.

f paired t-test between Parental survey and Visual identification.

g nap: 30 min ≤ bedrest ≤ 90 min in children whose parents reported taking a nap (n = 45).

h naps were not identified by DT in all children whose parent reported taking naps (n = 14, min/day = 0).

i awakening: 5 min ≤ wake ≤ 15 min.

On average, the wake time identified by DT was over 11 hours (734 min/day) and was longer than Sadeh’s algorithm (693 min/day),. The number of children taking naps reported in the parental survey (n = 45) was lower than the DT identified (n = 134). Naps were identified by DT in 67% of the children at least once during the monitoring period. In children whose parents reported taking daytime naps daily (23%), the naps frequency was higher than those identified by DT (1.05 ± 0.27 and 0.25 ± 0.24). The parental survey's average naps length duration was approximately 25 min longer than that assessed by DT. The average number of bedrest awakenings identified by DT was 1.8 per day, ranging from 0.4 to 4.4. The bedrest awakenings duration was 8.3 min/day and ranged from 5 to 15 min/day.

The overlap coefficients for sleep duration between parental survey and DT and parental survey and Sadeh’s algorithm were 0.860 and 0.843, respectively (see Table 5).

Table 5. Overlap in sleep periods assessed from the parental survey, DT (decision tree) identification, and Sadeh’s algorithm in the validation group (n = 191).

Overlap Coefficient P-valuea
Parental vs. DT 0.860 ± 0.071 (0.524, 0.993) < 0.001
Parental vs. Sadeh’s 0.843 ± 0.063 (0.547, 0.968) < 0.001
DT vs. Sadeh’s 0.930 ± 0.018 (0.876, 0.973) < 0.001

Values are mean ± standard deviation and values in parentheses are ranges.

a paired t-test between total sleep of sleep assessment method.

Discussion

In this study, a DT algorithm previously developed to identify bedrest periods using waist-worn accelerometers recordings for youth (10-18-yr-old) [25] was adapted for use in preschool children. The adapted DT provided very good sensitivity, specificity, and accuracy (all >0.95) for identifying bedrest and wake when using a visual identification method as the benchmark.

This study did not attempt to assess physiological sleep, but rather the goal was to identify periods of inactivity as bedrest, which most likely included nighttime sleep lasting > 90 min and daytime naps lasting from 30 to 90 min. In the validation group, we compared the modified DT performance for preschool children with the DT with parameters established for youth [25]. In a head-to-head comparison, we found that the modified DT performed better in assessing bedrest than DT-Youth. The optimal algorithm parameters for preschool children (3-6-year-old) differed from values for youth (10-18-yr-old), underscoring a need for age-specific algorithm parameters to identify bedrest and wake accurately.

In the past, several studies utilized automatic algorithms to separate sleep and wake based on recordings from a single accelerometer axis [2,26,33]. The current study took advantage of technological advancements and used VM calculated from counts recorded by three distinct axes to measure movement. We compared the DT performance to identify bedrest for VM and single-axis (vertical) recordings in the validation group and found that both sensitivity and specificity were higher for VM than single-axis data. We recommend that studies assessing bedrest/sleep in preschool children using triaxial accelerometers utilize VM rather than single-axis data. Other advantages of using the modified algorithm its ability to identify short naps (30–60 min) usually occurring during the day and using data from several days of accelerometer recordings.

Using visual identification as the benchmark, a comparison of the DT to Sadeh’s algorithm [26] demonstrated that the DT had higher sensitivity, specificity, and accuracy than Sadeh’s algorithm both for VM and single-axis data. DT's better performance than Sadeh’s algorithm could be expected since Sadeh’s algorithm was developed in a different population and using a different study protocol [26]. A more objective comparison of algorithms' generalization capacity would be achieved using an independent preschool-age children dataset. Another plausible explanation could be that Sadeh’s algorithm classified short daytime periods of low activity (e.g., sedentary behavior) as “sleep.” The DT protected against this problem by limiting bedrest to inactivity lasting more than 30 minutes. However, while imposing this restriction could cause misclassification of short daytime naps as wake, the risk is likely low in this sample, as only 2 out of 45 parents reported naps <30 min. The R function developed in this study and readily available to researchers allows the user to set the minimum bedrest period to balance these concerns in their study populations.

We did not compare the DT to other currently available automated algorithms because they were developed and validated in older children [2], used a different methodology [16], or different accelerometers [8,9]. Among automated algorithms validated for waist-worn Actigraph accelerometers, the first was an algorithm developed by Tudor-Locke et al. [35] for 10-18-yr-old children combining visual inspection to mark the onset and offset of nocturnal sleep from accelerometer recorded with the sleep diary data. The newer version of this algorithm [2] showed a moderately high correlation of nocturnal sleep (r = 0.61 to 0.74) with visual assessment of accelerometry data and sleep diaries.

A parental survey was used to calculate the child’s average length of sleep/bedrest and nap frequency and duration. Similar to other reports [17,23], this study found that sleep duration assessed from the parental survey was significantly higher than bedrest and sleep assessed by DT and Sadeh’s algorithm, respectively. On average, nighttime sleep reported by parents was about an hour longer than bedrest identified by the DT, which can reflect the difference between the time a child was put in bed and the time the child fell asleep. Notably, the bedrest periods assessed by DT overlapped, approximately 86%, with the sleep periods derived from the parental survey.

The frequency and duration of naps obtained from the survey were also different from those identified by DT, with parents reporting longer nap time by an average of 12 minutes. This finding emphasizes the importance of a quantitative approach to capturing bedrest/sleep for young children, rather than relying on the parental report as the sole measure of sleep.

The study had several strengths. First, we used a relatively large (n = 400) and diverse group regarding sex, age, and body mass indices [27]. Random selection of the development and validation groups allowed for the algorithm's robust performance and the avoidance of overfitting due to the small sample size. Second, the study was conducted in field conditions that increased the DT's generalizability compared to laboratory studies. The average time spent in bedrest ranged from over 5 to almost 12 hours/day, which is similar to the sleep time range reported for a national sample of preschool children in the US [6]. Third, the DT was optimized using objective accelerometer data rather than subjective sleep diary data. In the absence of a practical reference standard criterion method that can be used with 3-6-yr-old children in daily life, we consider the DT a potentially useful approach for separating nighttime sleep and daytime naps from sedentary behaviors and physical activity. Future studies should be performed in diverse populations to test and calibrate the DT against PSG and compare it with other automatic algorithms that use different accelerometry data measures such as arm angle or gravitational acceleration data expressed in grams [16]. Future research could also utilize the DT or similar methodology when examining preschool-age children's sleep patterns and associations with learning and health outcomes and help inform clinical decision making [36].

The study had some limitations. First, this study used waist-worn monitors, which are preferred for measuring physical activity and sedentary behaviors, rather than non-dominant wrist-worn monitors frequently used to assess sleep [19]. However, the evidence shows that waist-worn accelerometers can accurately assess sleep duration in school-age children [13,18,35]. Second, the study results are specific to 3–6 years old, healthy children. However, we believe the set of parameters (block length, threshold, bedrest-start trigger, and bedrest-end trigger) optimized in this study ensures very good DT performance in all preschool children. The DT should also be validated in other studies with an independent sample of preschool-age children and performed in a different environment. However, the DT allows users to adapt it for bedrest identification in various populations and/or using different accelerometers. Third, the DT algorithm validity was not tested in children with sleep disturbances and other clinical pediatric populations and might require additional studies. Forth, accelerometer recordings were collected at 40 Hz and not commonly used 30 Hz. A recent study found an error between 10–100 Hz frequency decreased with declining movement intensity, suggesting that the difference between 40 Hz and 30 Hz would have a small effect on bedrest identification in the current study [37]. Nevertheless, future users of the algorithm should be aware of this limitation.

Conclusions

The DT-based algorithm originally developed for youth (10-18-year-old) children was adapted for preschool children to identify time spent in nighttime bedrest and daytime naps using data from waist-worn accelerometers with very good sensitivity, specificity, and accuracy. The automated bedrest/sleep detection DT algorithm is openly accessible as a package for the R software environment (“PhysActBedRest”).

Supporting information

S1 Fig. Nelder-Mead simplex optimization progression for True 2 dataset.

(TIF)

S1 Table. Parameters sets used to initialize DT (decision tree) algorithm optimization using the Nelder-Mead simplex procedure.

(DOCX)

S2 Table. Progression of the optimization of decision tree (DT) algorithm parameters.

(DOCX)

S3 Table. Comparison of decision tree (DT) algorithm performance between vector magnitude (VM) and single-axis (vertical) recordings in the validation group (n = 200).

(DOCX)

S4 Table. Comparison between performance between decision tree (DT) and Sadeh’s algorithm using recordings from the vertical axis in the validation group (n = 200).

(DOCX)

Acknowledgments

We like to thank Shi Xin for his programming work and participating in the visual data identification and Dr. Nina Martin and Eli Po’e for help with manuscript review and editing. We also acknowledge the staff and community members' work at the Coleman and Southeast Community Centers in Nashville, Tennessee. With gratitude, we thank them for their commitment to working with our team.

Data Availability

All raw data files are available from the Figshare database: https://figshare.com/articles/dataset/Train_Files/12904124 and https://figshare.com/articles/dataset/Test_Files/12904127.

Funding Statement

This study was supported by the National Institutes of Health (NIH) grants HL103620 and HL103561 from the National Heart, Lung, and Blood Institute and the Eunice Kennedy Shriver National Institute of Child Health and Development, and the Office of Behavioral and Social Sciences Research: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nih.gov%2F&data=04%7C01%7Cmaciej.buchowski%40vanderbilt.edu%7C876b97453d1f47b15de808d8b8a53769%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637462367312593967%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PnXgEOgTcQyoZQ8eLVFVd1rAn9y0Y6KL3YnIYBw3yyw%3D&reserved=0. Additional funds were provided by grants DK058404 and DK20593 from the National Institute of Diabetes and Digestive and Kidney Diseases: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nih.gov%2F&data=04%7C01%7Cmaciej.buchowski%40vanderbilt.edu%7C876b97453d1f47b15de808d8b8a53769%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637462367312593967%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PnXgEOgTcQyoZQ8eLVFVd1rAn9y0Y6KL3YnIYBw3yyw%3D&reserved=0. The REDCap Database was supported by TR000445 from the National Center for Advancing Translational Sciences: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nih.gov%2F&data=04%7C01%7Cmaciej.buchowski%40vanderbilt.edu%7C876b97453d1f47b15de808d8b8a53769%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637462367312593967%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PnXgEOgTcQyoZQ8eLVFVd1rAn9y0Y6KL3YnIYBw3yyw%3D&reserved=0. WJH was supported by K23 HL127104 grant from the National Heart Lung and Blood Institute: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nih.gov%2F&data=04%7C01%7Cmaciej.buchowski%40vanderbilt.edu%7C876b97453d1f47b15de808d8b8a53769%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637462367312593967%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PnXgEOgTcQyoZQ8eLVFVd1rAn9y0Y6KL3YnIYBw3yyw%3D&reserved=0. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. There was no additional external funding received for this study.

References

  • 1.Hirshkowitz M, Whiton K, Albert SM, Alessi C, Bruni O, et al. (2015) National Sleep Foundation’s sleep time duration recommendations: methodology and results summary. Sleep Health 1: 40–43. 10.1016/j.sleh.2014.12.010 [DOI] [PubMed] [Google Scholar]
  • 2.Barreira TV, Schuna JMJ, Mire EF, Katzmarzyk PT, Chaput J-P, et al. (2015) Identifying Children’s Nocturnal Sleep Using 24-h Waist Accelerometry. Med Sci Sport Exerc 47: 937–943. 10.1249/MSS.0000000000000486 [DOI] [PubMed] [Google Scholar]
  • 3.McVeigh J, Winkler E, Healy G, Slater J, Eastwood P, et al. (2016) Validity of an automated algorithm to identify waking and in-bed wear time in hip-worn accelerometer data collected with a 24 h wear protocol in young adults. Physiol Meast 37: 1636 10.1088/0967-3334/37/10/1636 [DOI] [PubMed] [Google Scholar]
  • 4.Gregory AM, Sadeh A (2012) Sleep, emotional and behavioral difficulties in children and adolescents. Sleep Med Rev16: 129–136. [DOI] [PubMed] [Google Scholar]
  • 5.Vriend J, Davidson F, Rusak B, Corkum P (2015) Emotional and Cognitive Impact of Sleep Restriction in Children. Sleep Med Clin 10: 107–115. 10.1016/j.jsmc.2015.02.009 [DOI] [PubMed] [Google Scholar]
  • 6.Bathory E, Tomopoulos S (2017) Sleep Regulation, Physiology and Development, Sleep Duration and Patterns, and Sleep Hygiene in Infants, Toddlers, and Preschool-Age Children. CurrProbl PediatrAdolesc Health Care 47: 29–42. [DOI] [PubMed] [Google Scholar]
  • 7.Toon E, Davey M, Hollis S, Nixon G, Horne R, et al. (2016) Comparison of commercial wrist-based and smartphone accelerometers, actigraphy, and PSG in a clinical cohort of children and adolescents. J Clin Sleep Med 12: 343–350. 10.5664/jcsm.5580 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Meltzer LJ, Hiruma LS, Avis K, Montgomery-Downs H, Valentin J (2015) Comparison of a Commercial Accelerometer with Polysomnography and Actigraphy in Children and Adolescents. Sleep 38: 1323–1330. 10.5665/sleep.4918 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Bélanger M-È, Bernier A, Paquet J, Simard V, Carrier J (2013) Validating actigraphy as a measure of sleep for preschool children. J Clinical sleep Med 9: 701–706. 10.5664/jcsm.2844 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Spruyt K, Gozal D, Dayyat E, Roman A, Molfese DL (2011) Sleep assessments in healthy school-aged children using actigraphy: concordance with polysomnography. J Sleep Res 20: 223–232. 10.1111/j.1365-2869.2010.00857.x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Galland BC, Short MA, Terrill P, Rigney G, Haszard JJ, et al. (2018) Establishing normal values for pediatric nighttime sleep measured by actigraphy: a systematic review and meta-analysis. Sleep 41 10.1093/sleep/zsy017 [DOI] [PubMed] [Google Scholar]
  • 12.Holley S, Hill CM, Stevenson J (2010) A Comparison of Actigraphy and Parental Report of Sleep Habits in Typically Developing Children Aged 6 to 11 Years. Behav Sleep Med 8: 16–27. 10.1080/15402000903425462 [DOI] [PubMed] [Google Scholar]
  • 13.Kinder JR, Lee KA, Thompson H, Hicks K, Topp K, et al. (2012) Validation of a Hip-Worn Accelerometer in Measuring Sleep Time in Children. J Pediatr Nurs 27: 127–133. 10.1016/j.pedn.2010.11.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Sadeh A (2011) The role and validity of actigraphy in sleep medicine: An update. Sleep Med Rev 15: 259–267. 10.1016/j.smrv.2010.10.001 [DOI] [PubMed] [Google Scholar]
  • 15.Freedson PS, John D (2013) Comment on “Estimating Activity and Sedentary Behavior from an Accelerometer on the Hip and Wrist”. Med Sci Sport Exerc 45: 962–963. [DOI] [PubMed] [Google Scholar]
  • 16.van Hees VT, Sabia S, Anderson KN, Denton SJ, Oliver J, et al. (2015) A Novel, Open Access Method to Assess Sleep Duration Using a Wrist-Worn Accelerometer. PLoS ONE 10: e0142533 10.1371/journal.pone.0142533 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Werner H, Molinari L, Guyer C, Jenni OG (2008) Agreement Rates Between Actigraphy, Diary, and Questionnaire for Children's Sleep Patterns. JAMA Pediatrics 162: 350–358. [DOI] [PubMed] [Google Scholar]
  • 18.Borghese MM, Lin Y, Chaput JP, Janssen I (2018) Estimating sleep efficiency in 10- to- 13-year-olds using a waist-worn accelerometer. Sleep Health 4: 110–115. 10.1016/j.sleh.2017.09.006 [DOI] [PubMed] [Google Scholar]
  • 19.Meltzer LJ, Montgomery-Downs HE, Insana SP, Walsh CM (2012) Use of actigraphy for assessment in pediatric sleep research. Sleep Med Rev 16: 463–475. 10.1016/j.smrv.2011.10.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.de Souza L, Benedito-Silva AA, Pires MLN, Poyares D, Tufik S, et al. (2003) Further validation of actigraphy for sleep studies. Sleep 26: 81–85. 10.1093/sleep/26.1.81 [DOI] [PubMed] [Google Scholar]
  • 21.Zinkhan M, Berger K, Hense S, Nagel M, Obst A, et al. (2014) Agreement of different methods for assessing sleep characteristics: a comparison of two actigraphs, wrist and hip placement, and self-report with polysomnography. Sleep Med 15: 1107–1114. 10.1016/j.sleep.2014.04.015 [DOI] [PubMed] [Google Scholar]
  • 22.Meltzer LJ, Wong P, Biggs SN, Traylor J, Kim JY, et al. (2016) Validation of Actigraphy in Middle Childhood. Sleep 39: 1219–1224. 10.5665/sleep.5836 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Tétreault É, Bélanger M-È, Bernier A, Carrier J (2018) Actigraphy data in pediatric research: the role of sleep diaries. Sleep Med 47: 86–92. 10.1016/j.sleep.2017.11.1144 [DOI] [PubMed] [Google Scholar]
  • 24.Migueles JH, Cadenas-Sanchez C, Ekelund U, Delisle Nyström C, Mora-Gonzalez J, et al. (2017) Accelerometer Data Collection and Processing Criteria to Assess Physical Activity and Other Outcomes: A Systematic Review and Practical Considerations. Sports Med 47: 1821–1845. 10.1007/s40279-017-0716-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Tracy DJ, Xu Z, Choi L, Acra S, Chen KY, et al. (2014) Separating Bedtime Rest from Activity Using Waist or Wrist-Worn Accelerometers in Youth. PLoS ONE 9: e92512 10.1371/journal.pone.0092512 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Sadeh A, Sharkey K, Carskadon M (1994) Activity-based sleep-wake identification: An empirical test of methodological issues. Sleep Med Rev 17: 201–207. 10.1093/sleep/17.3.201 [DOI] [PubMed] [Google Scholar]
  • 27.Barkin SL, Heerman WJ, Sommer EC, Martin NC, Buchowski MS, et al. (2018) Effect of a Behavioral Intervention for Underserved Preschool-Age Children on Change in Body Mass Index: A Randomized Clinical Trial. JAMA 320: 450–460. 10.1001/jama.2018.9128 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Po'e EK, Heerman WJ, Mistry RS, Barkin SL (2013) Growing Right Onto Wellness (GROW): A family-centered, community-based obesity prevention randomized controlled trial for preschool child-parent pairs. Contemp Clin Trials 36: 436–449. 10.1016/j.cct.2013.08.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Choi L, Liu Z, Matthews CE, Buchowski MS (2011) Validation of accelerometer wear and nonwear time classification algorithm. Med Sci Sports Exerc 43: 357–364. 10.1249/MSS.0b013e3181ed61a3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Tracy JD, Acra S, Chen KY, Buchowski MS (2018) Identifying bedrest using 24-h waist or wrist accelerometry in adults. PLoS ONE 13: e0194461 10.1371/journal.pone.0194461 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Nelder JA, Mead R (1965) A Simplex Method for Function Minimization. Computer J 7: 308–313. [Google Scholar]
  • 32.Meredith-Jones K, Williams S, Galland B, Kennedy G, Taylor R (2016) 24 h Accelerometry: impact of sleep-screening methods on estimates of sedentary behaviour and physical activity while awake. J Sports Sci 34: 679–685. 10.1080/02640414.2015.1068438 [DOI] [PubMed] [Google Scholar]
  • 33.Tudor-Locke C, Barreira TV, Schuna JM, Mire EF, Katzmarzyk PT (2013) Fully automated waist-worn accelerometer algorithm for detecting children’s sleep-period time separate from 24-h physical activity or sedentary behaviors. Appl Physiol Nutr Metab 39: 53–57. 10.1139/apnm-2013-0173 [DOI] [PubMed] [Google Scholar]
  • 34.Cohen J (1968) Weighted kappa: nominal scale agreement with provision for scaled disagreement or partial credit. Psychol Bull 70: 213–220. 10.1037/h0026256 [DOI] [PubMed] [Google Scholar]
  • 35.Tudor-Locke C, Mire EF, Barreira TV, Schuna JM, Chaput JP, et al. (2015) Nocturnal sleep-related variables from 24-h free-living waist-worn accelerometry: International Study of Childhood Obesity, Lifestyle and the Environment. Intern J Obes Suppl 5: S47–S52. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Ancoli-Israel S, Martin JL, Blackwell T, Buenaver L, Liu L, et al. (2015) The SBSM Guide to Actigraphy Monitoring: Clinical and Research Applications. Behavi Sleep Med 13: S4–S38. 10.1080/15402002.2015.1046356 [DOI] [PubMed] [Google Scholar]
  • 37.Clevenger KA, Pfeiffer KA, Mackintosh KA, McNarry MA, Brønd J, et al. (2019) Effect of sampling rate on acceleration and counts of hip- and wrist-worn ActiGraph accelerometers in children. Physiol Meas 40: 095008 10.1088/1361-6579/ab444b [DOI] [PubMed] [Google Scholar]

Decision Letter 0

Raffaele Ferri

2 Nov 2020

PONE-D-20-27484

Identifying bedrest using waist-worn triaxial accelerometers in preschool children

PLOS ONE

Dear Dr. Buchowski,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please address all comments by the reviewer.

Please submit your revised manuscript by Dec 17 2020 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

We look forward to receiving your revised manuscript.

Kind regards,

Raffaele Ferri, MD

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please ensure that you refer to Figure 3 in your text as, if accepted, production will need this reference to link the reader to the figure.

3. We note that you have stated that you will provide repository information for your data at acceptance. Should your manuscript be accepted for publication, we will hold it until you provide the relevant accession numbers or DOIs necessary to access your data. If you wish to make changes to your Data Availability statement, please describe these changes in your cover letter and we will update your Data Availability statement to reflect the information you provide.

4. Thank you for stating in your Funding Statement:

"This research was supported by the National Institutes of Health (NIH) grants HL103620 and HL103561 from the National Heart, Lung, and Blood Institute and the Eunice Kennedy Shriver National Institute of Child Health and Development and the Office of Behavioral and Social Sciences Research: https://www.nih.gov/. Additional funds were provided by grants DK058404 and DK20593 from the National Institute of Diabetes and Digestive and Kidney Diseases: https://www.nih.gov. The REDCap Database was supported by TR000445 from the National Center for Advancing Translational Sciences: https://www.nih.gov/. WJH was supported by K23 HL127104 grant from the National Heart Lung and Blood Institute: https://www.nih.gov/.

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript."

i) Please provide an amended statement that declares *all* the funding or sources of support (whether external or internal to your organization) received during this study, as detailed online in our guide for authors at http://journals.plos.org/plosone/s/submit-now.  Please also include the statement “There was no additional external funding received for this study.” in your updated Funding Statement.

ii) Please include your amended Funding Statement within your cover letter. We will change the online submission form on your behalf.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: Authors have shared an interesting article about the validation of an adapted algorithm for identification and differentiation of bedrest and wake periods using wait-worm triaxial accelerometers. The work is well structured and includes comprehensive description of methodology and statistical analyses.

My biggest concern regards to the fairness of the comparison approach with other methods, in particular to what respects to the omission of the role that the database variability effect might play on the results, possibly penalizing performance of the other methods. In effect, authors openly admit, and experimental results also confirm, that usage of the proposed DT(-Youth) algorithm on different age groups (in this case, preschool vs older children) does require reconfiguration, namely different values for the four parameters (block length, threshold, bedrest-start trigger, and bedrest-end trigger) guiding the decision algorithm. Given for example, the benchmarked Sadeh´s algorithm was probably developed based on data other than the Growing Right Onto Wellness dataset used in this study (meaning different subjects and signal characteristics), it is somehow expected that performance could drop when comparing it with an algorithm that was optimized for the mentioned dataset.

A more fair comparison would be to use a third, completely independent dataset to all the involved algorithms in the comparison, to test the real generalization capabilities of each one.

Authors should develop into this point, and at the very least include the issue into the discussion and address it as a possible limitation.

Authors should also elaborate more on the specific differences between the current version of the DT algorithm proposed and the previously reported, here referred as DT-Youth. It is just about finding a different set of configuration parameters optimized for each targeted age group for the same algorithm? Or are the two methods intrinsically different?

Necessity to reparametrize the algorithm on each case could be seen as an additional limiting factor. Apparently every potential user would have to run an optimization procedure similar to the one described by the authors to discover the optimal parameters for their specific local database, which seems rather unpractical, unless any general rule-of-thumb can be derived a priori to find an appropriate set.

An additional point that requires further clarification is that one of the main reasons motivating this work is that, to the author´s knowledge, “no accelerometry-based algorithm validation studies in healthy preschool children have been reported” (lines 77-78). What are the reasons for which authors have opted not to include the work referenced in [9] into this discussion?

Minor comments:

Though Table 4 suggest that no abrupt differences exist in the balance of cases among the two categories considered (bedrest, wake), it would be nice to mention the exact amount of cases on the development and validation subsets, according to the gold standard, in this case, the expert’s classifications. If classes would result unbalanced then adding kappa to the reported list of performance statistics might be a better choice than accuracy, as kappa compensates for agreement due to chance, i.e. in case the a priori probability of one class if significantly bigger than the other. It would also allow comparison of the kappa agreement reported to evaluate the expert’s inter-scorer reliability.

There is possibly a typo when referencing to Fig. 2 in line 334, which I think it should be Fig. 3 instead.

In addition, I would suggest reconsidering Fig.3 in general and stick reporting to the Area Under to ROC Curve for the final optimum point for the different algorithms, as there is no much interest in reporting the intermediate values during the optimization process. Usually one reports ROC curves to compare different operating final points of an algorithm. Regardless, if decided to report (or display) the results in both the development and validation subsets, identify them more clearly. Now assuming the big plot corresponds to development and the smaller one to the validation set.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2021 Jan 28;16(1):e0246055. doi: 10.1371/journal.pone.0246055.r002

Author response to Decision Letter 0


23 Dec 2020

Reviewer #1: Authors have shared an interesting article about the validation of an adapted algorithm for identification and differentiation of bedrest and wake periods using wait-worm triaxial accelerometers. The work is well structured and includes comprehensive description of methodology and statistical analyses.

Response: Thank you very much.

1. My biggest concern regards to the fairness of the comparison approach with other methods, in particular to what respects to the omission of the role that the database variability effect might play on the results, possibly penalizing performance of the other methods. In effect, authors openly admit, and experimental results also confirm, that usage of the proposed DT(-Youth) algorithm on different age groups (in this case, preschool vs older children) does require reconfiguration, namely different values for the four parameters (block length, threshold, bedrest-start trigger, and bedrest-end trigger) guiding the decision algorithm. Given for example, the benchmarked Sadeh's algorithm was probably developed based on data other than the Growing Right Onto Wellness dataset used in this study (meaning different subjects and signal characteristics), it is somehow expected that performance could drop when comparing it with an algorithm that was optimized for the mentioned dataset. A more fair comparison would be to use a third, completely independent dataset to all the involved algorithms in the comparison, to test the real generalization capabilities of each one.

Authors should develop into this point, and at the very least include the issue into the discussion and address it as a possible limitation.

Response. We agree with the Reviewer. Having an independent dataset would be an excellent addition to the study, but we did not have such a dataset available. As the Reviewer suggested, we added this concern to the study limitations. We also included the Reviewer's suggestion as one of the directions for future studies.

Lines 422-425. Better performance of DT than Sadeh's algorithm could be expected since Sadeh's algorithm was developed in a different population and using a different study protocol [26]. A more objective comparison of algorithms' generalization capacity would be achieved using an independent preschool-age child dataset.

Lines 476-479. The DT should also be validated in other studies with an independent sample of preschool-age children performed in a different environment. However, the DT allows users to adapt it for bedrest identification in various populations and/or using different accelerometers.

Lines 464-467. Future studies should be performed in diverse populations to test and calibrate the DT against PSG and compare it with other automatic algorithms that use different accelerometry data measures such as arm angle or gravitational acceleration data expressed in grams [16].

2. Authors should also elaborate more on the specific differences between the current version of the DT algorithm proposed and the previously reported, here referred as DT-Youth. It is just about finding a different set of configuration parameters optimized for each targeted age group for the same algorithm? Or are the two methods intrinsically different?

Response. As the Reviewer pointed out, the DT algorithm is based on the DT-Youth. The significant enhancements are using vector magnitude (VM) and using data from several days of recordings.

Lines 411-419. The current study took advantage of technological advancements and used VM calculated from counts recorded by three distinct axes to measure movement. We compared the DT performance to identify bedrest for VM and single-axis (vertical) recordings in the validation group and found that both sensitivity and specificity were higher for VM than single-axis data. We recommend that studies assessing bedrest/sleep in preschool children using triaxial accelerometers utilize VM rather than single-axis data. Another advantage of using the modified algorithm is its ability to identify short naps (30-60 min) usually occurring during the day and using data from several days of accelerometer recordings.

3. Necessity to reparametrize the algorithm on each case could be seen as an additional limiting factor. Apparently every potential user would have to run an optimization procedure similar to the one described by the authors to discover the optimal parameters for their specific local database, which seems rather unpractical, unless any general rule-of-thumb can be derived a priori to find an appropriate set.

Response. The study's goal was to modify the existing algorithm that could be used in healthy 3-6-year-old children. We believe that the algorithm we propose offers robust performance in healthy preschool children. Using the set of parameters (block length, threshold, bedrest-start trigger, and bedrest-end trigger) has been validated in youth (ref #25) and adults (ref #30). The optimal values for these parameters are default in the algorithm's package. However, the program allows investigators to change the parameters' value if they choose.

Lines 473-479: Second, the study results are specific to 3-6 years old, healthy children. However, we believe the set of parameters (block length, threshold, bedrest-start trigger, and bedrest-end trigger) optimized in this study ensures very good DT performance in all preschool children. The DT should also be validated in other studies with an independent sample of preschool-age children and performed in a different environment. However, the DT allows users to adapt it for bedrest identification in various populations and/or using different accelerometers.

4. An additional point that requires further clarification is that one of the main reasons motivating this work is that, to the authors' knowledge, no accelerometry-based algorithm validation studies in healthy preschool children have been reported" (lines 77-78). What are the reasons for which authors have opted not to include the work referenced in [9] into this discussion?

Response. Thank you for reading our manuscript in detail. The reason for not including Belanger et al. (reference 9) study was that it was performed using an Actiwatch accelerometer that uses recordings from a single axis. The results (counts) are not comparable with results from other accelerometers, including tri-axial accelerometers. In other words, Belanger’s algorithm(s) cannot be used directly for processing data from the Actigraph-GT3X accelerometer used in our study. We used Actigraph because it generates data in g-units, and it is triaxial, allowing the calculation of vector magnitude (VM) useful in assuming physical activity. Actigraph is used in many US studies in children and adults, including the National Health and Nutrition and Examination Survey (NHANES). Relatively widespread use of this accelerometer makes it easier to compare results among studies.

We clarified the statement and included additional information about reference 9 (Belenger et al. 2013).

Lines 79-85: Recently, Belanger et al. [9] developed two algorithms for the wrist-worn and ankle-worn single-axis Actiwatch accelerometer using data from 2-5 years old children (n=12) during nighttime sleep. However, no triaxial accelerometer-based algorithm validation studies in healthy preschool children have been reported to our knowledge. The present study aims to fill a gap in the literature by identifying bedrest periods that include nighttime sleep and daytime naps from data from accelerometers collected for several days with a high degree of accuracy.

Minor comments:

1. Though Table 4 suggest that no abrupt differences exist in the balance of cases among the two categories considered (bedrest, wake), it would be nice to mention the exact amount of cases on the development and validation subsets, according to the gold standard, in this case, the expert's classifications. If classes would result unbalanced then adding kappa to the reported list of performance statistics might be a better choice than accuracy, as kappa compensates for agreement due to chance, i.e. in case the a priori probability of one class if significantly bigger than the other. It would also allow comparison of the kappa agreement reported to evaluate the expert's inter-scorer reliability.

Response. As suggested, we added information about bedrest and wake duration from the visual identification to Table 4 (the relevant part of the table is included below). The differences between the visual classification, DT, Sadeh’s, and Parental survey did not suggest any unexpected differences between the methods. Therefore, we did not perform further statistical analyses. However, if the Reviewer would recommend performing additional statistical analyses, we could include such analyses either in the manuscript or supplementary materials. Also, the agreement between the raters was assessed using accuracy and kappa coefficient, and the agreement was very good.

Lines 325-326: The inter-rater agreement was very good (mean sensitivity, specificity, and accuracy were >0.98 and κ (kappa) = 0.99).

Table 4. Characteristics of bedrest and wake periods identified using DT, Sadeh’s algorithm, and parental survey in the validation group (n=200).

DT

Sadeh’s algorithm Parental survey Visual identification P-value

Bedrest

[min/day]

564 ± 77

(379, 719)

604 ± 80

(379, 813)

650 ± 81

(450, 960)

575 ± 80

(287, 734)

<0.001a,b,c,d,e,f

Wake

[min/day] 680 ± 112

(24, 876) 640 ± 112

(181, 154) - 668 ± 124

(199, 992) <0.001a,c,e

2. There is possibly a typo when referencing to Fig. 2 in line 334, which I think it should be Fig. 3 instead.

Response. Thank you. We did not correct this error because Figure 3 was omitted from the revised manuscript, as suggested by the Reviewer in minor comment 3 (below).

3. In addition, I would suggest reconsidering Fig.3 in general and stick reporting to the Area Under to ROC Curve for the final optimum point for the different algorithms, as there is no much interest in reporting the intermediate values during the optimization process. Usually one reports ROC curves to compare different operating final points of an algorithm. Regardless, if decided to report (or display) the results in both the development and validation subsets, identify them more clearly. Now assuming the big plot corresponds to development and the smaller one to the validation set.

Response. We agree. We have omitted Figure 3 in the revised manuscript.

Editorial comments.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming.

Response. The manuscript meets PLOS ONE's style requirements.

2. Please ensure that you refer to Figure 3 in your text as, if accepted, production will need this reference to link the reader to the figure.

Response. Figure 3 was omitted in the revised manuscript, as recommended by the Reviewer.

3. We note that you have stated that you will provide repository information for your data at acceptance. Should your manuscript be accepted for publication, we will hold it until you provide the relevant accession numbers or DOIs necessary to access your data. If you wish to make changes to your Data Availability statement, please describe these changes in your cover letter and we will update your Data Availability statement to reflect the information you provide.

Response. The relevant data files (with DOIs) are now available in a public repository:

https://figshare.com/articles/dataset/Train_Files/12904124

https://figshare.com/articles/dataset/Test_Files/12904127

4. Thank you for stating in your Funding Statement:

"This research was supported by the National Institutes of Health (NIH) grants HL103620 and HL103561 from the National Heart, Lung, and Blood Institute and the Eunice Kennedy Shriver National Institute of Child Health and Development and the Office of Behavioral and Social Sciences Research: https://www.nih.gov/. Additional funds were provided by grants DK058404 and DK20593 from the National Institute of Diabetes and Digestive and Kidney Diseases: https://www.nih.gov/. The REDCap Database was supported by TR000445 from the National Center for Advancing Translational Sciences: https://www.nih.gov. WJH was supported by K23 HL127104 grant from the National Heart Lung and Blood Institute: https://www.nih.go/.

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript."

i) Please provide an amended statement that declares *all* the funding or sources of support (whether external or internal to your organization) received during this study, as detailed online in our guide for authors at http://journals.plos.org/plosone/s/submit-now. Please also include the statement “There was no additional external funding received for this study.” in your updated Funding Statement.

ii) Please include your amended Funding Statement within your cover letter. We will change the online submission form on your behalf.

Response. Updated funding statement is included in the cover letter.

Attachment

Submitted filename: Response to reviewers comments-MSB-final.docx

Decision Letter 1

Raffaele Ferri

6 Jan 2021

PONE-D-20-27484R1

Identifying bedrest using waist-worn triaxial accelerometers in preschool children

PLOS ONE

Dear Dr. Buchowski,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the remaining minor points raised during the review process.

Please submit your revised manuscript by Feb 20 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

We look forward to receiving your revised manuscript.

Kind regards,

Raffaele Ferri, MD

Academic Editor

PLOS ONE

Additional Editor Comments (if provided):

Please address the remaining concern by the reviewer.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: (No Response)

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: I Don't Know

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: I would like to thank the authors on addressing the reviewer´s comments in the first round of review.

I just have one additional comment regarding the last version of the manuscript:

Regarding Table 4, and excluding the new additions regarding Visual identification, I have noticed that numbers regarding remaining categories have changed with respect to the previous version of the manuscript, and also with the parts of Table 4 included in the response to the reviewers.

Please review it carefully, and if applies, explain the reasons behind these changes and modify the corresponding parts in the manuscript text accordingly.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2021 Jan 28;16(1):e0246055. doi: 10.1371/journal.pone.0246055.r004

Author response to Decision Letter 1


8 Jan 2021

We thank the Editor and the Reviewer again for their time and effort spent reviewing our manuscript and providing us with additional suggestions and comments. We hope that our responses address the Reviewer's comments satisfactorily.

*Please note that page numbers reflect those on the redlined document rather than the clean document file.

Reviewer #1: Regarding Table 4, and excluding the new additions regarding Visual identification, I have noticed that numbers regarding remaining categories have changed with respect to the previous version of the manuscript, and also with the parts of Table 4 included in the response to the reviewers.

Please review it carefully, and if applies, explain the reasons behind these changes and modify the corresponding parts in the manuscript text accordingly.

Response: Thank you very much for pointing out this discrepancy. We apologize for the lack of transparency.

The visual identification of bedrest was performed using a labeling software (available at https://github.com/shi-xin/actigraph_labeler), which enabled the user to discard data at the beginning and end of each Actigraph file. The previous Table 4 was produced using data files with only epochs marked as non-wearing removed. The current Table 4 was produced using data files with both non-wearing and discarded epochs removed so that visual identification and DT could be compared on the same epochs (minutes). These discarded epochs were predominantly marked as bedrest by the DT. Therefore, the removal of these epochs from analysis reduced the average bedrest (min/day) to that seen in the new Table 4. As recommended by the Reviewer, the corresponding parts in the manuscript text were modified.

Lines 144-145: The software enabled the raters to discard data at the beginning and end of each Actigraph file.

Lines 290-292: Bedrest characteristics were performed after epochs (minutes) of not-wearing and discarded in visual identification were removed.

Lines 352-356: As identified by DT and shown in Table 4, the average daily bedrest time was over 9 hours (502 ± 62 min/day), ranging from almost 5 hours (294 min/day) to over 10 hours (652 min/day). Mean sleep duration obtained from the parental survey was significantly longer than bedrest identified by DT (650 and 502 min/day; P<0.001), Sadeh’s algorithm (650 and 604 min/day; P<0.001), and visual identification (650 and 502 min/day; P<0.001).

Lines 371-376: On average, the wake time identified by DT was over 11 hours (734 min/day) and was longer than Sadeh's algorithm (693 min/day). The number of children taking naps reported in the parental survey (n=45) was lower than the DT identified (n=134). Naps were identified by DT in 67% of the children at least once during the monitoring period. In children whose parents reported taking daytime naps daily (23%), the naps frequency was higher than those identified by DT (1.05 ± 0.27 and 0.25 ± 0.24).

Attachment

Submitted filename: Response to reviewers comments-01-09-2020-MSB.docx

Decision Letter 2

Raffaele Ferri

13 Jan 2021

Identifying bedrest using waist-worn triaxial accelerometers in preschool children

PONE-D-20-27484R2

Dear Dr. Buchowski,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Raffaele Ferri, MD

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Acceptance letter

Raffaele Ferri

19 Jan 2021

PONE-D-20-27484R2

Identifying bedrest using waist-worn triaxial accelerometers in preschool children

Dear Dr. Buchowski:

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

If we can help with anything else, please email us at plosone@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Raffaele Ferri

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Nelder-Mead simplex optimization progression for True 2 dataset.

    (TIF)

    S1 Table. Parameters sets used to initialize DT (decision tree) algorithm optimization using the Nelder-Mead simplex procedure.

    (DOCX)

    S2 Table. Progression of the optimization of decision tree (DT) algorithm parameters.

    (DOCX)

    S3 Table. Comparison of decision tree (DT) algorithm performance between vector magnitude (VM) and single-axis (vertical) recordings in the validation group (n = 200).

    (DOCX)

    S4 Table. Comparison between performance between decision tree (DT) and Sadeh’s algorithm using recordings from the vertical axis in the validation group (n = 200).

    (DOCX)

    Attachment

    Submitted filename: Response to reviewers comments-MSB-final.docx

    Attachment

    Submitted filename: Response to reviewers comments-01-09-2020-MSB.docx

    Data Availability Statement

    All raw data files are available from the Figshare database: https://figshare.com/articles/dataset/Train_Files/12904124 and https://figshare.com/articles/dataset/Test_Files/12904127.


    Articles from PLoS ONE are provided here courtesy of PLOS

    RESOURCES