## 4 Methods
### Feature Extraction
\begin{table}
\begin{tabular}{l l l l} \hline \hline
**Data** & **Feature** & **Description** & **Function Used for** \\
**Modality** & **Feature** & **Description** & **Biweekly FE** \\ \hline Step & step-sum & Total number of steps per day & sum \\  & step-ratio & The ratio of the number of hours with step to the number of hours & mean \\  & step-mean & Average number of steps in hours of a day with at least one step & mean \\  & step-max & Maximum number of steps in hours of a day with at least one step & max \\  & step-max-timestamp & The timestamp (hour) in which there has been a maximum number of & mean \\  & steps a day & & \\ \hline Heart rate & heart rate-min & Minimum heart rate in a day & min \\  & heart rate-max & Maximum heart rate in a day & max \\  & heart rate-mean & Mean of heart rate in a day & mean \\  & heart rate-std & Standard deviation of heart rate in a day & mean \\ \hline Acceleration & acceleration-sum & Total number of acceleration data per day & sum \\  & \(l2\)-mean & Mean of the ACC signal (\(g\)) & mean \\  & \(l2\)-std & Standard deviation of the ACC signal (\(g\)) & mean \\  & \(l2\)-min/\(l2\)-max & Minimum and maximum of the ACC signal (\(g\)) & mean \\  & \(l2\)-ptp & Range (peak to peak) of the ACC signal (\(g\)) & mean \\  & \(l2\)-sum & Sum of the ACC signal (\(g\)) & mean \\  & \(l2\)-energy & Energy of the ACC signal (\(g^{2}\)) & mean \\  & \(l2\)-skewness & Skewness of the ACC signal (\(g\)) & mean \\  & \(l2\)-kurtosis & Kurtosis of the ACC signal & mean \\  & \(l2\)-peaks & Number of the ACC signal & mean \\  & \(l2\)-rms & Root mean square of the ACC signal (\(g\)) & mean \\  & \(l2\)-lineintegral & Integral under the ACC signal & mean \\  & \(l2\)-n-above-mean & Number of the ACC signal above the mean & mean \\  & \(l2\)-n-below-mean & Number of the ACC signal below the mean & mean \\  & \(l2\)-n-sign-changes & Number of changes in the ACC signal slope & mean \\  & \(l2\)-iqr & Interquartile range between the 25 th and 75 th percentiles of the ACC & mean \\  & \(l2\)-iqr-5-95 & Interquartile range between the 5 th and 95 th percentiles of the ACC & mean \\  & \(l2\)-pct-5 & 5 th percentile of the ACC signal & mean \\  & \(l2\)-pct-95 & 95 th percentile of the ACC signal & mean \\  & \(l2\)-entropy & Entropy of the ACC signal & mean \\  & \(l2\)-pern-entropy & Permutation entropy of the ACC signal & mean \\  & \(l2\)-svd-entropy & Singular value decomposition of the ACC signal & mean \\ \hline Position & position-count & Total number of position data per day & sum \\  & position-duration & The duration (in minutes) of being outside of the home in a day & sum \\  & position-maximum-distance & The maximum distance traveled from home in a day & max \\  & Time spent outside (mins) & Amount of time spent outside of the home in a day & sum \\  & Distance travelled from home & Distance traveled from the home in a day & sum \\  & (km) & & \\ \hline Motion & motion-sum & Total number of motions per day & sum \\  & motion-ratio & The ratio of the number of hours with motion to the number of hours & mean \\  & & without motion per day & \\  & motion-mean & Average number of motions in hours of a day with at least one motion & mean \\  & motion-max & Maximum number of motions in hours of a day with at least one motion & max \\  & motion-max-timestamp & The timestamp (hour) in which there has been a maximum number of & mean \\  & motions a day & & \\ \hline Sleep & totalsleepduration & Total sleep duration (hours) & sum \\  & degesplevduration & Deep sleep duration (hours) & sum \\  & lightsleepduration & Light sleep duration (hours) & sum \\  & remsleepduration & REM sleep duration (hours) & sum \\  & snoring & Snoring duration (hours) & sum \\  & durationtosiegel & Duration to sleep (hours) & mean \\  & durationtowakeup & Duration to wake up (hours) & mean \\  & wakepcount & Wake up count (count) & sum \\  & hr-average & Mean of heart rate during sleep & mean \\  & hr-min & Minimum heart rate during sleep & min \\  & hr-max & Maximum heart rate during sleep & max \\ \hline \hline \end{tabular}
\end{table}