Skip to content

Commit e88e4c0

Browse files
committed
fixing typos
Signed-off-by: Nathaniel <[email protected]>
1 parent 127698a commit e88e4c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/notebooks/inv_prop_latent.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@
588588
"\n",
589589
"Here we allow for a function that takes the same inputs but fits two separate models. First we fit the treatment model then store the `idata_treatment` this xarray object stores the posterior estimates for the propensity score. We pass this through to a second outcome model where we proceed to take a random draw from the posterior and pass it through to the outcome regression via a spline component. This allows us to express any non-linearity in the treatment effect. Additionally it can be seen as a way to augment the outcome model.\n",
590590
"\n",
591-
"While theoretically the propensity score contains no extra information if we are already conditioning on $X$, practically the literature reports that the propensity improves the stability of the causal estimates achievable in Bayesian causal modelling. Additionally we might want to seperate covariates for predicting the outcome and the treatment. In this case, there may be extra information derived in the treatment model that be used to inform the outcome model. "
591+
"While theoretically the propensity score contains no extra information if we are already conditioning on $X$, practically the literature reports that the propensity improves the stability of the causal estimates achievable in Bayesian causal modelling. Additionally we might want to separate covariates for predicting the outcome and the treatment. In this case, there may be extra information derived in the treatment model that be used to inform the outcome model. "
592592
]
593593
},
594594
{
@@ -1242,7 +1242,7 @@
12421242
"\n",
12431243
"#### Propensity Score Quantiles - Joint Model\n",
12441244
"\n",
1245-
"We can see how the different model specifications have yielded distinct propensity score estimates - as the joint specification seems to compensate for missing covariates in the outcome model by adjusting the propensity score latent in the treatment model too. We can see the diffferences in the quantiles to highlight a numeric difference in the propensity score distributions between the two models."
1245+
"We can see how the different model specifications have yielded distinct propensity score estimates - as the joint specification seems to compensate for missing covariates in the outcome model by adjusting the propensity score latent in the treatment model too. We can see the differences in the quantiles to highlight a numeric difference in the propensity score distributions between the two models."
12461246
]
12471247
},
12481248
{
@@ -2228,7 +2228,7 @@
22282228
"cell_type": "markdown",
22292229
"metadata": {},
22302230
"source": [
2231-
"First we specify our counterfactual input data. Then we push them throug the joint model distribution using the do-operator in `PyMC` to sample from the posterior predictive distribution giving us sample of the potential outcomes $Y(1), Y(0)$"
2231+
"First we specify our counterfactual input data. Then we push them through the joint model distribution using the do-operator in `PyMC` to sample from the posterior predictive distribution giving us sample of the potential outcomes $Y(1), Y(0)$"
22322232
]
22332233
},
22342234
{

0 commit comments

Comments
 (0)