-
Notifications
You must be signed in to change notification settings - Fork 61
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
[Question] What is the difference between probabilities output from result.get_probabilities() and result.get_total_causal_effects()? #117
Comments
result.get_probabilities() gives the bootstrap probabilities of whether direct effects are non-zero (directed edges exist). |
Shimizu-Sense |
Hi, those total effects in the bootstrap outputs are the medians over the bootstrap samples. You can find all the bootstrap results here: https://lingam.readthedocs.io/en/latest/reference/bootstrap.html |
Thank you very much for your reply. I have another question. I'm wondering if it's appropriate to use DirectLiNGAM for this kind of data. Because I know that the original LiNGAM as well as ICA-LiNGAM require the data to be continuous variables. But in your Tutorial of DirectLiNGAM, the requirement for continuous variables is removed. Thanks again for your help. |
if your discrete variables are collected using 5 point likert scale, it would be ok to use DirectLiNGAM thinking they are approximately continuous. DirectLiNGAM assume variables are continuous. Error variables are continuous. Their liner sums, i.e., observed variables, are also continuous. |
Thank you so much for your quick reply! |
Hi, I am a beginner.
I'm not quite sure the difference between probabilities output from result.get_probabilities() and result.get_total_causal_effects() after bootstrap, i.e., result = model.bootstrap(data, n_sampling=1000).
I would appreciate it if you could give me more info.
The text was updated successfully, but these errors were encountered: