Creates a two-panel plot showing (1) error correction terms over time and (2) their estimated half-lives, providing visual assessment of convergence speed.
plot_error_correction_panel(
results_robust,
use_contemporaneous_X = TRUE,
main_left = expression(u[t] == Y[t] - hat(mu)[Y](X[t])),
main_right = "Half-life de u[t]"
)Invisibly returns a list with components:
UMatrix of error correction terms (T x Ky).
half_livesVector of estimated half-lives for each Y factor.
List. Results from main analysis pipeline.
Logical. Use contemporaneous X (time t) or lagged X (time t-1) for computing equilibrium path? Default is FALSE (lagged).
Character string. Title for left panel. Default is "Error Correction Terms u_t".
Character string. Title for right panel. Default is "Half-Lives of Error Correction".