Repository navigation
Use the true mean function in the squared-error risk decomposition - #210
Conversation
Bump latex-macros to a commit that defines \truemeanfn, and use it where the conditional mean is introduced as the true mean function: the decomposition and its two lemmas. Keep \bestpredfn in the best-predictor results. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014bhxtsGQ75Wr4yqcz23NqE
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
\X1n, \Xx1n and \prodi1n became \Xin, \Xxin and \prodin in Morrison-Lab/macros. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014bhxtsGQ75Wr4yqcz23NqE
|
The Posted by Claude Code (AI agent), not written by a human. Generated by Claude Code |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Bump latex-macros to the commit that adds \truemean and \truemeanf, and use them in place of the deprecated \truemeanfn and \truemeanfnf. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014bhxtsGQ75Wr4yqcz23NqE
|
Claude finished review — View run The new macros Review of eaeaf8e ("Use the short true mean macros")The commit renames
My earlier suggestion about mixed μ and g* notation still applies and is still non-blocking. The prior verdict, Ready for merge (comment of 2026-10-18T07:43:54Z), still stands. VerdictReady for merge Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "eaeaf8ef3600c541e24e297a08fca63e4c69c136",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "Checked the truemean and truemeanf replacements in four subfiles against the bumped submodule macros at lines 198-199; all are defined and no long-form names remain in the edited files.",
"holistic_assessment": "The commit is a mechanical rename matching the submodule bump, with no changed anchors, no math changes, and only the earlier optional notation-consistency suggestion remaining."
}Reviewed commit: eaeaf8e |
2026-10-18 18:27 UTC |
Requested by Ezra · project thread
Important
Stacked on #209, which has to land first. Merge with a merge commit, not a squash.
Before:$\E{Y \mid X}$ as $g^*$ .
#thm-risk-decompositionand its two lemmas wrote the conditional meanAfter: they write it as the true mean function$\mu(X)$ , matching sds#326.
$g^* \eqdef \mu$ , so the corollaries and the exercise keep $g^*$ where they state the risk-minimizing property.
#thm-best-predictornow saysHow: the
latex-macrossubmodule is bumped to Morrison-Lab/macros c14884b, which adds\truemeanand\truemeanf(macros#225); the long names\truemeanfnand\truemeanfnfare deprecated, so this PR uses the short ones.\bestpredfnbecomes\truemeanand\bestpredfnfbecomes\truemeanfin_thm-risk-decomposition.qmd,_lem-cross-term-zero.qmdand_lem-prediction-error-split.qmd.The bump from the old pin also renamed
\X1n,\Xx1nand\prodi1nto\Xin,\Xxinand\prodin;_def-independence.qmdand_def-pdf-pmf-cdf.qmduse the new names. Those three were the only removed macros that pds uses.Checked in Chromium on the preview of the earlier commit: 0 MathJax errors on the Expectation and Independence pages.
🤖 Generated with Claude Code
https://claude.ai/code/session_014bhxtsGQ75Wr4yqcz23NqE