Statistical analysis of time series with scaling indices