Advanced Data Science
  • Home
  • Schedule/Syllabus
  • Homework and Presentations
  • Instructors
    • Brian Caffo
    • John Muschelli
  • Resources

Homework 6

App development

Author

HW 6

In this homework, you will bundle your R package for the Alzheimer’s trial in a Shiny app. The app should allow users to do study planning for a similar trial with different parameters. Please include:

  1. Your code
  2. A README file with instructions on how to run the app
  3. A link to the live app hosted on shinyapps.io (or other live hosting/using WebR) in the README file
  4. An animated gif screenshot of the app in action in the README file (note there are chrome extensions that can help you create these)

The app must surface assumptions, validate inputs, and show the resulting sample-size/power/cost trade-offs rather than returning only a number. Include at least one sensitivity visualization and a downloadable, reproducible design summary. Add automated tests for the underlying calculation functions and a short manual test checklist for the app’s main flow and invalid inputs.

If an AI agent helped build the interface or debug deployment, document the prompts and verification steps in AI_USE.md. Do not include participant-level or other sensitive data in prompts, screenshots, or the deployed app.