Cointegration analysis method for fault detection based on sensor data