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 1 CAAB approach
1: Input: Activity performance features
2: Output: Statistical activity features
3: Initialize: Feature vector
4: //T1 and T2 are two consecutive clinical testing time points
5: Given: T1,T2
6: Given: skip size = 1
7: while T1 < (T2W) do
8: for each activity performance feature do:
9:   Place a window of size W at T1.
10:   Remove missing observations and detrend based on the observations that fall into this window.
11:   Calculate the variance, autocorrelation, skewness, kurtosis and change features (Algorithm 2) using the observations in the window.
12:   Append these values to the feature vector.
13:   T2 = T1 + skip size
14: end foreach
15: end while
16: return average(Feature matrix)