Doctoral dissertation: Advances in Analysing Temporal Data