Approach for restoration of missing data, long-term time series and generalization of results