“…Although some sensors can be like motion detectors naturally described by symbolic data, theirs, such as the bed sensor, can be quantified. This was our case bed motion sensor for which the movement of the bed was empirical divided [11] into 4 categories: less than 3s, 3-7s, 7-14s, plus only 14 s (sensor ID 1-4 in Table I). Given two discrete time series S1 = {(s11 t11)... (s1n t1n)} of length n and s2 = {(s21 t21), ..., (s2m t2m)} of length m, with s1i, s2j € ∑ ,,, we can calculate their TSW similarity, TSW (S1, S2), using the following algorithm [26]:…”