Skip to content

Commit

Permalink
Updated BasicEmpirMethods.md with comic and reorg'd images folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rickecon committed Nov 13, 2023
1 parent 2aa69f9 commit 884b347
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 5 deletions.
10 changes: 10 additions & 0 deletions docs/book/CompMethods_references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,16 @@ @ARTICLE{Eilers:2005
pages = {317-328},
}

@TECHREPORT{Elliott:2023,
AUTHOR = {Timo Elliott},
TITLE = {Every Single Person Who Confuses Correlation and Causation Ends Up Dying},
INSTITUTION = {TimoElliott.com},
YEAR = {2023},
type = {Cartoon},
month = {October},
url = {https://i0.wp.com/timoelliott.com/blog/wp-content/uploads/2023/10/every-single-person-who-confuses-correlation-and-causation-ends-up-dying.jpg},
}

@ARTICLE{EvansPhillips:2017,
AUTHOR = {Richard W. Evans and Kerk L. Phillips},
TITLE = {Advantages of an Ellipse when Modeling Leisure Utility},
Expand Down
17 changes: 12 additions & 5 deletions docs/book/basic_empirics/BasicEmpirMethods.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ The iframe below contains a PDF of {cite}`AllenEtAl:2023` "The Economic Origins
(SecBasicEmpCorrCaus)=
## Correlation versus Causation

```{figure} ../../../images/basic_empirics/basic_empirics/CorrVsCaus.png
:height: 500px
:name: FigBasicEmpir_CorrVsCaus
Correlation versus causation comic by {cite}`Elliott:2023`.
```

What is the difference between correlation and causation?
* What are some examples of things that are correlated but do not "cause" each other?

Expand Down Expand Up @@ -174,7 +181,7 @@ plt.grid(color='gray', linestyle=':', linewidth=1, alpha=0.5)
plt.show()
```

```{figure} ../../../images/basic_empirics/scatter1.png
```{figure} ../../../images/basic_empirics/basic_empirics/scatter1.png
:height: 500px
:name: FigBasicEmpir_scatter1
Expand Down Expand Up @@ -239,7 +246,7 @@ plt.grid(color='gray', linestyle=':', linewidth=1, alpha=0.5)
plt.show()
```

```{figure} ../../../images/basic_empirics/scatter2.png
```{figure} ../../../images/basic_empirics/basic_empirics/scatter2.png
:height: 500px
:name: FigBasicEmpir_scatter2
Expand All @@ -264,7 +271,7 @@ plt.grid(color='gray', linestyle=':', linewidth=1, alpha=0.5)
plt.show()
```

```{figure} ../../../images/basic_empirics/scatter3.png
```{figure} ../../../images/basic_empirics/basic_empirics/scatter3.png
:height: 500px
:name: FigBasicEmpir_scatter3
Expand Down Expand Up @@ -331,7 +338,7 @@ plt.title('OLS relationship between expropriation risk and income (Fig. 2 from A
plt.show()
```

```{figure} ../../../images/basic_empirics/AcemogluEtAl_fig2.png
```{figure} ../../../images/basic_empirics/basic_empirics/AcemogluEtAl_fig2.png
:height: 500px
:name: FigBasicEmpir_AcemFig2
Expand Down Expand Up @@ -522,7 +529,7 @@ plt.ylabel('Log GDP per capita, PPP, 1995')
plt.show()
```

```{figure} ../../../images/basic_empirics/AcemogluEtAl_predvals.png
```{figure} ../../../images/basic_empirics/basic_empirics/AcemogluEtAl_predvals.png
:height: 500px
:name: FigBasicEmpir_AcemPredVals
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 884b347

Please sign in to comment.