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

Subject: Configuring Effect Direction in Causal Analysis with BOSS and SEM Models #1827

Open
miaomiao-alt opened this issue Nov 4, 2024 · 8 comments

Comments

@miaomiao-alt
Copy link

I am currently working on analyzing causal relationships among variables using the BOSS algorithm and SEM models. However, I have encountered a question that I was hoping you could help clarify.Specifically, I would like to know if it is possible to set the effect values between variables to be exclusively positive or negative within the software. If such a setting is available, could you please advise on the steps to configure this?

Copy link
Collaborator

jdramsey commented Nov 4, 2024

When you say "effect" do you mean just one edge? You could set that manually...

@miaomiao-alt
Copy link
Author

yes,one edge. Can I set it up in this interface?
image

@jdramsey
Copy link
Collaborator

jdramsey commented Nov 4, 2024 via email

@miaomiao-alt
Copy link
Author

So in the search for DAG using the BOSS algorithm, can I specify that all the effect values are positive?

@jdramsey
Copy link
Collaborator

jdramsey commented Nov 4, 2024

Not in BOSS; that's a structure search.

@jdramsey
Copy link
Collaborator

jdramsey commented Nov 4, 2024

If it helps, for a LG SEM model, if the effect is not positive when you estimate it, I believe you can just flip the signs of all edge parameters and make it positive.

@miaomiao-alt
Copy link
Author

So in this case, if the effect value on the other side is positive, does it become negative after the transition

@jdramsey
Copy link
Collaborator

jdramsey commented Nov 4, 2024

Not sure what you mean. Keep in mind Boss is trying to optimize BIC, not coefficient values.

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