Description Usage Arguments Value Author(s) Examples
View source: R/package_functions.R
Transform data for estimation
1 2 3 |
y |
Multivariate time series of data values. May also be a data frame containing a date column |
model |
Estimated model from ms_dcf_estim |
log.vars |
Character vector of variables to be logged |
diff.vars |
Character vector of unit root variables to be differenced |
freq |
Seasonality of the data |
detect.diff |
Logical, detect which variables to difference |
detect.growth |
Logical, detect which variables to log |
level |
Significance level of statistical tests (0.01, 0.05, 0.1) |
diff.lag |
Integer, number of lags to use for differencing |
panelID |
Column name that identifies the cross section of the data |
timeID |
Column name that identifies the date |
detect.formula |
Logical, detect lag length of the dynamic common factor to include in each observation equation using the cross correlation function up to a max of 3 |
list containing differenced data (yy_d) and standardized data (yy_s)
Alex Hubbard (hubbard.alex@gmail.com)
1 | data_trans(y = y, panelID = "panel", timeID = "date")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.