Application Of Statistical Physics In Time Series Analysis