I don't have the exact number of subjects with the misalignment issue. I was trying to do a validation study between Actigraphy and PSG to detect sleep timing, but found this issue. So, I looked plots from around a hundred of subjects and noticed not a couple of cases with misalignment, but more than that. Then, I posted this issue here because all 1800+ subjects by my eyeballing would take too much time without guarantee that I correctly matched the two data sets.
Thank you for more details about what happened during the study. MESA ID: 1374 looks weird (seems an hour misalignment) compared to the other two MESA ID 3931 and 3529 (seems well aligned). What I see from data is summarized below.. Those time correction is solely from my "guesstimates"... Also, I definitely see about an hour misalignment of actigraphy data from group 2 to group 3 possibly due to a daylight saving.
• 3931: ok
• 1374: - an hour misalignment
• 3529: ok
• 2828: - 5 min
• 1227: - 5 min
• 3819: - 5 min
• 5793: + 55 min
• 2820: + 55 min
• 5303: an hour
• 6318: an hour
Here are plots for each group
Yes, I checked data for MESA ID 5303. That data was misaligned about an hour like MESA ID 6318.
Thank you for looking into this. As you mentioned that PSG and actigraphy devices were meant to be initialized and setup on the same computer such that the internal timekeeping would match. but they seem NOT. I saw a lot of cases that do not match in practice. When they matched, the patterns should be consistent. This is the reason why actigraphy would be an alternative way to PSG to detect sleep timings and period. Here are some subjects where their patterns are well matched (mesa id: 0001, 0002, 0183, 0188).
However, the below shows when they do not match....(mesa id: 4892, 5187, 5827, 6318, and more) That is, misalignment.
MESA ID 4892: an hour mismatch
MESA ID 5187: 47 min mismatch
MESA ID 5827: an hour mismatch
MESA ID 6318: an hour mismatch
Please take this misalignment issue more carefully? This MESA Sleep data is important for our research.......
I am noticing many subjects with temporal misalignment between actigraphy data and PSG data.
For instance, for mesa id 4892, actigraphy data were merged with PSG data based on the overlap file b/c the overlap file shows where to merge between the two files. As you can see the below figures, the first figure shows that activity counts from actigraphy data and vertical lines shows PSG where PSG data start and end. On the figure, red dots and black dots below blue activity counts show where sleep and wake occurred from PSG. Looking at the first figure made me wonder why there is no counts of activity, but wake from PSG?? After moving one hour of actigraphy data (the second figure), I was certain that there was misalignment between two data sets. That is, information provided by the overlap data obviously is incorrect. This case with mesa id 4892 is not the only case. I found many cases. Would you please correct the overlap file?