Skip to content

Commit

Permalink
fix figure 6.2 x-axis (fixes #60)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattblackwell committed Jan 6, 2024
1 parent e042a81 commit 07adb0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 07_least_squares.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ey <- mean(mod$model$logpgp95)
ssr <- function(x) ey2 - 2 * x * exy + x ^ 2 * ex2
par(mfrow = c(1, 2))
plot(ajr$avexpr, ajr$logpgp95,
xlab = "Average Protection Against Expropriation Risk",
xlab = "Average Protection Against\nExpropriation Risk",
ylab = "Log GDP per capita", pch = 19, bty = "n", col = adjustcolor("grey60", alpha = 0.25 ), las = 1)
slopes <- c(-0.5, coef(mod)[2], 1.5)
cols <- brewer.pal(n = 3, "Dark2")
Expand Down
2 changes: 1 addition & 1 deletion _freeze/07_least_squares/execute-results/html.json

Large diffs are not rendered by default.

Binary file modified _freeze/07_least_squares/figure-html/fig-ssr-comp-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions _freeze/08_ols_properties/execute-results/html.json

Large diffs are not rendered by default.

0 comments on commit 07adb0c

Please sign in to comment.