Protocol Wear Time window

44 views
Skip to first unread message

Marion B.

unread,
Sep 22, 2023, 2:16:54 PM9/22/23
to R package GGIR
Hello, 

I have a protocol using the GT3x+ Actigraph where devices were programed, sent to participants with instruction to wear the device for 3 consecutive day and then sent back to our lab. For example I have a participant that completed the protocol after 7 days vs another participant who completed the protocol after 30+ days. 

The devices were initialized to collect data for up to 3+ months so that participants would have enough time to wear the device, and then mail it back.  Is there a way in GGIR to correct for this, and take into account only the 3 days of measurement that would be valid? 

My initial thoughts were to solve this issue in part to by setting strategy = 3 and then ndayswindow Numeric (default = 4), but am not sure if that is the best approach. My end goal is to get accurate estimations of mean ENMO based on the 3 day measurement protocol

 #-------------------------------
               # Part 1 parameters:
               #-------------------------------
               windowsizes = c(5,900,3600),
               do.cal=TRUE,
               do.enmo = TRUE,
               do.anglez=TRUE,
               chunksize=1,
               printsummary=TRUE,
               #-------------------------------
               # Part 2 parameters:
               #-------------------------------
               strategy = 3,
               ndayswindow=4,
               hrs.del.start = 1,
               hrs.del.end = 1,
               maxdur = 9,
               includedaycrit = 16,
               L5M5window = c(0,24),
               M5L5res = 10,
               winhr = c(5,10),
               qlevels = c(c(1380/1440),c(1410/1440)),
               qwindow=c(0,24),
               ilevels = c(seq(0,400,by=50),8000),
               mvpathreshold =c(100,200,300,400,500)
               #-------------------------------





Vincent van Hees

unread,
Sep 25, 2023, 11:46:39 AM9/25/23
to Marion B., R package GGIR
Hello Marion,

My initial thoughts were to solve this issue in part to by setting strategy = 3 and then ndayswindow Numeric (default = 4), but am not sure if that is the best approach. My end goal is to get accurate estimations of mean ENMO based on the 3 day measurement protocol.

Yes, that would be the most intuitive solution. Another option is strategy = 5 which selects the most active consecutive calendar days (start at midnight) rather than 24 hour windows (start any time of the day).

Ideally, GGIR then recognises that the accelerometer was worn for only 3 out of the 7 days.
For the recordings with visibly shorter wear duration you could maybe re-run GGIR with ndayswindow set to 4 or 3?

If that does not work and if you are interested in financially supporting the development of alternative solutions then please send me a personal message.

Vincent

Dr. Vincent van Hees | Independent consultant | https://accelting.com/
image

------- Original Message -------
--
You received this message because you are subscribed to the Google Groups "R package GGIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to RpackageGGIR...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/6d97e9b3-037d-4918-ba46-d22d5ba2bb9cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages