Comments (5)
Thanks for the question. The optimal order (lag) for the vector regression model is determined automatically using bayesian information criterion. As a result, even if we set lags as 100, the optimal one might still be selected as 2. To avoid that optimization process, you may consider setting criterion as None, e.g.,
model = lingam.VARLiNGAM(lags=3, criterion=None)
from causal-learn.
What's the expected result when lags=3, is it going to permutate all the possible columns 3 times?
from causal-learn.
Sorry, I'm not sure if I fully understand the question. The lags here mean those for lagged causal relations (in contrast to contemporaneous causal relations).
from causal-learn.
Okay so this is my understanding so far (we should really put some basic example in the test folder):
let's say I have a classical fork DAG: X <- A -> Y.
The generation process implies that: A- lag (5) -> X and A -> lag (7) -> Y.
What's the output going to look like?
Will each edge have a different lag value?
Can we build a simple toy example to verify the desired behaviour?
from causal-learn.
Also would be interesting to see how to import the output into a DAG for DoWhy.
from causal-learn.
Related Issues (20)
- does this codebase support some recent causal discovery methods like, notears, dag-gnn,and so on HOT 2
- A potential Bug in GES.py HOT 1
- Null Hypothesis in Conditoinal Independence Tests HOT 2
- How to construct a causallearn.graph.Graph object from an numpy array? HOT 2
- Boostrap Utilities HOT 1
- Background knowledge not used correctly? HOT 1
- Implementation for CCI? HOT 1
- How to estimate the causal effect? HOT 1
- Different results with Tetrad and causal-learn implementations. HOT 6
- numpy version HOT 1
- Understanding the FCI outputs (graph vs. printed edges) HOT 3
- Handling Data with Interventions HOT 4
- array must not contain infs or NaNs HOT 2
- use of deprecated `np.mat` HOT 3
- IndexError: tuple index out of range - From LocalScoreFunction.py HOT 1
- Key error FCI HOT 1
- Causal Discovery Algorithms For Time Series Data HOT 2
- Implementation of DAGMA
- Numpy overflow with discrete data HOT 3
- Potential Issue with get_sepset Function Failing to Identify Valid Separating Sets for Conditional Independence HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from causal-learn.