-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsoftware.qmd
71 lines (49 loc) · 8.47 KB
/
software.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
title: "Software"
---
While I am no software engineer and have no formal training in computer science, I enjoy
This page is under construction, but most of my projects are open source and can be found in my [GitHub repositories](https://github.com/ryansafner). This includes all of the materials for my [course websites](https://ryansafner.com/teaching) and course content.
## Shiny Portfolio
These are largely [R shiny](https://shiny.rstudio.com/) apps that I have written to demonstrate economic concepts for my economics courses. The main purpose is to visualize concepts in action (often through a graph) and especially show how key parameters affect the outcome by allowing users to change these values and see the graph update dynamically.
### Consumer Theory
+--------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| [![](img/consumer_shiny.png)](https://ryansafner.shinyapps.io/consumer/) | [![Consumer\'s Problem](img/consumer_shiny.png){alt="Consumer's Problem"}](https://ryansafner.shinyapps.io/Consumer_changes/)\ |
| | [Changes in Consumer's Problem](https://ryansafner.shinyapps.io/Consumer_changes/) |
| [Consumer's Problem](https://ryansafner.shinyapps.io/consumer/) | |
+--------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
### Industrial Organization
+------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+
| [![](img/monopoly_shiny.png)](https://ryansafner.shinyapps.io/monopoly_problem/) | [![](img/cournot_changes_shiny.png)](https://ryansafner.shinyapps.io/Cournot_market_changes/) |
| | |
| [Profit Maximization with Market Power](https://ryansafner.shinyapps.io/monopoly_problem/) | [Cournot Oligopoly with Market Changes](https://ryansafner.shinyapps.io/Cournot_market_changes/) |
+------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+
| [![](img/cournot_n_firms_shiny.png)Cournot Oligopoly with $N$ Firms](https://ryansafner.shinyapps.io/cournot_n_firms/) | [![](img/cournot_asymmetric_costs_shiny.png)](https://ryansafner.shinyapps.io/cournot_asymmetric_costs/)\ |
| | [Cournot Oligopoly with Asymmetric Costs](https://ryansafner.shinyapps.io/cournot_asymmetric_costs/) |
+------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+
### Game Theory
+------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------+
| ![](img/repeated_pd_shiny.png){width="347"}[Repeated Prisoners' Dilemma](https://ryansafner.shinyapps.io/repeated_pd) | ![](img/hawk_dove_shiny.png){width="470"}\ |
| | [Evolutionary Hawk Dove Game](https://ryansafner.shinyapps.io/hawkdove) |
+------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------+
### Microeconomics/Misc.
+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| [![](img/surplus_shiny.png)](https://ryansafner.shinyapps.io/elasticityandsurpluses/) | [![](img/tax_shiny.png)Tax Incidence](https://ryansafner.shinyapps.io/tax-incidence/) |
| | |
| [Elasticity and Surpluses](https://ryansafner.shinyapps.io/elasticityandsurpluses/) | |
+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| [![Calculus of Consent Model](img/cc_shiny.png){alt="Calculus of Consent Model"}](https://ryansafner.shinyapps.io/ccmodel/)\ | [![](img/ols_shiny.png)Ordinary Least Squares Regression](https://ryansafner.shinyapps.io/ols_estimation_by_min_sse/) |
| [Calculus of Consent Model](https://ryansafner.shinyapps.io/ccmodel/) | |
+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| [![](img/solow_shiny.png)](https://ryansafner.shinyapps.io/Solow/)\ | |
| [Solow Growth Model](https://ryansafner.shinyapps.io/Solow/) | |
+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
- [Grade Calculator & Forecaster](https://ryansafner.shinyapps.io/306_grade_calculator/) (for ECON 306; with variants for each of courses, found on respective course websites)
## Economics Graphs in `ggplot`
\[IN PROGRESS\]
I have taught a variety of economics courses and make all of my slides and course materials in R/Xaringan/Quarto. This includes a very wide variety of graphs and illustrations of economic concepts, all of which I have drawn using `ggplot2`. I will begin creating a library of different graphs and the source code to make them (and one day make a package with dedicated functions to easily make each of them).
Until I have that ready, it's best just to poke around the slides for all of my courses.
## Course Websites
Since the Fall of 2019, I have made individualized websites for each of my courses. You can find links to them on my [teaching page](https://ryansafner.com/teaching), and the repositories on [my GitHub](https://github.com/ryansafner).
## Hex Stickers
As part of my themeing for each of my courses, I have been making a custom hex stickers in the style that has become popular in the R/tidyverse community. You can find the image sources, outputs, and the code to render each one in [this repository](https://github.com/ryansafner/hexstickers).
![](https://github.com/ryansafner/hexstickers/raw/master/README_files/figure-markdown_strict/unnamed-chunk-1-1.png)