This function transforms the original time series to its stationary representation following
the user specification. The monthly variables are agregated to represent quarterly quantities.
The time series with more than 1/3 missings, i.e. NA
s are deleted.
In the end the missings and outliers are corrected.
arrumarVintage(base = NULL, legenda = NULL)
A time series matrix (mts) representing the vintage of interest.
data.frame
or vector
. A data.frame
with two columns, the first one is the name, and the second is the transformation to let the series become stationary.
A vector
where each coordinate is the transformation of the correspondent coordinate in the mts
of the previous argument.
The transformation is specified as follow:
# trans 0, the original serie is preserved.
# trans 1 $$latex1$$
# trans 2 $$latex2$$
# trans 3 $$latex3$$