Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2f3f173
fix(thm-deriv-lincom): clarify dot-product derivative theorem per iss…
github-actions[bot] May 29, 2026
e564216
fix matrix dimension annotations and update CLAUDE.md
claude[bot] May 29, 2026
f7d6df4
Address review comments: add Jacobian note, product rule theorem, and…
claude[bot] May 29, 2026
763b552
Refine explanations for constant vectors and derivatives
d-morrison Jun 1, 2026
cb679f5
Update _sec_vector_calc.qmd
d-morrison Jun 1, 2026
45e45b2
Merge branch 'main' into claude/issue-840-20260529-171751
d-morrison Jun 1, 2026
8a5d699
Merge branch 'main' into claude/issue-840-20260529-171751
d-morrison Jun 1, 2026
8f96750
fix typo, missing word, blank line, and add proof for thm-deriv-dot-p…
claude[bot] Jun 1, 2026
8bb96a8
fix p x p -> p x p in CLAUDE.md
claude[bot] Jun 1, 2026
2b0dfe3
Fix non-rendering thm-deriv-dot-product equation
d-morrison Jun 1, 2026
6e864ca
Add vector-derivative product-rule theorems (matrix-vector, matrix pr…
d-morrison Jun 1, 2026
5653ebc
Park the matrix-product vector-derivative theorem in a non-included s…
d-morrison Jun 2, 2026
2c34315
Add parked matrix-derivative product theorem (non-included subfile)
d-morrison Jun 2, 2026
271c230
Merge remote-tracking branch 'origin/main' into claude/issue-840-2026…
d-morrison Jun 2, 2026
b2d092f
Merge main into claude/issue-840-20260529-171751
claude Jun 5, 2026
7eaffb2
address review comments: fix def-constant notation, use thm-deriv-mat…
claude[bot] Jun 5, 2026
5488bd1
add numerical examples for new definitions and theorems
claude[bot] Jun 5, 2026
b65db0b
add examples for def-matrix-derivative and thm-deriv-matrix-product-m…
claude[bot] Jun 5, 2026
a584034
add example for thm-deriv-matrix-product-vector
claude[bot] Jun 5, 2026
3adbcd7
Merge branch 'main' into claude/issue-840-20260529-171751
d-morrison Jun 5, 2026
d1e873c
Merge remote-tracking branch 'origin/main' into claude/issue-840-2026…
d-morrison Jun 5, 2026
00ffc81
exm-constant-wrt-vector: show worked steps; drop redundant "Example" …
d-morrison Jun 5, 2026
3401891
fix: address review issues in vector calc section
claude[bot] Jun 6, 2026
a46d7d0
fix: introduce p in thm-deriv-matrix-product-vector
claude[bot] Jun 6, 2026
7f45da3
Merge remote-tracking branch 'origin/main' into claude/issue-840-2026…
claude Jun 6, 2026
d1b3719
Add example after thm-deriv-lincom
claude Jun 6, 2026
5e20c01
Merge remote-tracking branch 'origin/main' into claude/issue-840-2026…
claude Jun 9, 2026
b01f57d
Fix parked thm-deriv-matrix-product-matrix: --- → slidebreak, nest no…
claude Jun 9, 2026
a99c4ae
ci: re-trigger checks after transient claude-review API error
claude Jun 15, 2026
14e9e94
Merge branch 'main' into claude/issue-840-20260529-171751
d-morrison Jun 18, 2026
63e31bb
Merge remote-tracking branch 'origin/main' into claude/issue-840-2026…
claude Jun 19, 2026
1b2a7e7
Fix doubled line break in matrix-vector derivative example
claude Jun 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ Before committing any `.qmd`, `.R`, or config file change:
- Key macros: `\E{Y|X=x}`, `\ba`/`\ea`, `\tp{v}`, `\b`, `\g`, `\a`, `\devn(...)`, `\erf{...}`
- Include every intermediate step in derivations — do not skip steps
- Color coding: `\red{...}` for focal/extra terms, `\blue{...}` for shared terms
- **Matrix dimensions**: always verify dimension compatibility for every matrix expression -- dimensions of each operand must be consistent with the operation
- **Annotate matrix dimensions with underbraces** in display math: use `\underbrace{M}_{m \times n}` for each matrix or vector
- **Zero matrices**: never write bare `\mathbf{0}` in a matrix equation -- subscript dimensions: `\mathbf{0}_{m \times n}`
- **Jacobian**: `\deriv{\vb} \vx` where both are p-vectors produces a p × p Jacobian matrix (not a vector)
- Ratios vs. factors:
- Use the generic `\ratio`/`\ratiof` macro when a ratio's inputs are the **quantities themselves** (the odds, hazards, rates, etc.) — e.g. `\ratio(\odds_1, \odds_2)`, **not** `\ror(\odds_1, \odds_2)` — because the type of ratio is clear from the inputs.
- Use the type-subscripted ratio macros (`\ror` for odds ratios, `\hazratio`/`\hr` for hazard ratios, `\rateratio`, `\riskratio`, `\prevratio`, `\cuhazratio`, …) only when the inputs are **covariate patterns** (e.g. `\ror(\vx,\vxs)`, `\hr(t\mid\vx:\vxs)`), where the subscript is needed to say which kind of ratio it is.
Expand Down
Loading
Loading