Skip to main content
. 2020 Oct 23;20(21):6031. doi: 10.3390/s20216031
Algorithm 2 Procedure to replace missing values
Start of Loop, For each missing values of task durations (tDuration_1 to tDuration_8)
Step 1. tDuration = Column name of the missing value
Step 2. Category = category of the missing value (Cognitively-Impaired or Cognitively-Healthy)
Step 3. MaxValue = Maximum value from the set [Category, tDuration]
Step 4. Replace the missing value with two times of “MaxValue”.Continue the loop till the last missing value of the task durations.
Step 5. Re-calculate the “TotalTime” parameter with the updated values from tDuration_1 to tDuration_8