|
Algorithm 1 Algorithm for time series forecasting |
Input: QoS data D Output: Predicted QoS values
-
1:
Analyze the QoS data D. Services pairs are selected out based on the pairwise comparison model, the comparison is obtained for each pair
-
2:
for Each service pairs do
-
3:
if the p-value of LB-test
then
-
4:
This series has serial dependency
-
5:
if the p-value of the ADF test
then
-
6:
-
7:
end if
-
8:
Identify the models for QoS series
-
9:
Estimate the parameters of the identified models
-
10:
Check the significance of all candidate models, remove the non-significance models from the candidate models
-
11:
Select the best model from significance models as the fitted model
-
12:
Obtain the predicted QoS comparison values by time series forecasting
-
13:
else
-
14:
Forecast the future QoS comparison values by (8)
-
15:
end if
-
16:
end for
|