SuavizaHOLTW: Smoothing Holt-Winter

Description Usage Arguments Value

View source: R/SuavizaHOLTW.R

Description

Additive or multiplicative smoothing method, which gives the table with the values of Ft, Zt, Tt, Zt smoothed and the at (error). In addition to obtaining the general deviation of the smoothed string and predicted values if necessary.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
SuavizaHOLTW(
  datos,
  col_zt,
  anio,
  mes,
  A,
  C,
  D,
  metodo = c("aditivo", "multiplicativo"),
  prediccion = NULL
)

Arguments

datos

Array of data with columns t, Zt, month and year

col_zt

numeric value of the Zt column

anio

numeric value of the years column

mes

numeric value of the month column

A

parameter value <1, A + C + D = 1

C

parameter value <1, A + C + D = 1

D

value of parameter <1, A + C + D = 1

metodo

can take the values "additive" or "multiplicative"

prediccion

numerical value of the time (t) or period of which the smoothed Zt is to be predicted

Value

data table Ft, Zt, Tt, Zt smoothed and the at


abmm97/PST.suavi documentation built on Dec. 18, 2021, 10:20 p.m.