shinyElement

DOI

For an identical version of this readme that has the repo’s contents hidden: https://MetzgerSK.github.io/shinyElement

This repository houses 12* of the 12 Shiny apps from Using Shiny to Teach Econometric Models by Shawna K. Metzger (2021, Cambridge University Press). They are identical to the files in the book’s Code Ocean capsule of record here. (*LASSO_bchamp_lite is a stripped-down version of the twelfth app.)

By being in a GitHub repo, the 12* apps can be run directly via Binder using the links below. Other than clicking the link and waiting <~60 seconds, there’s nothing additional you need to install or do.

:arrow_right: TL;DR: Click Launch Rstudio Binder to launch an app.

The Manuscript

Metzger, Shawna K. 2021. Using Shiny to Teach Econometric Models. Cambridge: Cambridge University Press.

The Element is available via CUP’s website, here.

The Apps

Ch. 2

Ch. 3

Note: After generating a dataset, you can view each app’s objective function by clicking the upper-right switch to “Formal,” then clicking the :eye: button that appears next to “Current…Value.”

Ch. 4

Ch. 5

Appendix C

Notes

Technical Notes

Other Apps

There are additional Shiny apps for regression models usually covered in MLE/GLM courses here.

License

MIT


1: You can also technically load another app from the GitHub repo by modifying your current Binder session. The end of the current app’s URL will be shiny/appName?token=.... Replace appName in the URL with the other app’s name and hit Enter to load.