Skip to main content
. Author manuscript; available in PMC: 2017 Jul 1.
Published in final edited form as: IEEE J Biomed Health Inform. 2015 Aug 17;20(4):1188–1194. doi: 10.1109/JBHI.2015.2445754

Algorithm 2 Calculation of change feature
1: Input: Activity performance features
2: Initialize: CH = [ ]
3: //T1 and T2 are two consecutive clinical testing time points
4: Given: T1,T2
5: Given: skip size = 1
6: W = window size
7: while do T1 < (T2W):
8: for each activity performance feature do:
9:   Place window of size W at T1.
10:   Remove missing values that fall into this window.
11:   Put first half of W in the group A and second half in the group B.
12:   //Returns True or False.
13:   change = Hotelling T-test (A,B)
14:   append(CH, change)
15:   T1 = T1 + skip size
16: end foreach
17: end while
18: return average(CH)