Skip to content

Clarification on residuals_ and statistical significance in VARLiNGAM #192

@aaautumnwind

Description

@aaautumnwind

Hello,
Thank you for this wonderful library!

I’m studying the VARLiNGAM implementation and have two questions about its practical application:

1. Interpretation of residuals_
In the tutorial, you show that after calling fit(), one can obtain model.residuals_ and then apply DirectLiNGAM to recover the instantaneous connections matrix B0. My understanding is that residuals_ contains the residuals of the VAR part only (i.e., after removing the lagged influences), before the LiNGAM step. Is that correct?

2. Statistical significance of causal effects
The original 2010 paper "Estimation of a Structural Vector Autoregression Model Using Non-Gaussianity" discusses testing the significance of causal relations. In the current library, the bootstrap functionality provides probabilities for each causal edge (e.g., via get_probabilities()).

Is this bootstrap-based probability the recommended way to assess significance, or are there plans to implement classical p-values (like those from the likelihood ratio tests mentioned in the paper)?

If I want to obtain p-values for the null hypothesis that a specific coefficient is zero (or several coefficients are zero), how can I derive them? Is there any way to do this in practice?

Thank you for your time and for maintaining such a useful tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions