Description Usage Arguments Value Author(s) References See Also Examples

The function calculates the sMAPE error between actual and predicted values.

1 | ```
sMAPE(actual, prediction)
``` |

`actual` |
A vector or univariate time series containing actual values for a time series that are to be compared against its respective predictions. |

`prediction` |
A vector or univariate time series containing time series predictions that are to be compared against the values in |

A numeric value of the sMAPE error of prediction.

Rebecca Pontes Salles

Z. Chen and Y. Yang, 2004, Assessing forecast accuracy measures, Preprint Series, n. 2004-2010, p. 2004-10.

1 2 3 | ```
data(SantaFe.A,SantaFe.A.cont)
pred <- marimapred(SantaFe.A,n.ahead=100)
sMAPE(SantaFe.A.cont[,1], pred)
``` |

TSPred documentation built on June 26, 2018, 5:04 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.