Wavelet-based sit-to-stand detection and assessment of fall risk in older people using a wearable pendant device