Comments (6)
Now in v1.5.2, you can FORCE prior knowledge on causal ORDERS into estimation, e.g., x1 cannot cause x2.
from lingam.
Hi, this prior knowledge option does not necessarily force the estimated graph to satisfy the prior knowledge given by users. DirectLiNGAM algorithm implemented in this library estimates the causal orders of variables one by one. Therefore, for example, if esimation of the causal orders of some variables fails before the causal orders of the variables about which prior knowledge is available are estimated, then sometimes the prior knowledge cannot be used or sometimes the algorithm might have to estimate some causal orders that might be wrong. Prior knowledge about exogenous variables and sink variables are more likely to be reflected to the output in DirectLiNGAM. Though this "soft" way of using prior knowledge might be different from what some users expect, we thought this option is still helpful to make the estimation better.
from lingam.
Thank you for your answer.
I understand the soft way "no_paths" doesn't force the value to zero.
In addition, is there a better solution that some path values will be zero or quite small value?
Because, some value should be zero when LINGAM was applied to a business problem.
In other words, even though the causal effect between variable A and variable B obviously does not exist, LINGAN sometimes estimates the value is not zero but high.
from lingam.
-
DirectLiNGAM roughly consists of two steps. First, it estimates causal orders of variables. Second, it estimates the coefficients. If the estimated causal orders are acceptable, putting the coefficient from A to B to be zero and estimating the other coefficients based on the estimated causal orders might be a compromise. This can be done using traditional path analysis or structural equation modeling code package.
-
Another way might be to compute the bootstrapp probability of the directed edge from A to B. The bootstrap probability might be not quite large.
from lingam.
Thanks for your suggestion. I understand these solutions.
Thank you so much.
from lingam.
Thank you for applying "FORCE prior knowledge".
I'll try to use this method when analyzing our data.
from lingam.
Related Issues (20)
- What is the advantage of the "global_only=True" parameter in the LiM method? HOT 11
- LiM uses too much memory. HOT 1
- [Question] What is the difference between probabilities output from result.get_probabilities() and result.get_total_causal_effects()? HOT 6
- LiM runs into an exception when using the option only_global=False HOT 3
- ValueError: trend 'nc' not supported for VAR HOT 1
- Calculation process of the total effect of longitudinal lingam HOT 1
- CI fails due to a spec change of sklearn HOT 1
- AttributeError during import HOT 2
- Normalization in ICA-LiNGAM HOT 2
- Feature Selection HOT 3
- Bootstrap Speed HOT 1
- In VARLiNGAM, different behavior with the same data HOT 4
- How to use the initial DAG in the RESIT sample code? HOT 4
- The calculation of total effect is wrong in LongitudinalLiNGAM HOT 1
- Change in method of calculating total effect using regression HOT 1
- Error in visualize_nonlinear_causal_effect HOT 1
- Regression coefficients are incorrect when calculating residuals in DirectLiNGAM
- The Read the Docs configuration method will be changed.
- Test Error: ValueError: 'x0' must only have one dimension. HOT 7
- Is the bootstrap method implemented here a multiscale one? HOT 12
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 lingam.