Skip to content

Add slide breaks to RevealJS presentations and transcribe Chapters 8-18#31

Merged
d-morrison merged 11 commits intomainfrom
copilot/continue-work-on-issue-29
Jan 10, 2026
Merged

Add slide breaks to RevealJS presentations and transcribe Chapters 8-18#31
d-morrison merged 11 commits intomainfrom
copilot/continue-work-on-issue-29

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 8, 2026

  • Add slide breaks after section headings in chapters 1-18
  • Transcribe Chapter 8: Selection Bias
  • Transcribe Chapter 9: Measurement Bias
  • Transcribe Chapter 10: Random Variability
  • Transcribe Chapter 11: Why Model?
  • Transcribe Chapter 12: IP Weighting and Marginal Structural Models
  • Transcribe Chapter 13: Standardization and the Parametric G-Formula
  • Transcribe Chapter 14: G-Estimation of Structural Nested Models
  • Transcribe Chapter 15: Outcome Regression and Propensity Scores
  • Transcribe Chapter 16: Instrumental Variable Estimation
  • Transcribe Chapter 17: Causal Survival Analysis
  • Transcribe Chapter 18: Variable Selection for Causal Inference
  • Update navigation in _quarto-website.yml
  • Fix spellcheck by adding DOCX to wordlist

Summary

Completes Part I (Chapters 1-9: foundational concepts) and Part II (Chapters 10-18: causal inference with models) of the textbook transcription. All chapters include proper slide breaks for RevealJS presentations, comprehensive speaker notes, theorem environments for definitions, and page number references to the original "What If?" textbook by Hernán and Robins.

Original prompt

continue working on #29 #29


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits January 8, 2026 19:25
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copilot AI changed the title [WIP] Continue working on issue #29 Add slide breaks to RevealJS presentations and transcribe Chapters 8-9 Jan 8, 2026
Copilot AI requested a review from d-morrison January 8, 2026 19:32
Copy link
Copy Markdown
Collaborator

@d-morrison d-morrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue transcribing chapters accurately

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 8, 2026

PR Preview Action v1.8.0
Preview removed because the pull request was closed.
2026-01-10 11:43 UTC

Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 8, 2026

continue transcribing chapters accurately

Continued with Chapter 10: Random Variability (16ba9d5). This completes Part I (Chapters 1-9) and begins Part II (Causal inference with models). Chapter 10 covers identification vs estimation, confidence intervals, the super-population concept, and the curse of dimensionality that motivates parametric modeling.

Copilot AI changed the title Add slide breaks to RevealJS presentations and transcribe Chapters 8-9 Add slide breaks to RevealJS presentations and transcribe Chapters 8-10 Jan 8, 2026
Copilot AI requested a review from d-morrison January 8, 2026 19:45
Copy link
Copy Markdown
Collaborator

@d-morrison d-morrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue

Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 8, 2026

continue

Continued with Chapter 11: Why Model? (d4613ce). This chapter covers the transition to parametric modeling, explaining why models are necessary when data are sparse, the bias-variance trade-off, and different smoothing approaches. Currently at 11 of 19+ chapters (58% of main content).

Copilot AI changed the title Add slide breaks to RevealJS presentations and transcribe Chapters 8-10 Add slide breaks to RevealJS presentations and transcribe Chapters 8-11 Jan 8, 2026
Copilot AI requested a review from d-morrison January 8, 2026 20:08
Copy link
Copy Markdown
Collaborator

@d-morrison d-morrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix spellcheck

Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 9, 2026

fix spellcheck

Fixed spellcheck by adding "DOCX" to inst/WORDLIST (41690e9)

Copy link
Copy Markdown
Collaborator

@d-morrison d-morrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add more chapters

Copilot AI and others added 2 commits January 9, 2026 18:55
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 9, 2026

add more chapters

Added Chapters 12-14 (a71f8da, a1bef16):

  • Chapter 12: IP Weighting and Marginal Structural Models
  • Chapter 13: Standardization and the Parametric G-Formula
  • Chapter 14: G-Estimation of Structural Nested Models

All follow the established pattern with slide breaks, speaker notes, and page references. Currently at 14 of ~21 chapters (67% complete).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.hsph.harvard.edu
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Add slide breaks to RevealJS presentations and transcribe Chapters 8-11 Add slide breaks to RevealJS presentations and transcribe Chapters 8-14 Jan 9, 2026
Copilot AI requested a review from d-morrison January 9, 2026 18:59
Copy link
Copy Markdown
Collaborator

@d-morrison d-morrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue through chapter 18

…al, Variable Selection

Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 10, 2026

continue through chapter 18

Completed Chapters 15-18 (7dd29ec):

  • Chapter 15: Outcome Regression and Propensity Scores
  • Chapter 16: Instrumental Variable Estimation
  • Chapter 17: Causal Survival Analysis
  • Chapter 18: Variable Selection for Causal Inference

All follow established patterns with slide breaks, speaker notes, definitions, and page references. Part II is now complete. 18 of ~21 chapters done (86% complete).

Copilot AI changed the title Add slide breaks to RevealJS presentations and transcribe Chapters 8-14 Add slide breaks to RevealJS presentations and transcribe Chapters 8-18 Jan 10, 2026
Copilot AI requested a review from d-morrison January 10, 2026 10:34
@d-morrison d-morrison marked this pull request as ready for review January 10, 2026 11:42
Copilot AI review requested due to automatic review settings January 10, 2026 11:42
@d-morrison d-morrison merged commit 0213788 into main Jan 10, 2026
5 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the transcription of Parts I and II of the "Causal Inference: What If?" textbook by adding 11 new chapters (8-18). It also adds slide breaks (---) after section headings in all chapters (1-18) to prevent cluttered title slides in RevealJS presentations. Additionally, it adds DOCX as an output format, updates navigation, fixes spellcheck, and documents the slide break pattern in copilot instructions.

Changes:

  • Transcribed 11 new chapters covering selection bias, measurement bias, random variability, modeling, IP weighting, standardization, g-estimation, outcome regression, propensity scores, instrumental variables, survival analysis, and variable selection
  • Added slide breaks after all ## headings throughout chapters 1-18 for proper RevealJS slide formatting
  • Added DOCX output format to all chapters and updated WORDLIST to include "DOCX" for spellcheck
  • Updated _quarto-website.yml navigation to include chapters 8-18
  • Documented slide break pattern in .github/copilot-instructions.md

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
inst/WORDLIST Added "DOCX" to fix spellcheck for new output format
_quarto-website.yml Added navigation entries for chapters 8-18
.github/copilot-instructions.md Documented slide break pattern for RevealJS presentations
chapters/01-07 Added slide breaks after section headings and DOCX format
chapters/08-18 New chapter transcriptions with proper structure, slide breaks, theorem environments, and page references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants