GGIR icon indicating copy to clipboard operation
GGIR copied to clipboard

HASIB.algo="NotWorn" algorithm is not very intuitive

Open vincentvanhees opened this issue 2 years ago • 0 comments

In https://github.com/wadpac/GGIR/blob/82b7c3363b063bc02c6e7b8b19d251315f7c75ad/R/HASIB.R#L225-L231 we have an algorithm that is used in the scenario of studies where the accelerometer is not worn during the night and the researcher still wants to get passed the sleep analyses in part 3 and 4. Such studies are less common nowadays.

  • [ ] I recently tidied up HASPT.algo ="NotWorn" and I think the same tidy up is needed for HASIB.algo="NotWorn", for example it derives a threshold based on the distribution of x and then applies the threshold to a transformed version of x.

  • [ ] It may be good to set both HASPT.algo and HASIB.algo to "NotWorn" in check_params.R when one of them is set to "NotWorn".

vincentvanhees avatar Mar 14 '24 08:03 vincentvanhees