Repository navigation
Print the true mean function as μ; make noise a deviation from the population mean (ν) - #175
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01H8gaSFRnPKEfpCbBRqEzZH
…gument deviation Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01H8gaSFRnPKEfpCbBRqEzZH
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01H8gaSFRnPKEfpCbBRqEzZH
Contributor
2026-10-16 17:59 UTC |
Collaborator
Author
|
Review of head 99ca718 by a separate Claude agent (only Claude reviewed this PR; macros has no review job): CLEAN.
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Ezra · project thread
Before:
\targetfnprinted f, and\noise/\vnoise/\cdevprinted ε (or the undertilde ε), each defined separately from the deviation macros.After (Ezra, 2026-10-16):
\targetfn(and so\targetfnf,\htargetfn,\etargetfn,\targeterr) prints μ.\popdevprints ν: the deviation of a variable from its population mean. New one-argument\popdevf{z}prints ν with the variable as subscript (deviation of z from its population mean).\noise,\vnoiseand\cdevare aliases of\popdev, since the noise is defined as the deviation of the outcome from its mean given the input.\deviationf{z}{r}prints δ_r(z) for the deviation of z from any reference value r; the existing zero-argument\deviation(δ) is unchanged.\lsresid/\vlsresid(least-squares residuals) still print ε.How:
macros.qmdandinterpretations.tsv; no macro names removed. Open macros PRs #127, #146 and #157 do not touch these names.Collisions, kept as asked: μ also prints for the scalar population mean (
\mean,\popmean) and a few others, but\targetfnf{x}carries an argument. ν also prints for\df(degrees of freedom),\shrinkage,\svfrac,\measureband\nullity, so a derivation that uses\noisewith\dfshould rename one.Not rendered locally.
🤖 Generated with Claude Code
https://claude.ai/code/session_01H8gaSFRnPKEfpCbBRqEzZH