Mismatch between documentation and code for the computation of non parametric variables IS and IV
achey2016 opened this issue · comments
The documentation for IS and IV use formula with uncorrected variance
but the code use pandas.Series.var without specifying ddof=0
, which by default correct for bias (using ddof=1
).
For long recordings the results should be almost the same but for shorter recordings it could lead to slight differences with other tools.
in the documentation for IS
This variable is defined in [1]:
with:
where
predefined threshold) minutes during the
periods covered by the actigraphy data and with:
What the current implementation does
with:
and: