Learn R Programming

dcce (version 0.4.2)

.csardl_unit_lr: Recover unit-level long-run coefficients and adjustment speed

Description

For a single unit, given the ARDL coefficient vector b and its variance V, compute the long-run coefficient on each base regressor and the speed of adjustment, with delta-method standard errors.

Usage

.csardl_unit_lr(b, V, classify)

Value

A list with

lr_coef

Named numeric vector of long-run coefficients.

lr_vcov

Variance-covariance matrix of lr_coef.

phi

Adjustment speed \(\varphi_i = -(1 - \sum \phi_p)\).

phi_se

Delta-method SE of phi.

Arguments

b

Numeric vector: unit-level coefficients from the ARDL regression (must have names matching the regressor columns).

V

Numeric matrix: unit-level variance-covariance matrix.

classify

List returned by .csardl_classify_terms().