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 |