Skip to content

Commit 889c0d4

Browse files
committed
add in some glossary terms to example notebooks
1 parent 28fd961 commit 889c0d4

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

docs/source/glossary.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Glossary
1818
Change score analysis
1919
A statistical procedure where the outcome variable is the difference between the posttest and protest scores.
2020

21-
Comparative interrupted time-series design
21+
Comparative interrupted time-series
2222
CITS
2323
An interrupted time series design with added comparison time series observations.
2424

@@ -64,7 +64,7 @@ Glossary
6464
Sharp regression discontinuity design
6565
A Regression discontinuity design where allocation to treatment or control is determined by a sharp threshold / step function.
6666

67-
Synthetic control method
67+
Synthetic control
6868
The synthetic control method is a statistical method used to evaluate the effect of an intervention in comparative case studies. It involves the construction of a weighted combination of groups used as controls, to which the treatment group is compared.
6969

7070
Treatment on the treated effect
@@ -79,5 +79,5 @@ Glossary
7979

8080

8181
References
82-
==========
82+
----------
8383
.. footbibliography::

docs/source/notebooks/ancova_pymc.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"This is a preliminary example based on synthetic data. It will hopefully soon be updated with data from a real study.\n",
1212
":::\n",
1313
"\n",
14-
"In cases where there is just one pre and one post treatment measurement, it we can analyse data from NEGD experiments using an ANCOVA type approach. The basic model is:\n",
14+
"In cases where there is just one pre and one post treatment measurement, it we can analyse data from {term}`NEGD` experiments using an {term}`ANCOVA` type approach. The basic model is:\n",
1515
"\n",
1616
"$$\n",
1717
"post_i = \\beta_0 + (\\beta_1 \\cdot T_i) + (\\beta_2 \\cdot pre_i) + \\epsilon_i\n",

docs/source/notebooks/did_pymc_banks.ipynb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@
513513
"source": [
514514
"## Analysis 2 - DiD with multiple pre/post observations\n",
515515
"\n",
516-
"Now we'll do a difference in differences analysis of the full dataset. This approach has similarities to CITS (Comparative Interrupted Time Series) with a single control over time. Although slightly abitrary, we distinguish between the two techniques on whether there is enough time series data for CITS to capture the time series patterns."
516+
"Now we'll do a difference in differences analysis of the full dataset. This approach has similarities to {term}`CITS` (Comparative Interrupted Time-Series) with a single control over time. Although slightly abitrary, we distinguish between the two techniques on whether there is enough time series data for CITS to capture the time series patterns."
517517
]
518518
},
519519
{
@@ -721,7 +721,7 @@
721721
"kernelspec": {
722722
"display_name": "CausalPy",
723723
"language": "python",
724-
"name": "causalpy"
724+
"name": "python3"
725725
},
726726
"language_info": {
727727
"codemirror_mode": {
@@ -733,12 +733,7 @@
733733
"name": "python",
734734
"nbconvert_exporter": "python",
735735
"pygments_lexer": "ipython3",
736-
"version": "3.11.4"
737-
},
738-
"vscode": {
739-
"interpreter": {
740-
"hash": "46d31859cc45aa26a1223a391e7cf3023d69984b498bed11e66c690302b7e251"
741-
}
736+
"version": "3.10.8"
742737
}
743738
},
744739
"nbformat": 4,

docs/source/notebooks/geolift1.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"# Bayesian geolift with CausalPy\n",
99
"\n",
10-
"This notebook covers how to use `CausalPy`'s Bayesian synthetic control functionality to assess 'geolift'. Our hypothetical scenario is:\n",
10+
"This notebook covers how to use `CausalPy`'s Bayesian {term}`synthetic control` functionality to assess 'geolift'. Our hypothetical scenario is:\n",
1111
"\n",
1212
"> We are a data scientist within a company that operates over Europe. We have been given a historical dataset of sales volumes, in units of 1000's. The data is broken down by country and was collected at weekly frequency. We have data for the past 4 years. \n",
1313
"\n",

docs/source/notebooks/sc_pymc_brexit.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"# The effects of Brexit\n",
99
"\n",
10-
"The aim of this notebook is to estimate the causal impact of Brexit upon the UK's GDP. This will be done using the synthetic control approch. As such, it is similar to the policy brief \"What can we know about the cost of Brexit so far?\" {cite:p}`brexit2022policybrief` from the Center for European Reform. That approach did not use Bayesian estimation methods however.\n",
10+
"The aim of this notebook is to estimate the causal impact of Brexit upon the UK's GDP. This will be done using the {term}`synthetic control` approch. As such, it is similar to the policy brief \"What can we know about the cost of Brexit so far?\" {cite:p}`brexit2022policybrief` from the Center for European Reform. That approach did not use Bayesian estimation methods however.\n",
1111
"\n",
1212
"I did not use the GDP data from the above report however as it had been scaled in some way that was hard for me to understand how it related to the absolute GDP figures. Instead, GDP data was obtained courtesy of Prof. Dooruj Rambaccussing. Raw data is in units of billions of USD."
1313
]

0 commit comments

Comments
 (0)