§ ii · Tuesday, 2 June 2026
From data to compiled output
Deliverable
Regression script with assertions + publication-quality table + figure + Markdown PDF.
Slides
Open deck in presentation mode ↗Schedule
10:00 AM – 3:00 PM ET · 255 min content · 45 min breaks + lunch
- 10:00Day 1 recap + Q&A + warm-up framingDiscussion15 min
- 10:15Three prompting principles + three power promptsLecture25 min
- 10:40Warm-up: load yesterday's cleaned data, run a simple OLSWorkshop15 min
- 10:55BreakBreak15 min
- 11:10Live regression demo: fixest, FE, clustering, three specs side by side, with assertion checks for NLecture35 min
- 11:45Guided regression exercise: baseline → subgroups → multi-specWorkshop35 min
- 12:20Tables: modelsummary → .tex → iterative refinement → encoding format conventions in CLAUDE.md/skills (no hand-finishing)Lecture25 min
- 12:45LunchBreak30 min
- 1:15Tables exercise: build publication-quality table from your specs; encode any rule you find yourself re-statingWorkshop25 min
- 1:40Figures: ggplot2, coefficient plots, iterative refinement, CLAUDE.md figure conventionsLecture20 min
- 2:00Figures exercise: coef plot from your regression resultsWorkshop20 min
- 2:20Compile-fix loop: Markdown via pandoc as primary; LaTeX as parallel trackLecture15 min
- 2:35Document compile: skeleton with table + figure → PDF → introduce a path error → fix loopWorkshop15 min
- 2:50Debrief + 'Trust but verify' exercise (prepared script with subtle bugs) + cautionary research-design momentDiscussion10 min
Materials
- Workshop project CLAUDE.mdavailable
Continues from Day 1.
- Trust-but-verify prepared bug scriptcoming soon
Used in the 2:50 debrief exercise.
- Prompt librarycoming soon
Copy-paste regression, table, and figure prompts.