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

Learn how to instantiate the CausalModel class #104

Open
scheurich-sarah opened this issue Mar 12, 2021 · 1 comment
Open

Learn how to instantiate the CausalModel class #104

scheurich-sarah opened this issue Mar 12, 2021 · 1 comment
Assignees

Comments

@scheurich-sarah
Copy link

The CausalModel class is the first step in doWhy's causal process. At a minimum, it involves establishing the data set (a pandas dataframe), treatment (a column in the dataframe), outcome (a column in the dataframe) and a causal graph. There are multiple ways to specify a causal graph, but .gml is recommended, so we'll use that for now. There are tools (DAGitty) to help make the graph strings.

Learn the other keyword args one can pass to CausalModel to understand which might apply to our data/question.
#103

@scheurich-sarah scheurich-sarah self-assigned this Mar 12, 2021
@scheurich-sarah
Copy link
Author

Implemented vanilla causal framework on a built-in doWhy data set. All built in data sets come with structural causal models already encoded. This implementation follows the starter notebook ConfoundingExample on the doWhy website. This starter notebook seemed most relevant as it uses regression and explores data looking for confounders. Documented nuances about the CausalModel class from exploring source code.

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

1 participant