Assessing Stationarity in Univariate Time Series with Applications in Physics and Finance