Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which method can generate weighted edges? #148

Open
creamiracle opened this issue Nov 6, 2023 · 4 comments
Open

Which method can generate weighted edges? #148

creamiracle opened this issue Nov 6, 2023 · 4 comments

Comments

@creamiracle
Copy link

Hey, just wanna know which method can generate weighted edges for different datasets.
I know lingam can do this, but it assume the linear relation between columns, so is there any method else can do this?

thanks.

@kunwuz
Copy link
Collaborator

kunwuz commented Nov 6, 2023

Hey, if the weight is just for some type of coefficient but not really something 'causal', perhaps regression-based methods can do it (e.g., DirectLiNGAM). I'm not sure what methods could output 'causal strength' (or even its definition) though. Any suggestion would be great.

@creamiracle
Copy link
Author

Hey, if the weight is just for some type of coefficient but not really something 'causal', perhaps regression-based methods can do it (e.g., DirectLiNGAM). I'm not sure what methods could output 'causal strength' (or even its definition) though. Any suggestion would be great.

I found a paper https://txyz.ai/paper/1a2dbe68-ae85-4d1d-8ed8-1dedc44b1b2f which use a NN method called DAG-GNN, and it mentioned that "With this
causal structure learning method, we can get a weighted DAG
(G) which represent causal relations between metrics"
And my dataset maybe not linear and no confounders, so the LinGAM maybe not the choice?(I'm not sure really).

@kunwuz
Copy link
Collaborator

kunwuz commented Nov 7, 2023

Yea, these (DAG structure learning methods) could produce a weighted DAG, but the weight does not necessarily correspond to the 'causal strength'. I'm not aware of any formal definition of 'causal strength' in causal discovery yet.

And you are right, lingam does not come with theoretical guarantees on nonlinear data. CAM-UV extends it to the additive noise model but still not completely general.

@creamiracle
Copy link
Author

Yea, these (DAG structure learning methods) could produce a weighted DAG, but the weight does not necessarily correspond to the 'causal strength'. I'm not aware of any formal definition of 'causal strength' in causal discovery yet.

And you are right, lingam does not come with theoretical guarantees on nonlinear data. CAM-UV extends it to the additive noise model but still not completely general.

Thanks, so if I wanna use weight to express "causal strength", what should I do? maybe do causal inference like T-learner or sth else? My situation wanna use CI-based method to find which column influence the label and how "strength" it influences.
That really confuses me a lot.
BTW, do you know the SEM? I found that SEM maybe can calculate the weight.

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants