You will create a website using the shiny package in RStudio that features a simulation or optimization application.
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit
The project will be an individual or group project designed to give you a final deliverable you can share beyond this course. You will create a website using the shiny package in RStudio that features a simulation or optimization application. The attached rubric details the criteria you should aim to meet.
ShinyApp
The shiny package allows users to build web applications, called ShinyApps, in RStudio. See the galleryLinks to an external site.. for some inspiration about possible uses. The nice thing about building a ShinyApp is that it allows you to display your analysis or results from R in a way that is interactive and that hides the R code behind it. It is free to host the application online (with up to 50 hours of use time) so it is also easy to share your app.
You will be responsible for submitting
The R code behind the application
A readme file that describes your application and the main functions (1-2 pages).
A link to your ShinyApp (given in your readme).
The documentation portion of your grade will correspond to the documentation within your R code as well as the explanations in the readme and on the app. The goal is that it is easy for users to interact with and interpret results from your app. The solution depth portion of your grade will correspond to the amount of depth shown in the application. An example of a project without depth would be an application that just runs a simple simulation and displays the raw results; an example of a project with great depth would have underlying methods analyzing and interpreting the data, interesting and interpretable displays (such as visuals or tables), and possible interactions for the user.
Application Area: Simulation
Your app must involve simulation. You should base your methods on articles, textbooks, or other reputable sources, but you may extend or simplify the model/data depending on how complex the application is. For example, you should not invent a potential simulation model for an infectious disease. Your app should present the results in a thoughtful and potentially interactive manner (e.g. users can set parameters, focus on a subset of data, etc.).
I have provided some sample project ideas below which are roughly listed in order of increasing complexity. If you would like more information about a sample project idea, I'm happy to provide more details!
Sample Project 1: SEIR Model w/ Age Stratification for Infectious Diseases (Compartment Model)
SEIR (susceptible-exposed-infected-recovered) models are used to model the spread of infectious diseases and rely on set parameters. An extension of this model allows you to specify different age groups, which may have their own parameters. You shiny app could look at how the SEIR results change as parameters are updated by the user.
Sample Project 2: Pooled Testing for Resource Saving (Monte Carlo Simulation Study)
Pooled testing can be used to more efficiently test blood samples. Your app could look at finding the optimal number of people to pool together to reduce the number of tests needed using simulation.
Sample Project 3: Bike-Share Simulation (State-Based Simulation)
Shared mobility networks allow users to access scooters or bikes available throughout a city. City planners and the company operators analyze these usage patterns to simulate usage. Your app could allow users to interact with a simulation of a city's bike-share usage.
Sample Project 4: HIV Transmission in High-Risk Populations (Agent-Based Simulation)
Agent-based simulations models each individual in a population and their interactions. These can be used to test different policies such as in HIV prevention. Your app could look at the estimated effect of different interventions.
Example Shiny app from previous years:
1. Dynamic Markov Model of the Opioid Epidemic: https://ys-fb-lw.shinyapps.io/APOLLO/Links to an external site.
2. Pooled Testing for Blood Lead levels: https://efleury.shinyapps.io/test_final/
2025-07-24