Research Article

Predicting Spare Parts Inventory of Hydropower Stations and Substations Based on Combined Model

Algorithm 2

Prediction of a linear autocorrelation.
Input:
Step1. Calculate and for ARMA ()
 for  = 0 to M % M is a positive integer
  for  = 0 to K % K is a positive integer
   
  end
 end
 if AIC is minimum
 output
Step2. Forecast the time series using ARMA ().
Step3. Get % prediction values
Step4. % residuals
Output: and