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.
where $x_{i}$ is the number of active (counts higher than a
predefined threshold) minutes during the $i^{th}$ period,
$\bar{x}$ is the mean of all data and $n$ is the number of
periods covered by the actigraphy data and with:
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 (usingddof=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 $x_{i}$ is the number of active (counts higher than a predefined threshold) minutes during the $i^{th}$ period, $\bar{x}$ is the mean of all data and $n$ is the number of periods covered by the actigraphy data and with:
What the current implementation does
with:
and: