← Module 12 overview
Module 12 · Project 6 · Due the date on Canvas · Interactive Dashboards with Shiny · adaptive competency DV20

Verify dashboard outputs in browser R

Module 12 · Step 6 of 9 · Verify in browser R12–15 min

The results data are a fixed synthetic six-cell fixture in dv-course-data.js, not externally collected student records. Campus/course cells represent disjoint fictional groups in one common fictional reporting window, with no exclusions; external retrieval is not applicable. The pooled rate is 101/126; the lab prints it beside the equally weighted mean of the three campus rates, and the two summaries differ by 0.095. Printed raw counts are for teaching only. Suppression is illustrative: other totals and subgroup releases can reconstruct hidden outcomes (Dinur & Nissim, 2003; Sweeney, 2002). This R exercise verifies arithmetic; it does not execute the Shiny app.

Why this lab Confirm the dashboard math with real R output.

Browser R · dashboard verification

Inline R lab loading…

After you run the lab, two blocks of its output extend the define and filter steps. The campus weights are the tested-student shares, and the weighted mean of campus rates they produce, 0.802, is the pooled student rate. The Wilson score intervals show how precision depends on the denominator (Wilson, 1927): Ashford’s 100 tested students give an interval from 0.733 to 0.883, whereas Cedarville’s six give 0.188 to 0.812, too wide to rank Cedarville against either other campus.

Evidence check: which implementation follows the two stated teaching rules? This choice does not execute R or establish that a dashboard has been tested.