Learn R Programming

dcce (version 0.4.2)

.pmg_pool_lr: Pool unit-level long-run coefficients via inverse-variance weighting

Description

For each base regressor \(k\), compute $$\hat\theta^{PMG}_k = \frac{\sum_i w_{ik} \hat\theta_{ik}}{\sum_i w_{ik}}, \quad w_{ik} = 1 / \hat V(\hat\theta_{ik}),$$ with pooled standard error \((\sum_i w_{ik})^{-1/2}\).

Usage

.pmg_pool_lr(unit_lr)

Value

A list with lr_coef, lr_se, and the full pooled vcov (diagonal).

Arguments

unit_lr

A list of unit-level results from .csardl_unit_lr().