{'fraction_non_alphanumeric': 0.03066812705366922, 'fraction_numerical': 0.002190580503833516, 'mean_word_length': 5.256849315068493, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Development and testing of methods for detecting off-wrist in actimetry recordings.

STUDY OBJECTIVES
In field studies using wrist-actimetry, not identifying/handling off-wrist intervals may result in their misclassification as immobility/sleep and biased estimations of rhythmic patterns. By comparing different solutions for detecting off-wrist, our goal was to ascertain how accurately they detect nonwear in different contexts, and identify variables that are useful in the process.


METHODS
We developed algorithms using heuristic (HA), and machine learning (ML) approaches. Both were tested using data from a protocol followed by 10 subjects, which was devised to mimic contexts of actimeter wear/nonwear in real-life. Self-reported data on usage according to the protocol was considered the gold standard. Additionally, the performance of our algorithms was compared to that of visual inspection (by 2 experienced investigators) and Choi algorithm. Data previously collected in field studies were used for proof-of-concept analyses.


RESULTS
All methods showed similarly good performances. Accuracy was marginally higher for one of the raters (visual inspection) than for heuristically developed algorithms (HA, Choi). Short intervals (especially <2h) were either not or only poorly identified. Consecutive stretches of zeros in activity were considered important indicators of off-wrist (for both HA and ML). It took hours for raters to complete the task as opposed to the seconds or few minutes taken by the automated methods.


CONCLUSIONS
Automated strategies of off-wrist detection are similarly effective to visual inspection, but have the important advantage of being faster, less costly, and independent of raters' attention/experience. In our study, detecting short intervals was a limitation across methods.