Learn R Programming

nowcasting (version 0.0.82)

arrumarVintage: Balanced pannel

Description

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. NAs are deleted. In the end the missings and outliers are corrected.

Usage

arrumarVintage(base = NULL, legenda = NULL)

Arguments

base

A time series matrix (mts) representing the vintage of interest.

legenda

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$$