Solves the time-weight QP (with implicit intercept lambda_0 concentrated out):
Value
A numeric vector of length T_pre holding the SDID time weights
lambda (non-negative and summing to one).
Details
min over lambda in Delta_pre: ||Y_post_target - Y_pre_co^T lambda||^2 + zeta_t^2 * N_co * ||lambda||^2
The caller is responsible for pre-demeaning Y_pre_co (row-wise) and Y_post_target (subtract the cross-unit mean) to concentrate out lambda_0, as described in Arkhangelsky et al. (2021) Algorithm 1, Eq. (2.3).
