| adl_disaggregation | R Documentation |
Perform temporal disaggregation of low-frequency to high-frequency time series using an Autoregressive Distributed Lag regression model.
adl_disaggregation(
series,
constant = TRUE,
trend = FALSE,
indicators = NULL,
average = FALSE,
phi = 0,
phi.fixed = FALSE,
phi.truncated = 0,
xar = c("FREE", "SAME", "NONE"),
diffuse = FALSE
)
series |
A low-frequency time series to be disaggregated. It must be
|
constant |
Boolean. Indicates whether a constant term is included in
the model. The default is |
trend |
Boolean. Indicates whether a linear trend is included in the
model. The default is |
indicators |
One or more high-frequency indicator series. If not NULL
(the default), this must be a |
average |
Boolean. Indicates whether an average conversion should be
considered. The default is |
phi |
A numeric value giving the (initial) value of the phi parameter |
phi.fixed |
Boolean. Specifies whether the supplied value of |
phi.truncated |
A numeric value defining the lower bound of the
admissible range for |
xar |
A character string specifying the constraints imposed on the
coefficients of the lagged regression variables. The default is |
diffuse |
Boolean. Indicates whether the coefficients of the regression
model are treated as diffuse ( |
An object of class "JD3_ADLDISAGG_RSLTS" is returned. The following are returned as a list:
regression [[1]] regression coefficients;
estimation [[2]] disaggregated time series and standard errors,
parameter and residuals;
likelihood [[3]] likelihood statistics.
For more information on the method, its arguments, and the other methods available in the package, see the package vignette:
In R:
browseVignettes(package = "rjd3bench")
Online: https://rjdverse.github.io/rjd3bench/articles/rjd3bench.html
Proietti, P. (2005). Temporal Disaggregation by State Space Methods: Dynamic Regression Methods Revisited. Working papers and Studies, European Commission, ISSN 1725-4825.
# ADL model
data("qna_data")
Y <- ts(qna_data$B1G_Y_data[,"B1G_FF"], frequency = 1, start = c(2009,1))
x <- ts(qna_data$TURN_Q_data[,"TURN_INDEX_FF"], frequency = 4, start = c(2009,1))
td1 <- adl_disaggregation(Y, indicators = x, xar = "FREE")
td1$estimation$disagg
# ADL models with constraints
td2 <- adl_disaggregation(Y, indicators = x, xar = "SAME") # ~ Chow-Lin
td3 <- adl_disaggregation(Y, constant = FALSE, indicators = x,
xar = "SAME", phi = 1, phi.fixed = TRUE) # ~ Fernandez
td4 <- adl_disaggregation(Y, indicators = x, xar = "NONE") # ~ Santos Silva-Cardoso
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.