International Journal of
Physical Sciences

  • Abbreviation: Int. J. Phys. Sci.
  • Language: English
  • ISSN: 1992-1950
  • DOI: 10.5897/IJPS
  • Start Year: 2006
  • Published Articles: 2557

Full Length Research Paper

Temporal modeling and its application for anomaly detection in smart homes

M. R. Alam1, M. B. I. Reaz2* and H. Husain2
  1Institute of Microengineering and Nanoelectronics, Universiti Kebangsaan Malaysia, 43600 Bangi, Selangor, Malaysia. 2Department of Electrical, Electronic and Systems Engineering, Universiti Kebangsaan Malaysia 43600 Bangi, Selangor, Malaysia.
Email: [email protected]

  •  Accepted: 30 September 2011
  •  Published: 30 November 2011



Classification and modeling of activity duration provide significant characteristics to estimate the psychological behaviour of a smart home resident. This article validates the fact, which was only an assumption previously, that smart home event duration can be modeled in Gaussian distribution. It proposes a temporal prediction algorithm based on Gaussian distribution to predict the duration of an event interval, which approximates the ending time of the smart home user’s activities. It incrementally estimates the ending time of an event that follows the central limit theory of statistical probability. The results and analysis imply that temporal duration follows Gaussian distribution, which expresses almost the same property of Gaussian equation. The algorithm is verified with significant amount of MavHome and MIT PlaceLab smart home sensory data, which exhibit 88.3 and 90.3% prediction accuracies respectively. Finally, the proposed temporal algorithm is utilized for temporal anomaly detection, which has detected 54 and 46 abnormal behaviour when tested with MavLab and MIT PlaceLab data respectively.


Key words: Temporal duration, smart homes, Gaussian distribution, prediction algorithm, temporal prediction, anomaly detection.