Analysis of sensor data