Used in disaggregation.R to find estimates given the optimal rho parameter.
sptd(Y, X, rho, aggMat, aggRatio, adaptive = FALSE)
The low-frequency response series (n_l x 1 matrix).
The high-frequency indicator series (n x p matrix).
The AR(1) residual parameter (strictly between -1 and 1).
Aggregation matrix according to 'first', 'sum', 'average', 'last' (default is 'sum').
Aggregation ratio e.g. 4 for annual-to-quarterly, 3 for quarterly-to-monthly (default is 4).
TRUE to use adaptive lasso penalty. FALSE for lasso penalty. Default is FALSE.
y Estimated high-frequency response series (n x 1 matrix).
betaHat Estimated coefficient vector (p x 1 matrix).
u_l Estimated aggregate residual series (n_l x 1 matrix).