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

Fix typo in slc.ipynb #545

Merged
merged 1 commit into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/slc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@
"\n",
"In words, in this setting the ATE tells us how much greater the students' test scores would be across all individuals if we forced everyone to be shown the \"Electric Company\" educational program relative to if we forced everyone to not be shown the \"Electric Company\" educational program. Here, we are interested in the average over the entire population.\n",
"\n",
"To implement this query in ChiRho we extend our `LinearSLC` model by applying two interventions, `do(actions=dict(T=torch.zeros(treatment_shape))` and `do(actions=dict(T=torch.zeros(treatment_shape))`, and then sampling jointly from counterfactual worlds using the `MultiWorldCounterfactual` handler. Recall from the [tutorial](tutorial_i.ipynb) that the `MultiWorldCounterfactual` handler modifies the execution of the causal model to sample jointly from the observational and all counterfactual worlds induced by an intervention.\n",
"To implement this query in ChiRho we extend our `LinearSLC` model by applying two interventions, `do(actions=dict(T=torch.zeros(treatment_shape))` and `do(actions=dict(T=torch.ones(treatment_shape))`, and then sampling jointly from counterfactual worlds using the `MultiWorldCounterfactual` handler. Recall from the [tutorial](tutorial_i.ipynb) that the `MultiWorldCounterfactual` handler modifies the execution of the causal model to sample jointly from the observational and all counterfactual worlds induced by an intervention.\n",
"\n",
"**Note:** Here we define the queried model in terms of the \"individual treatment effect\" (ITE), i.e. the estimated difference in outcomes for each individual under treated and control conditions. Given estimates of the ITE, we can later perform post-hoc analyses to produce estimates of post-stratified average treatment effects. Specifically, later we'll show average treatment effects conditional on the school grade."
]
Expand Down
Loading