Learn R Programming

nonprobsampling (version 0.1.0)

make_block_D_multi: Construct block-diagonal D matrix for multi-reference raking

Description

Internal helper to assemble the block-diagonal covariance matrix \(D\) for the multi-reference raking estimator. Each reference survey contributes one design-based covariance block computed from `compute_D_raking()`.

Usage

make_block_D_multi(sp_des_list, Xp_list)

Value

A block-diagonal covariance matrix \(D\).

Arguments

sp_des_list

A non-empty list of survey design objects, each of class `"survey.design2"` or `"svyrep.design"`.

Xp_list

A list of reference-sample design matrices, one for each reference survey. Each matrix must have the same number of rows as the corresponding survey design object in `sp_des_list`.