Construct block design matrices for multi-reference calibration
multi_matrix_construction(vars_XC, sc, sp_list, xcol, wts_cols)A list with components:
Numeric design matrix for `sc`, with intercept prepended, of dimension \(n_c \times p\).
List of numeric design matrices for each reference sample. The first block includes an intercept column; subsequent blocks do not.
List of numeric weight vectors, one per reference sample.
Character vector of all predictor variables (union across reference samples), used to build the `sc` design matrix `Xc`.
Data frame. The nonprobability sample.
List of reference sample data frames.
List of character vectors: the variables contributed by each reference sample (as returned by `check_input_multi`).
Character vector of survey-weight column names, one per element of `sp_list`.