Stav dette: Time series analysis and its applications with R examples