sptd | R Documentation |
This function performs sparse temporal disaggregation as described in \insertCite10.1111/rssa.12952;textualDisaggregateTS. It estimates the high-frequency response series using LARS (Least Angle Regression) and applies either a LASSO or adaptive LASSO penalty.
sptd(Y, X, rho, aggMat = "sum", aggRatio = 4, adaptive = FALSE)
Y |
The low-frequency response series ( |
X |
The high-frequency indicator series ( |
rho |
The AR( |
aggMat |
Aggregation matrix method ('first', 'sum', 'average', 'last'). Default is 'sum'. |
aggRatio |
Aggregation ratio (e.g., 4 for annual-to-quarterly, 3 for quarterly-to-monthly). Default is 4. |
adaptive |
Logical. If |
A list containing:
y
: Estimated high-frequency response series (n \times 1
matrix).
betaHat
: Estimated coefficient vector (p \times 1
matrix).
u_l
: Estimated aggregate residual series (n_l \times 1
matrix).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.