Description Usage Arguments Value Author(s) References Examples

`fcast`

forecasts time series via GMDH-type neural network algorithms.

1 2 3 |

`data` |
is a univariate time series of class ts |

`method` |
expects a character string to choose the desired method to forecast time series. To utilize GMDH-type neural network in forecasting, method is set to "GMDH". One should set method to "RGMDH" for forecasting via Revised GMDH-type neural network. Default is set to "GMDH" |

`input` |
is the number of inputs. Defaults input = 4 |

`layer` |
is the number of layers. Default is set to layer = 3 |

`f.number` |
is the number of observations to be forecasted. Defaults f.number = 5 |

`level` |
confidence level for prediction interval. Default is set to 95 |

`tf` |
expects a character string to choose the desired transfer function to be used in forecasting. To use polynomial function, tf should be set to "polynomial". Similarly, tf should be set to "sigmoid", "RBF", "tangent" to utilize sigmoid function, radial basis function and tangent function, respectively. To use all functions simultaneously, default is set to "all" |

`weight` |
is the percent of the data set to be utilized as learning set to estimate regularization parameter via validation. Default is set to weight = 0.70 |

`lambda` |
is a vector which includes the sequence of feasible regularization parameters. Defaults lambda=c(0,0.01,0.02,0.04,0.08,0.16,0.32,0.64,1.28,2.56,5.12,10.24) |

Returns a list containing following elements:

`method` |
the forecasting method as a character string |

`mean` |
point forecasts as a time series |

`lower` |
lower limits for prediction interval |

`upper` |
upper limits for prediction interval |

`level` |
confidence level for prediction interval |

`x` |
the original time series |

`fitted` |
the fitted values |

`residuals` |
the residuals of the model. The residuals are x minus the fitted values |

Osman Dag, Ceylan Yozgatligil

Dag, O., Yozgatligil, C. (2016). GMDH: An R Package for Short Term Forecasting via GMDH-Type Neural Network Algorithms. *The R Journal*, **8:1**, 379-386.

Ivakhnenko, A. G. (1966). Group Method of Data Handling - A Rival of the Method of Stochastic Approximation. *Soviet Automatic Control*, **13**, 43-71.

Kondo, T., Ueno, J. (2006). Revised GMDH-Type Neural Network Algorithm With A Feedback Loop Identifying Sigmoid Function Neural Network. *International Journal of Innovative Computing, Information and Control*, **2:5**, 985-996.

1 2 3 4 5 6 7 8 9 10 11 |

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.