Issue Retrieving SRI2 Values in Updated GGIR Version

14 views
Skip to first unread message

Arpita Ghorai

unread,
Apr 30, 2025, 3:16:03 PMApr 30
to R package GGIR

Hi Vincent, Thank you so much for all your support and guidance with GGIR — it’s greatly appreciated.

I’ve been having some trouble obtaining the correct SRI results with the updated version of GGIR. I went through your documentation on the updated SRI implementation and was able to retrieve the SRI1 values in Part 4, which are slightly lower—similar to what I observed in the older version of GGIR.

However, I wasn’t able to find the SRI2 values that are supposed to be included in the Part 6 output. I’ve attached both my GGIR script and the Part 6 output file for your reference.

Thanks again for your help!


GGIR_shell_script.R
part6_summary.csv

Vincent van Hees

unread,
May 15, 2025, 3:30:10 AMMay 15
to Arpita Ghorai, R package GGIR
Dear Arpita,

I’ve been having some trouble obtaining the correct SRI results with the updated version of GGIR. I went through your documentation on the updated SRI implementation and was able to retrieve the SRI1 values in Part 4, which are slightly lower—similar to what I observed in the older version of GGIR.

Yes, that is what we expect. SRI1 is still exactly the same as what we had before to ensure consistency as I explain in https://wadpac.github.io/GGIR/articles/SleepRegularityIndex.html.
Only if you change the parameter values related to SRI1 we would expect different estimates. Finding the right set of parameters values related to SRI1 to ensure improved consistency is a research question that needs to be addressed by the research community (where I am happy to provide support as a paid consultant where needed).
However, I wasn’t able to find the SRI2 values that are supposed to be included in the Part 6 output. I’ve attached both my GGIR script and the Part 6 output file for your reference.
I am not able to reproduce your problem with this description, please provide a minimal reproducible example of the problem. Further, as stated in the text: SRI2 is designed to work in combination with the experimental nap detection. If you do not use this then SRI2 is not going to be informative as it will ignore all naps.
Best wishes,
Vincent

--
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, visit https://groups.google.com/d/msgid/RpackageGGIR/CA%2B4RfBUtJG86n66i%2B8N8qoPcKgEcRtQ9ct41PDohG0yukusrsA%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages