Using multivariate statistical methods to detect fires