Establishing Reproducibility Standards in Industrial Statistical Consulting
deanmarchiori.com
2025-11-25
📊 Slides: deanmarchiori.github.io/biometrics-2025-talk
💻 GitHub Repo: github.com/deanmarchiori/biometrics-2025-talk

QR Code to slides
Statistical consulting in industry drives high-stakes decisions
The Question: “How do we make our work trustworthy by design, not by reputation?”
Key message: We need something different, not just “peer review lite”
“Can someone else get the same results from the same data?”
“Can someone else understand and evaluate your approach?”
“Can you defend this work 2 years from now?”
Core Principles
project/
├── data/
│ ├── raw/ # Never modified
│ └── processed/ # Scripted transformations only
├── scripts/
│ ├── 01_import.R
│ ├── 02_clean.R
│ └── 03_analyze.R
├── reports/
├── renv.lock # Package versions
└── README.mdQuestion: How do you run this workflow?
make System{targets} package (Landau 2021)From the manual1:
{renv}{renv} package (Ushey and Wickham 2025)# At project start
renv::init()
# Before delivering work
renv::snapshot()
# Client/reviewer recreates environment
renv::restore()Key point: “Your analysis should be a recipe, not a magic trick”
{testthat}1{pointblank}2{assertthat}3Example validation check:
The old fashioned way..
Make Decisions Visible
.bib fileCreate an “Assumptions Log”
Documentation as Future-Proofing
Can someone (including future you) understand this project from the README alone?
Essential README components:
## Project Overview
Brief description and business question
## Data Description
- Source and date accessed
- Key variables and units
- Known limitations
## Analysis Approach
- Methods used and why
- Software versions (see renv.lock)
- Key assumptions
## How to Reproduce
1. Clone repository
2. Run `renv::restore()`
3. Execute scripts in order
4. Compare results/output.html
## Contact
Your email for questions{renv}sessionInfo() output
Until we have a mechanism to test for artificial intelligence, writers need a tool to maintain trust in their work.
Source: Brewin (2024)
Source: https://www.linkedin.com/posts/speidel_llm-genai-science-activity-7384967753985781760-4oD6
renv, targets, pointblankKey message: “We’re not just writing better code—we’re building better trust”
Three Pillars of Trust Without Peer Review:
| Stage | Tool |
|---|---|
| Project Structure | {targets} |
| Environment Mgmt | {renv} |
| Project Documentation | README.md |
| Data Documenation | {pointblank} |
| Data Tests | {pointblank} |
| Unit Tests | {testthat} |
| Report writing | Quarto |
| Version Control | git |

For your next project, commit to:
renv for package management📧 Email: deanmarchiori@gmail.com
🌐 Website: deanmarchiori.com
💼 LinkedIn: linkedin.com/in/deanmarchiori
📊 This Talk: deanmarchiori.github.io/biometrics-2025-talk
💻 GitHub Repo: github.com/deanmarchiori/biometrics-2025-talk

QR Code to slides
Questions? Let’s connect!
deanmarchiori.github.io/biometrics-2025-talk/