DI Calculator
Translating the California Community Colleges PPG-1 methodology into a privacy-conscious, browser-based analysis tool.
- Context
- Independent product
- Period
- Public demo · available for pilots
- Categories
- Data ProductsAnalyticsData ScienceAI
Executive Summary
DI Calculator answers one question well: which student groups are achieving an outcome at a different rate than everyone else, beyond the margin of error? It implements the PPG-1 method published by the California Community Colleges Chancellor's Office and reports each group using the four official states: Disproportionately Lower, No Disproportionate Impact, Disproportionately Higher, or Insufficient Data. It runs entirely in the browser, and every exported or printed report applies small-group and complementary suppression. A public demo with synthetic data is at demo.di-calculator.com.
This is a methodology-translation project as much as a software project. The statistical rules already existed in public policy documents: subgroup versus all-other comparisons, margin-of-error thresholds, minimum-n handling. The work was turning them into a tool that produces defensible answers for people who are not statisticians, without dumbing the method down.
The Problem
California community colleges are required to identify disproportionate impact in student outcomes for equity plans, program review, and accreditation. The Chancellor's Office publishes the PPG-1 methodology for doing this, but in practice the calculation lives in scattered spreadsheet templates, one-off scripts, and institutional research offices with long request queues.
The people who most need the answer usually can't get it without filing a data request and waiting. That includes faculty leading a program review, a dean preparing an equity plan, and any counselor questioning a pattern they noticed. And when the calculation is done by hand in a spreadsheet, the subtle parts, like the error threshold and small-group handling, are exactly the parts that get skipped.
Users
- Institutional researchers who know the methodology and want a faster, consistent way to run it.
- Faculty and administrators doing program review or equity planning who have data but not statistical training.
- Student-services and equity practitioners who need a shared, credible number to organize action around.
These groups have very different tolerance for statistical language, which drove one of the core product decisions: every result is available in a simple mode with plain-language findings and a technical mode with rates, gaps, thresholds, and counts. Same calculation, two presentations.
Context
DI Calculator is an independent product, written from the public CCCCO PPG-1 documentation. It ships with synthetic sample data only, and it links to the Chancellor's Office methodology notes so anyone can check the approach against the source. A public demo shows the full workflow with synthetic data; institutions can arrange pilots for use with their own data.
It is independently developed and not affiliated with or endorsed by the California Community Colleges Chancellor's Office or any college or district, and it does not reproduce every SEA/SEP reporting procedure. It is a tool for running the PPG-1 analysis, not an official reporting or submission system.
My Role
Everything: product definition, methodology research, interaction design, implementation, validation, and deployment. I used AI coding tools to speed up implementation, with review, while owning the methodology decisions, the validation logic, and every judgment call about how results are computed and communicated. The statistical correctness is mine to defend, and I can.
Constraints
- Fidelity to the published methodology. A tool like this is only useful if an IR office would sign off on its numbers.
- Privacy: users upload student-level data, so processing had to stay in the browser rather than shipping records to a server.
- Audience range: the same result screen serves statisticians and people who have never heard the phrase 'margin of error'.
- Messy real-world inputs: institutional exports differ in column names, encodings, and category labels, and the tool has to cope.
Methodology
PPG-1 compares each subgroup's success rate to the rate of all other students combined: PPG-1 = subgroup rate − all-other rate. A negative gap alone is not enough to flag disproportionate impact. The gap must also exceed a margin-of-error threshold that accounts for subgroup size, so small groups aren't flagged (or cleared) on statistical noise.
| Group | n | Rate | All-other rate | PPG-1 | Status |
|---|---|---|---|---|---|
| Group A | 412 | 71.4% | 69.8% | +1.6 pts | No Disproportionate Impact |
| Group B | 138 | 61.1% | 70.9% | −9.8 pts | Disproportionately Lower |
| Group C | 57 | 66.7% | 70.2% | −3.5 pts | No Disproportionate Impact (within margin of error) |
| Group D | 8 | — | — | — | Insufficient Data (n ≤ 10) |
Synthetic data. Group B's margin-of-error threshold at n = 138 is about ±8.3 points, so −9.8 exceeds it and the group is flagged as Disproportionately Lower. Group C's threshold is about ±13 points, so −3.5 stays within the margin and is not flagged.
The tool also computes a students-to-close-the-gap estimate for each group with disproportionate impact: the number of additional successful outcomes that would bring the group in line. This turns an abstract percentage into a concrete, discussable target. 'About 14 more students succeeding' is something a program can plan around.
Product Decisions
- Only the four official states. No 'below average' bucket that sounds like a finding but isn't one. Simple mode uses plainer wording for the same four states.
- Simple and Technical modes. Plain language first; rates, margins of error, counts, and the full arithmetic one click away.
- Insufficient Data is a real result, applied consistently in every view.
- Privacy on published output. The on-screen workbook is the analyst's private view. CSV and print output apply small-group and complementary suppression, and are withheld when suppressed values could be reconstructed from related totals.
- Extensions are labeled as extensions. Intersectional comparisons and year-over-year trend arrows are marked as DI Calculator aids, not part of the official PPG-1 procedure.
- A public demo, not a public upload. The demo uses synthetic data with import disabled, so no one is invited to put student records into a public site.
Data Import Architecture
The product meets data where it lives, then converges every path onto one normalized, validated representation before any analysis runs. In the public demo, import is disabled and only synthetic sample data is used.
- File upload: CSV and .xlsx exports from institutional systems.
- Pasted data: a table copied from Excel or a report and pasted directly in.
- Pre-aggregated counts: group-by-group totals for users who only have summary tables.
- Sample data: synthetic datasets for trying the full workflow without real records.
- Column mapping and validation: headers are matched to expected fields, including custom categorical dimensions, with the user confirming the mapping.
Validation Rules
Because users bring their own data, validation is the product's immune system. Rules run at import and again at analysis time:
- Structural checks: required columns present, outcome values interpretable, rows with unusable records surfaced rather than silently dropped.
- Category normalization: demographic labels mapped to consistent groups before comparison.
- Minimum-n enforcement: groups at or below the reliability threshold (n ≤ 10) are reported as 'insufficient data' and excluded from flagging.
- Aggregation consistency: pre-aggregated inputs are checked for internally consistent counts (successes cannot exceed attempts).
- Published-output suppression: before any CSV or print export, small-group and complementary suppression is applied, and a reconstruction check confirms suppressed values can't be recovered from related totals. If it can't confirm that, the output is withheld rather than published.
// Illustrative (synthetic example)
function classify(group: GroupResult, moe: number): Status {
if (group.n <= 10) return "insufficient-data";
const ppg1 = group.rate - group.allOtherRate; // percentage points
if (ppg1 <= -moe) return "disproportionately-lower";
if (ppg1 >= moe) return "disproportionately-higher";
return "no-disproportionate-impact";
}Analysis Workflow
Bring data in by uploading, pasting, entering counts, or using a sample. Then choose an outcome and a dimension and review results. Dimensions include Race/Ethnicity, Gender, Age, Discipline, Course, and Education Goal, plus any categorical field in the data. Filters, category changes, intersectional comparisons, and Academic Year or Term views recalculate live. Results pair a status matrix with a PPG-1 chart showing each group's margin of error.
User Experience
The UX principle throughout: the tool should feel like a knowledgeable colleague, not a statistics exam. Plain-language status labels lead, and precise figures are one toggle away. Error states explain what to fix, not just what failed. The riskiest misreading would be treating a noisy small-group result as a finding, so Insufficient Data gets its own prominent, explained state, and the four official states carry no 'almost' bucket that could be mistaken for a result.
Technical Implementation
A client-side application built with React 19, TypeScript in strict mode, Vite, and Zustand for state, with ExcelJS handling .xlsx parsing. Everything runs in the browser: parsing, validation, the PPG-1 engine, and the privacy plan. Student data is never uploaded to a server, which is both a privacy stance and an operational one, since there is no data-retention surface to secure. The calculation and privacy logic are isolated from the UI and covered by 358 automated tests, so the statistical behavior can be verified on its own.
I used AI coding tools to move faster on implementation, and treated their output the way I'd treat a junior developer's: reviewed, tested, and corrected. The methodology layer, meaning what gets computed, when a group is flagged, and how edge cases resolve, was specified and verified by hand against the published PPG-1 documentation. DI Calculator is a clean-room implementation written from those public documents.
Outcome
DI Calculator is live at di-calculator.com, with a public demo at demo.di-calculator.com that uses synthetic data. It performs the PPG-1 disproportionate impact calculation in the browser, applies privacy protections to every published report, and is backed by 358 automated tests. Colleges and districts can contact me at cyoungberg@di-calculator.com about pilots and institutional use. It stands as the clearest public demonstration of what I do: take a method buried in policy documents and manual process, and turn it into a system people can actually use.
Lessons Learned
- Methodology translation is a design problem. Most of the hard decisions were about presentation and edge cases, not formulas.
- Privacy belongs in the output path, not just the intake. Suppressing small groups on screen is easy; the harder, more important work is making sure a published report can't be reverse-engineered from its own subtotals, and failing closed when it can't be confirmed.
- Import flexibility is the adoption feature. Every input path (upload, paste, pre-aggregated, sample) removes a reason to give up before the first result.
- Insufficient Data handling is where credibility is won or lost. Sometimes the honest answer is 'this group is too small to say', and the tool has to say exactly that rather than guess.
Future Improvements
- Excel workbook export using the same privacy protections.
- Saved analysis configurations for recurring program-review cycles.
- Additional methods (e.g. proportionality index, 80% rule) behind the same import and results experience.
- Publishing the validation test suite alongside the methodology notes, so anyone can audit the calculations.